[Lxc-users] zfs support

Papp Tamas tompos at martos.bme.hu
Sun Mar 3 00:35:29 UTC 2013


hi All,

I'm about adding zfs support to lxc-create like lvm and btrfs has.

elif [ "$backingstore" = "btrfs" ]; then
     mkdir "$lxc_path/$lxc_name"
     if ! out=$(btrfs subvolume create "$rootfs" 2>&1); then
         echo "$(basename $0): failed to create subvolume in $rootfs: $out" >&2
         exit 1;
     fi

Why the rootfs is on separated volume and not $lxc_path/$lxc_name ? It makes more sense for me.


Thank you,
tamas




More information about the lxc-users mailing list