[Lxc-users] zfs support
Serge Hallyn
serge.hallyn at ubuntu.com
Mon Mar 4 21:04:49 UTC 2013
Quoting Papp Tamas (tompos at martos.bme.hu):
> 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?
I'm open to any patch.
-serge
More information about the lxc-users
mailing list