Reader small image

You're reading from  Mastering Proxmox, - Third Edition

Product typeBook
Published inNov 2017
PublisherPackt
ISBN-139781788397605
Edition3rd Edition
Right arrow
Author (1)
Wasim Ahmed
Wasim Ahmed
author image
Wasim Ahmed

Wasim Ahmed, born in Bangladesh and now a citizen of Canada, is a veteran of the IT world. He first came into close contact with computers in 1992 and never looked back. Wasim has a deep understanding of networks, virtualization, big data storage, and network security. By profession, Wasim is the CEO of a global IT support and cloud service provider based in Calgary, Alberta. He serves many companies and organizations through his company on a daily basis. Wasim's strength comes from his experience, which comes from learning and serving continually. Wasim strives to find the most effective solution at the most competitive price. He has built over 20 enterprise production virtual infrastructures using Proxmox and the Ceph storage system. Wasim and his team are notorious for not simply accepting a technology based on its description alone, but putting it through rigorous testing to check its validity. Any new technology that his company provides goes through months of continuous testing before it is accepted. Proxmox made the cut superbly.
Read more about Wasim Ahmed

Right arrow

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 page is locked
Previous PageNext Page
You have been reading a chapter from
Mastering Proxmox, - Third Edition
Published in: Nov 2017Publisher: PacktISBN-13: 9781788397605

Author (1)

author image
Wasim Ahmed

Wasim Ahmed, born in Bangladesh and now a citizen of Canada, is a veteran of the IT world. He first came into close contact with computers in 1992 and never looked back. Wasim has a deep understanding of networks, virtualization, big data storage, and network security. By profession, Wasim is the CEO of a global IT support and cloud service provider based in Calgary, Alberta. He serves many companies and organizations through his company on a daily basis. Wasim's strength comes from his experience, which comes from learning and serving continually. Wasim strives to find the most effective solution at the most competitive price. He has built over 20 enterprise production virtual infrastructures using Proxmox and the Ceph storage system. Wasim and his team are notorious for not simply accepting a technology based on its description alone, but putting it through rigorous testing to check its validity. Any new technology that his company provides goes through months of continuous testing before it is accepted. Proxmox made the cut superbly.
Read more about Wasim Ahmed