[Lxc-users] zfs support

Papp Tamas tompos at martos.bme.hu
Mon Mar 4 20:45:42 UTC 2013


On 03/04/2013 04:45 PM, Serge Hallyn wrote:
>
> 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...

Probably it's only me, who doesn't see cons.
How about a configurable setting?


Thanks,
tamas





More information about the lxc-users mailing list