Skip to contentSkip to conversation

Cannot see contents of files over NFS share.

DISCUSSION dE . 2 participants 5 messages Jan 30, 2013 – Jan 31, 2013

Subsystems (2)
lore
Share & tools
lore

dE .

author
#0 lore raw

I've shares with the following options in export --

anonuid=1000,anongid=1000,secure,no_subtree_check,ro,fsid=0,crossmnt

(Actually it doesn't matter. If I remove all the options except fsid (which's required for nfs4), it still doesn't work.)

I mount the shares with no options and over localhost.

ls works ok, so does cding to various directories and checking it's contents, but that's about it.

No program can read the contents of any file; all of them hang, but can be stopped by an interrupt signal.

--debug --syslog with rpc.nfsd gives nothing at all, just generic startup messages.

On the same machine, I can mount shares from other NFSv4 servers.

Please help!

#1 lore raw
Quoted 6 lines · dE .

I've shares with the following options in export --

anonuid=1000,anongid=1000,secure,no_subtree_check,ro,fsid=0,crossmnt

(Actually it doesn't matter. If I remove all the options except fsid (which's required for nfs4),

Actually if you're using a recent distro we recommend not using fsid=0. Just export as you normally would for v2/v3, and v4 will work too.

--b.

Quoted 14 lines

it still doesn't work.)

I mount the shares with no options and over localhost.

ls works ok, so does cding to various directories and checking it's contents, but that's about it.

No program can read the contents of any file; all of them hang, but can be stopped by an interrupt signal.

--debug --syslog with rpc.nfsd gives nothing at all, just generic startup messages.

On the same machine, I can mount shares from other NFSv4 servers.

author
#2 lore raw
Quoted 4 lines · J. Bruce Fields

Actually if you're using a recent distro we recommend not using fsid=0. Just export as you normally would for v2/v3, and v4 will work too.

--b.

It's still not working. Same issue

I'm running custom kernel --

uname -r
3.4.2-gentoo-r1

With nfsutils version 1.2.6 (say, I've a nfsv41 USE here....)