[Lxc-users] zfs support

Serge Hallyn serge.hallyn at ubuntu.com
Mon Mar 4 15:45:27 UTC 2013


Quoting Papp Tamas (tompos at martos.bme.hu):
> 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.

Not sure.  I can think of pros and cons...




More information about the lxc-users mailing list