From owner-freebsd-questions@FreeBSD.ORG Tue Jan 8 18:25:12 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 4578816A41B for ; Tue, 8 Jan 2008 18:25:12 +0000 (UTC) (envelope-from wxs@atarininja.org) Received: from syn.atarininja.org (syn.csh.rit.edu [129.21.60.158]) by mx1.freebsd.org (Postfix) with ESMTP id 3621A13C448 for ; Tue, 8 Jan 2008 18:25:12 +0000 (UTC) (envelope-from wxs@atarininja.org) Received: by syn.atarininja.org (Postfix, from userid 1001) id 3A6FE5C34; Tue, 8 Jan 2008 13:26:01 -0500 (EST) Date: Tue, 8 Jan 2008 13:26:01 -0500 From: Wesley Shields To: freebsd-questions@freebsd.org Message-ID: <20080108182601.GF45359@atarininja.org> References: <70f41ba20801071743o437b86ebx7956ad73250becb1@mail.gmail.com> <56088.195.50.100.20.1199787921.squirrel@www.superhero.nl> <70f41ba20801080708u4b05b37cta9315a0e0df5116f@mail.gmail.com> <20080108153816.GC45359@atarininja.org> <70f41ba20801080824y60f162b9w636e30b23e8f57ba@mail.gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <70f41ba20801080824y60f162b9w636e30b23e8f57ba@mail.gmail.com> User-Agent: Mutt/1.5.17 (2007-11-01) Cc: "Gelsema, P \(Patrick\)" Subject: Re: jail on ZFS - "Unable to mount devfs" X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 08 Jan 2008 18:25:12 -0000 [ Removing -current as AFAIK it is not applicable there ] On Tue, Jan 08, 2008 at 08:24:44AM -0800, snowcrash+freebsd wrote: > hi wesley, > > > I have a jail running in a ZFS environment. > > > > wxs@ack ~ % jls > > JID IP Address Hostname Path > > 3 192.168.1.100 asterisk /u/jails/asterisk > > wxs@ack ~ % mount | grep "data" > > data on /u (zfs, NFS exported, local, noatime) > > wxs@ack ~ % mount | grep devfs > > devfs on /dev (devfs, local) > > devfs on /u/jails/asterisk/dev (devfs, local) > > wxs@ack ~ % > > here's what i have > > jls > JID IP Address Hostname Path > 1 10.0.0.200 jTEST.internal.net /j/jTEST > > mount > z on / (zfs, local) > devfs on /dev (devfs, local) > /dev/mirror/gm0s1a on /bootdir (ufs, local, soft-updates) > z/data on /data (zfs, local) > z/home on /home (zfs, local) > z/j on /j (zfs, local) > z/tmp on /tmp (zfs, local) > z/usr on /usr (zfs, local) > z/var on /var (zfs, local) > /j/jMROOT on /j/jTEST (nullfs, local, read-only) > /j/s/jTEST on /j/jTEST/s (nullfs, local) > devfs on /j/jTEST/dev (devfs, local) > > which, i think?, says the same. > > argh. confused. following too many threads with partial solutions ... > > can you share your setup-a-jail-on-a-zfs'd-host steps? To be honest, I don't do much with them really. I mostly just set them up to get a clean environment for playing around in without fear of destroying anything of real importance. I follow the instructions in jail(8) where DESTDIR is a location to ZFS setup. -- WXS