mount inside jails
wolf at k18.ch
Sat Oct 28 21:36:44 UTC 2006
-----BEGIN PGP SIGNED MESSAGE-----
Hello dear list,
My FreeBSD 6.0 has several Jails, all running fine.
One of the Jails has installed Bacula Backup Software. And for its File
Deamon (the backup storage server) I would like to mount and unmount the
backup device (an external USB disk) inside the jails /mnt/ directory.
But somehow ...
# mount /dev/da0s1d /mnt
.. keeps telling me "mount: /dev/da0s1d: Operation not permitted"
There is no problem mounting and using the disk from outside the jail.
If understood things right this has to do with /etc/devfs.rules so my
settings ther are:
# Devices usually found in a jail.
add include $devfsrules_hide_all
add include $devfsrules_unhide_basic
add include $devfsrules_unhide_login
# Devices for backup storage jail.
add include $devfsrules_jail
add path 'da*s*' unhide
and my jail deifintion in /etc/rc.conf looks like this:
# Backup Storage Server
Any suggestions? Or is *mount* not possible at all in Jails? Or I am
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
-----END PGP SIGNATURE-----
More information about the freebsd-questions