Dear All,
Can anyone explain the following?
I wish to add another NFS client to the list of hosts a particular
share is is exported to, with RW access. I can see the export details
of the share I'm interested in from the 'share' command, copy it with
the new client's hostname appended and execute it. The modified
export list is then present in the O/P of 'share' and the new client
has RW access. So far so good.
However, the new client's added access is lost across a system reboot
and the O/P of the 'share' command reverts to its previous export list
for the share concerned. According to
http://www.tablespace.net/quicksheet/solaris-quicksheet.pdf to make it
permanent, the modified share command needs to be added to
/etc/dfs/dfstab, which I have just done.
The thing that bothers me is that, prior to adding my modified share
command to /etc/dfs/dfstab, that file was empty (bar a few comments)
but all the other hosts previously granted export access retain them
across reboots.
Another way of asking the same question is: Where does Solaris store
the share information across reboots and how can I edit it? There is
no /etc/exports file and /etc/dfs/sharetab is read-only. I have tried
grepping the files in /etc for evidence of local customisations
relating to NFS shares but found none.
Many thanks
Tom Crane
OS details;
$ uname -a
SunOS server5 5.10 Generic_147441-11 i86pc i386 i86pc
Ps. The email address in the header is just a spam-trap.
--
Tom Crane, Dept. Physics, Royal Holloway, University of London, Egham Hill,
Egham, Surrey, TW20 0EX, England.
Email: T.Crane at rhul dot ac dot uk
Fax:
+44 (0) 1784 472794