-----BEGIN PGP SIGNED MESSAGE-----
My original question:
> OS: Solaris 2.3, all relevant patches applied.
>
> I'm wondering how can I share two or more different directories
> on the same filesystem. E.g. I like to do something like:
>
> share -F nfs -o rw=client1 /opt
> share -F nfs -o ro=client2 /opt/idl
>
> But when I issue the second share, I get:
>
>nfs share: /opt/idl: parent-directory (/opt) already shared
>
> or when I issue these two shares in reverse order, I get:
>
>nfs share: /opt: sub-directory (/opt/idl) already shared
>
> share(1M) and share_nfs(1M) say nothing about it. I have no problems
> doing this thing using /etc/exports under Ultrix 4.4.
>
> Where can be a problem or what am I missing?
>
Well, the result is that I can't do this in any way, although
I can do "share /opt/dir1" and "share /opt/dir2" without any problems
(of course dir1 and dir2 are subdirs of /opt which is the root
of this fs).
The existing solution is as was afraid of and which I already knew:
share -F nfs -o rw=client1,ro=client2 /opt
and on client2 mount server:/opt/idl.
Many people missed the point because this is not I wanted.
I want to share only needed resources and not to let clients mount
dirs which they not need.
Another soulution is to explicitly share each sub-directory
component :-(((
My real situation is: /usr/local (on Sol2.3 server) is shared by all
Solaris 2.3 clients. I want to create /usr/local/share subdir which
will contain platform independent data (like TeX fonts etc.) and
will be shared not only by all Solaris clients, but also by Ultrix,
Linux etc. Unfortunately, if I want to have whole /usr/local on Solaris
machine, my only choice is to share /usr/local for every client.
Hmm, I will better put /usr/local/share to Ultrix box,
it has no problem with exporting subdirs of exported dir.
Great thanks for their comments and suggestions go to:
Todd Michael Kennedy <tkennedy@galaxy.calpoly.edu>
poffen@San-Jose.ate.slb.com (Russ Poffenberger)
amy.hollander@amp.com (Amy Hollander)
white@erim.org (Brian White)
gunn@lardav.com (David Gunn)
djordan@relay.nswc.navy.mil (Debbie Jordan)
mele@syl.nj.nec.com (Elaine Mele)
bobr@cassie.Sugar-land.Wireline.SLB.COM ( Bob Reardon )
Casper Dik <casper@Holland.Sun.COM>
Matthew Stier - Imonics System <matthew@imonics.com>
- --
miso
- ------------------------------------------------------------------------------
Andrej Misik
Dept. of Computer Science Email: Andrej.Misik@fmph.uniba.sk
Faculty of Mathematics and Physics Phone: (+42 7) 726 635
Comenius University Fax : (+42 7) 727 041
Mlynska dolina PGP public key available via finger:
842 15 Bratislava, Slovakia misik@alpha.dcs.fmph.uniba.sk
- ------------------------------------------------------------------------------
-----BEGIN PGP SIGNATURE-----
Version: 2.6.i
iQB1AgUBMBp1hrSl44teSToZAQELFgL9ER4CTpwGumz19MT6hgFFtboJmMT0IjoK
Q35zZwvzhUCJOZT0dFpsPHivswm//qf6J2/hNWcvCiV5PtCL80UF+Vb8Tk/L+dy1
zex9EUON4rF8s3VQTRWHbnvqlduiGi5n
=pB5x
-----END PGP SIGNATURE-----
This archive was generated by hypermail 2.1.2 : Fri Sep 28 2001 - 23:10:30 CDT