ZFS in a jail

2007-12-02 Thread Gelsema, P (Patrick)
Hi all, I want to access a zfs dataset from within a jail. When following the instructions on the various pages I get stuck. I am running: FreeBSD hulk.superhero.nl 7.0-BETA3 FreeBSD 7.0-BETA3 #1: Fri Nov 30 19:13:07 CET 2007 [EMAIL PROTECTED]:/usr/obj/usr/src/sys/GENERIC amd64 Jails are se

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-extensi

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

Re: ZFS in a jail

2007-12-03 Thread Gelsema, P (Patrick)
On Mon, December 3, 2007 14:20, Andrew Kolchoogin wrote: > On Mon, December 3, 2007 14:02, Andrew Kolchoogin wrote: >> >> > Did you add the zfs device to be available for your jails in >> >> > devfs.rules? In the ruleset applying for the jails you need to add: >> >> > >> >> > add path zfs unhide >>

Re: ZFS in a jail

2007-12-04 Thread Andrew Kolchoogin
> > Yes, I've told you what you should to do. First part you have been > > done already -- you've edited /etc/devfs.rules and added new > > configuration subsection with instructions to unhide /etc/zfs. > > Please do the second part: instruct the /etc/rc.d/jail to apply > > these rules to D