Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 3 Dec 2007 12:54:42 +0100
From:      Oliver Brandmueller <ob@e-Gitt.NET>
To:        freebsd-stable@freebsd.org, freebsd-current@freebsd.org
Subject:   Re: ZFS in a jail
Message-ID:  <20071203115442.GE74491@e-Gitt.NET>
In-Reply-To: <3090.10.202.77.103.1196628578.squirrel@webmail.superhero.nl>
References:  <3090.10.202.77.103.1196628578.squirrel@webmail.superhero.nl>

next in thread | previous in thread | raw e-mail | index | archive | help
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
> ioctl ffffffffcef85a2b
> 
> I do have the 2 sysctl settings set.
> 
> Even running zfs gives me a problem within the jail.
> 
> Some help would be much appreciated.

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

Then it should work like a charme.

- Oliver

-- 
| Oliver Brandmueller | Offenbacher Str. 1  | Germany       D-14197 Berlin |
| Fon +49-172-3130856 | Fax +49-172-3145027 | WWW:   http://the.addict.de/ |
|               Ich bin das Internet. Sowahr ich Gott helfe.               |
| Eine gewerbliche Nutzung aller enthaltenen Adressen ist nicht gestattet! |



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20071203115442.GE74491>