From owner-freebsd-current@FreeBSD.ORG Sun Dec 2 20:49:58 2007 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id E77A116A534 for ; Sun, 2 Dec 2007 20:49:58 +0000 (UTC) (envelope-from gelsemap@superhero.nl) Received: from superman.superhero.nl (superhero.nl [82.95.198.17]) by mx1.freebsd.org (Postfix) with ESMTP id 3E0FC13C459 for ; Sun, 2 Dec 2007 20:49:57 +0000 (UTC) (envelope-from gelsemap@superhero.nl) Received: (qmail 47826 invoked by uid 80); 2 Dec 2007 20:49:38 -0000 Received: from robin.ad.superhero.nl ([10.202.77.103]) (SquirrelMail authenticated user gelsemap) by webmail.superhero.nl with HTTP; Sun, 2 Dec 2007 21:49:38 +0100 (CET) Message-ID: <3090.10.202.77.103.1196628578.squirrel@webmail.superhero.nl> Date: Sun, 2 Dec 2007 21:49:38 +0100 (CET) From: "Gelsema, P \(Patrick\)" To: freebsd-stable@freebsd.org, freebsd-current@freebsd.org User-Agent: SquirrelMail/1.4.8 MIME-Version: 1.0 Content-Type: text/plain;charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Priority: 3 (Normal) Importance: Normal Cc: Subject: ZFS in a jail X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 02 Dec 2007 20:49:59 -0000 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 admin@hulk.superhero.nl:/usr/obj/usr/src/sys/GENERIC amd64 Jails are set up as detailed in http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/jails-application.html. With ro mount for system files created by buildworld and a rw mount for the various directories which require to be read/write such as /usr/local, /var, /home and /etc. I am following the steps 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/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. Rgds, Patrick