[SOLVED] Mount a LVM LV from another system to a LXC container.

whataboutpereira

Well-Known Member
Oct 6, 2019
41
4
48
47
Hello!

I'm wondering if and how it's possible to mount a disk with an existing PV/VG/LV to a container.

I'm migrating a physical backup machine into a Proxmox container and I have this 3TB disk (from a CentOS machine) full of backups I would like to mount directly to a container.

I got as far as:

Code:
$ pvesm add lvm backup --vgname backup
$ pct set 190 -mp0 backup:backup,mp=/mnt/backup

storage 'backup' does not allow content type 'rootdir' (Container)

Is it at all possible? Or is there a way to mount the actual disk to the container?

Thanks!