Quoting Flo ([email protected]):
> Hi Serge,
> 
> any update on this? Are you able to mount 2nd LVM volumes in a container?

Just tried.  I had an old lvm-based container around, so created and
formatted a new lv:

sudo lvcreate -L 20G -n c-saucy-disk2 vg0
sudo mkfs.ext4 /dev/vg0/c-saucy-disk2

and added the following to /var/lib/lxc/c-saucy/fstab:

/dev/vg0/c-saucy-disk2 mnt ext4 defaults 0 0

Start just fine, disk was mounted, i was able to create a file
there, shut down the container, and mount /dev/vg0/c-saucy-disk2
to confirm the new file was there.

-serge
_______________________________________________
lxc-users mailing list
[email protected]
http://lists.linuxcontainers.org/listinfo/lxc-users

Reply via email to