Re: ZFS in a jail

2007-12-04 Thread Andrew Kolchoogin
/path/to/root/of/your/jail/dev/zfs :) this is working. Thanks. THe only problem is that after every reboot I have to rerun the following commands to get things working again. hulk# zfs jail 4 zfspublic/batman batman# zfs mount -a If I don't do the jail 4 command the command batman# zfs get

Re: ZFS in a jail

2007-12-03 Thread Oliver Brandmueller
Hi, On Sun, Dec 02, 2007 at 09:49:38PM +0100, Gelsema, P (Patrick) wrote: batman# zfs create public/jail/public internal error: failed to initialize ZFS library In /var/log/messages on the host I get the following: Dec 2 21:47:01 hulk kernel: WARNING pid 36752 (zfs): ioctl sign-extension

Re: ZFS in a jail

2007-12-03 Thread Gelsema, P (Patrick)
On Mon, December 3, 2007 12:54, Oliver Brandmueller wrote: Hi, On Sun, Dec 02, 2007 at 09:49:38PM +0100, Gelsema, P (Patrick) wrote: batman# zfs create public/jail/public internal error: failed to initialize ZFS library In /var/log/messages on the host I get the following: Dec 2 21:47:01

Re: ZFS in a jail

2007-12-03 Thread Gelsema, P (Patrick)
, batman is the jail. hulk# cat /etc/rc.conf | grep devfs jail_batman_devfs_enable=YES devfs_system_ruleset=zfsenable jail_batman_devfs_ruleset=zfsenable They are 2 seperate lines. Any idea on how to get zfs in the jail? I have been told I had to add the devfs rules for zfs. Yes

ZFS in a jail

2007-12-02 Thread Gelsema, P (Patrick)
as outlined in: http://blogs.freebsdish.org/pjd/2007/03/. I don't have any problems with creating the zpool and the zfs dataset on the host but when I try to create in the jail I get the following error. batman# zfs create public/jail/public internal error: failed to initialize ZFS library In /var