Search icon CANCEL
Arrow left icon
Explore Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Conferences
Free Learning
Arrow right icon
Arrow up icon
GO TO TOP
Mastering Proxmox

You're reading from   Mastering Proxmox Build virtualized environments using the Proxmox VE hypervisor

Arrow left icon
Product type Paperback
Published in Nov 2017
Publisher Packt
ISBN-13 9781788397605
Length 494 pages
Edition 3rd Edition
Tools
Arrow right icon
Author (1):
Arrow left icon
Wasim Ahmed Wasim Ahmed
Author Profile Icon Wasim Ahmed
Wasim Ahmed
Arrow right icon
View More author details
Toc

Table of Contents (17) Chapters Close

Preface 1. Understanding Proxmox VE and Advanced Installation 2. Creating a Cluster and Exploring the Proxmox GUI FREE CHAPTER 3. Proxmox under the Hood 4. Storage Systems 5. Installing and Configuring Ceph 6. KVM Virtual Machines 7. LXC Virtual Machines 8. Network of Virtual Networks 9. The Proxmox VE Firewall 10. Proxmox High Availability 11. Monitoring the Proxmox Cluster 12. Proxmox Production-Level Setup 13. Back Up and Restore Virtual Machines 14. Updating/Upgrading Proxmox 15. Proxmox Troubleshooting 16. Rescuing Proxmox

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 the following location:

/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 /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>...

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 €18.99/month. Cancel anytime