Le 21 janv. 10 à 12:33, Thomas Burgess a écrit :

I'm pretty new to opensolaris.  I come from FreeBSD.

Naturally, after using FreeBSD forr awhile i've been big on the use of FreeBSD jails so i just had to try zones. I've figured out how to get zones running but now i'm stuck and need help. Is there anything like "nullfs" in opensolaris...

or maybe there is a more "solaris" way of doing what i need to do.

Basically, what i'd like to do is give a specific zone access to 2 zfs filesystems which are available to the global zone.
my new zones are in:

/export/home/zone1
/export/home/zone2



the path of the root of your zone is not important for that feature.

What i'd like to do is give them access to:

/tank/nas/Video
/tank/nas/JeffB



with zonecfg, you can add a configuration like this one to your zone:

add fs
set dir=/some/path/Video
set special=/tank/nas/Video
set type=lofs
end
add fs
set dir=/some/path/JeffB
set special=/tank/nas/JeffB
set type=lofs
end

Your filesystems will appear in /some/path/Video and /some/path/JeffB in your zone, and still be accessible in the global zone.

http://docs.sun.com/app/docs/doc/817-1592/z.conf.start-29?a=view

This option don't let you manage the filesystems from the zone though.
You must use "add dataset" in that case.

http://docs.sun.com/app/docs/doc/819-5461/gbbst?a=view

Gaëtan

--
Gaëtan Lehmann
Biologie du Développement et de la Reproduction
INRA de Jouy-en-Josas (France)
tel: +33 1 34 65 29 66    fax: 01 34 65 29 09
http://voxel.jouy.inra.fr  http://www.itk.org
http://www.mandriva.org  http://www.bepo.fr

Attachment: PGP.sig
Description: Ceci est une signature électronique PGP

_______________________________________________
zfs-discuss mailing list
zfs-discuss@opensolaris.org
http://mail.opensolaris.org/mailman/listinfo/zfs-discuss

Reply via email to