Date: Tue, 8 Jan 2008 13:26:01 -0500 From: Wesley Shields <wxs@FreeBSD.org> To: freebsd-questions@freebsd.org Cc: "Gelsema, P \(Patrick\)" <gelsemap@superhero.nl> Subject: Re: jail on ZFS - "Unable to mount devfs" Message-ID: <20080108182601.GF45359@atarininja.org> In-Reply-To: <70f41ba20801080824y60f162b9w636e30b23e8f57ba@mail.gmail.com> 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>
next in thread | previous in thread | raw e-mail | index | archive | help
[ 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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20080108182601.GF45359>
