[olug] NFS
Brian Roberson
roberson at olug.org
Wed May 14 04:19:11 UTC 2008
If you have sync'ed up all the UID's client and server, I would definately
get rid of all that root mangling! I think (fuzzy solaris memory) but it
defaults to squash root, and best practice is not to trust any remote root
anyways ;-)
Just as a quick test, change your dfstab to:
share -F nfs -o rw=client1,client2,client3 -d "pkgsrc" /usr/pkgsrc
and mount from the client. do an ls to wherever you mounted it (as a user
with file permisions on the export) and just try to touch a file (touch
/some/mount/point/foobar)
One other thing to note is to ensure name resulitions works 100% (FQDN and
Reverse) for whatever client's you put in your "rw" list.
if this still does not work, send the output of just running the "mount"
(no arguments) command from a client.
> Christopher Cashell wrote:
>> On Tue, May 13, 2008 at 2:04 PM, <thelarsons3 at cox.net> wrote:
>>> I'm trying to set up NFS for the first time. I've gone through and
>>> synced UIDs across all my systems. My server (Solaris 10) exports
>>> as r/w, and it is mounted r/w on all clients (Linux and NetBSD so
>>> far). However, the clients still can't write to it. Everything I
>>> try gives "Permission denied". What else am I missing?
>>
>> Hrm. It's hard to say based on that. Can you provide your
>> /etc/exports entry from the NFS server, and the /etc/fstab or mount
>> command that you used to mount the NFS share?
>
> Server /etc/dfs/dfstab:
> share -F nfs -o
> ro,rw=root,root=charliebrown:franklin:shermy:schroeder:olaf -d "pkgsrc"
> /usr/pkgsrc
>
> Linux client:
> mount -t nfs marcie:/usr/pkgsrc /usr/pkgsrc
>
>> Also, did you check to make sure that the file permissions on the
>> share itself allow writing to the directories in question (not just
>> in /etc/exports)? Can the NFS clients read the NFS directories?
>
> Does this matter for root, when I've explicitly given root permission to
> act as root on the share?
>
>> Is there anything in /var/log/messages (or wherever) related to NFS
>> on the client or servers?
>
> Nothing in /var/log on server, but I don't know where Solaris keeps
> these logs. The only thing I find on the client seem to be attempts to
> connect from outside my LAN. :S :P
>
> Tim
>
> --
> Tim & Alethea
> christtrek.org
> _______________________________________________
> OLUG mailing list
> OLUG at olug.org
> http://lists.olug.org/mailman/listinfo/olug
>
More information about the OLUG
mailing list