Hi,
We're using Proxmox 4.x with both LXC containers and KVM
machines. It seems that the way partitioning is handled has changed
since Proxmox 3.x.
We have some data that we need to share between a few of these
LXC containers; so I have a set up mp0 in /etc/pve/lxc/*.conf for
each container and I have the directory on the host itself.
I need to grow the size of the root partition as a result, and it seems
that the partitioning is still configured via LVM. This is where seems to get
slightly confusing. I've grown the root partition with lvextend as much as
possible.
vgdisplay shows that I don't have many free extents left:
VG Size 418.50 GiB
PE Size 4.00 MiB
Total PE 107135
Alloc PE / Size 106918 / 417.65 GiB
Free PE / Size 217 / 868.00 MiB
VG UUID PU2dFV-j0mq-aSo8-RPgk-yc2z-3UQ2-46iVqW
It's unclear where the extents are allocated. I'm still able to create
containers. Can anyone advise how I can create more space for the
root partition?
Furthermore, I'm now slightly concerned about the best backup strategy.
I am using Bacula, which backs up at a file system level rather than
the block level.
I can see now that LXC containers use logical volumes for storage. Previously
with Proxmox 3.x and OpenVZ, I believe that all filesystems were under /var/lib/vz.
I checked and can see volumes such as /dev/pve/vm-110-disk-1.
I've checked /proc/mounts and can't see them mounted anywhere. Where are
they mounted? I'd like to make sure that backups are indeed working correctly.
I don't have a lot of non-ephemeral data inside my containers, but
I am wondering if it's better to mount that data outside on / so that it can
definitely be backed up correctly.
Thank you in advance
We're using Proxmox 4.x with both LXC containers and KVM
machines. It seems that the way partitioning is handled has changed
since Proxmox 3.x.
We have some data that we need to share between a few of these
LXC containers; so I have a set up mp0 in /etc/pve/lxc/*.conf for
each container and I have the directory on the host itself.
I need to grow the size of the root partition as a result, and it seems
that the partitioning is still configured via LVM. This is where seems to get
slightly confusing. I've grown the root partition with lvextend as much as
possible.
vgdisplay shows that I don't have many free extents left:
VG Size 418.50 GiB
PE Size 4.00 MiB
Total PE 107135
Alloc PE / Size 106918 / 417.65 GiB
Free PE / Size 217 / 868.00 MiB
VG UUID PU2dFV-j0mq-aSo8-RPgk-yc2z-3UQ2-46iVqW
It's unclear where the extents are allocated. I'm still able to create
containers. Can anyone advise how I can create more space for the
root partition?
Furthermore, I'm now slightly concerned about the best backup strategy.
I am using Bacula, which backs up at a file system level rather than
the block level.
I can see now that LXC containers use logical volumes for storage. Previously
with Proxmox 3.x and OpenVZ, I believe that all filesystems were under /var/lib/vz.
I checked and can see volumes such as /dev/pve/vm-110-disk-1.
I've checked /proc/mounts and can't see them mounted anywhere. Where are
they mounted? I'd like to make sure that backups are indeed working correctly.
I don't have a lot of non-ephemeral data inside my containers, but
I am wondering if it's better to mount that data outside on / so that it can
definitely be backed up correctly.
Thank you in advance