jail on ZFS - "Unable to mount devfs"
wxs at FreeBSD.org
Tue Jan 8 10:25:12 PST 2008
[ 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 at ack ~ % jls
> > JID IP Address Hostname Path
> > 3 192.168.1.100 asterisk /u/jails/asterisk
> > wxs at ack ~ % mount | grep "data"
> > data on /u (zfs, NFS exported, local, noatime)
> > wxs at ack ~ % mount | grep devfs
> > devfs on /dev (devfs, local)
> > devfs on /u/jails/asterisk/dev (devfs, local)
> > wxs at ack ~ %
> here's what i have
> JID IP Address Hostname Path
> 1 10.0.0.200 jTEST.internal.net /j/jTEST
> 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
More information about the freebsd-questions