[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [ezjail] ZFS? [WAS] Re: Problem with "archive" command in 3.0b

Philipp Wuensche wrote:
> There is a new ezjail-admin version at
> http://outpost.h3q.com/patches/ZFS-ezjail/ezjail-zfs/ezjail-admin in
> which I implemented just that!
> I introduced a new jail-image type "zfs", so you can create a ZFS jail
> like that:
> ezjail-admin create -c zfs foobar
> If you have created your ezjail setup with ezjail_use_zfs="YES" in
> ezjail.conf, it will use zfs commands to create, delete and rename the
> jail. If not, a ZFS filesystem is created and delete with zfs but the
> freebsd-userland is copied via dump&restore.

I forgot, if you don't use "-c zfs", a normal directory-based jail will
be created. Makes no difference if ezjail_use_zfs="YES" is set or not.

And still no check if ZFS is available yet.