Also having NFSv4 problems

Tom H tomh0665 at gmail.com
Tue Jan 5 00:31:16 UTC 2010


>>>> On the client side just install and run autofs. Then, from any client
>>>> cd /net/lion/pub

>>>> and you're there. No need for cryptic mount commands in /etc/fstab
>>>> (although, of course, you can go that way too, if you want). The
>>>> automounter will do the work for you, on demand.

>>> Well, slap my momma on the a$$!! That works, but /net/lion/pub isn't quite
>>> where I'd wanted the mount to appear.

>>> If I put the following line in /etc/fstab:
>>> lion:/pub /lion nfs4 rsize=8192,wsize=8192,timeo=14,intr 0 0

>>> I wonder why I can't manually mount the nfs-exported directory in /lion,
>>> which is owned by root:root and permissions 755?

>> Even though you are not using the "fsid=0" option for your
>> lion:/pub /lion nfs4 rsize=8192,wsize=8192,timeo=14,intr 0 0
>> export, you might need to use
>> mount -t nfs4 lion:/ /lion
>> rather than
>> mount -t nfs4 lion:/pub /lion
>> (as in your first post) in order to mount the lion export because of
>> nfsv4's pseudo-root feature.

>  are you referring to NFSv4's subtree check feature?

No. Maybe I should have said pseudo-filesystem but it is not the
subtree check feature (which, AFAIK, is not nfsv4-specific).

In nfsv4, if you add the fsid=0 or fsid=root option to an export like
/robert/day on nfssrv, the client has to mount /robert/day as nfssrv:/

Maybe, if you export /robert, it is assumed to have an fsid=root
option tacked on and you have to mount /robert as nfssrv:/




More information about the fedora-list mailing list