Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 8 Jan 2008 22:05:43 +0100
From:      "Karsten W. Schmidt / DLX ApS" <ks@dlx.dk>
To:        <freebsd-questions@freebsd.org>
Subject:   RE: jail on ZFS - "Unable to mount devfs"
Message-ID:  <C07650ED07FD0F458F7E409B22E15DB50DB48A@exch.hoffice.dk>
In-Reply-To: <70f41ba20801071743o437b86ebx7956ad73250becb1@mail.gmail.com>
References:  <70f41ba20801071743o437b86ebx7956ad73250becb1@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
> not surprising, as step (4) @ .../handbook/jails-application.html had
> me
>=20
>    rm -R bin boot lib libexec mnt proc rescue sbin sys usr dev
<<<<<--

>From jails-application.html
--
cd /home/j/skel
# rm -R bin boot lib libexec mnt proc rescue sbin sys usr dev
--

The root is in /home/j/mroot and nullfs mounted read only to the jail
root
So if you ran the rm in /j/jTest you did not follow the directions

> any suggestions ?

Dont do jail-appliations ... use a full world onside the jail
Here's a short draft from my playing around with ZFS and 7.0-RC1
http://gugge.dlx.dk/bsd/zfs-jail

Notice that I don't use the normal way of buildworld/installworld=20
to populate the jail. I just unpack the distfiles from the CD.

But a "make installworld DESTDIR=3D/jailpath" would do just fine too

--=20
Karsten



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