Search icon
Arrow left icon
All Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Newsletters
Free Learning
Arrow right icon
Mastering Proxmox. - Second Edition

You're reading from  Mastering Proxmox. - Second Edition

Product type Book
Published in May 2016
Publisher Packt
ISBN-13 9781785888243
Pages 418 pages
Edition 2nd Edition
Languages
Author (1):
Wasim Ahmed Wasim Ahmed
Profile icon Wasim Ahmed

Table of Contents (21) Chapters

Mastering Proxmox - Second Edition
Credits
About the Author
About the Reviewer
www.PacktPub.com
Preface
1. Understanding Proxmox VE and Advanced Installation 2. Exploring the Proxmox GUI 3. Proxmox under the Hood 4. Storage Systems 5. KVM Virtual Machines 6. LXC Virtual Machines 7. Network of Virtual Networks 8. The Proxmox Firewall 9. Proxmox High Availability 10. Backup/Restore VMs 11. Updating and Upgrading Proxmox 12. Monitoring a Proxmox Cluster 13. Proxmox Production-Level Setup 14. Proxmox Troubleshooting Index

Managing an LXC container


In Proxmox, each LXC container has two configuration files. One defines the raw resource allocation while the other used by Proxmox is used to define a container. The Proxmox container configuration file can be found at the following location:

/etc/pve/local/lxc/<container_id>.conf

For our example container ID #101, the following are the contents of this configuration file:

The raw container configuration file can be found at

/var/lib/lxc/<container_id>/config.

The following is the content of the resource allocation configuration file for our example container:

There is another directory for the root filesystem that is a mount point for the allocated storage space inside the container. The location of the directory is as follows:

/var/lib/lxc/<container_id>/rootfs/

But in Proxmox, this directory is not used to store container data. For local storage, the container virtual disk image is created in:

/var/lib/vz/images/<container_id>/.

For shared storage...

lock icon The rest of the chapter is locked
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at $15.99/month. Cancel anytime}