You are not logged in.
Hi everybody,
I recently switched my server and laptop to Archlinux, and everything is working fine, except for NFS.
I followed each step of the wikientry, and the server seems to run fine, and I can mount the NFS shares on the client, but when I try to search the directory (with nautilus or ls), it freezes. The system keeps running, and I can access other files.
The problem seems to be on the client side, because the same problem occured when I tried accesing a NFS share on a Debian server
Here are my DAEMONS=(syslog-ng acpid laptop-mode cpufreq @network portmap nfslock netfs crond alsa @hal @fam gdm openntpd)
Thanks for your time
Offline
Do the directories you're trying to export / list have the Executable bit set for the user / group / other, whichever is appropriate for the user trying to access it?
Are you familiar with our Forum Rules, and How To Ask Questions The Smart Way?
BlueHackers // fscanary // resticctl
Offline
I take a look when I'm at home again, but shouldn't ls say "Permission denied" or something like that, when I don't have the rights?
Offline
I let ls run, and after ~30 mins it gave me "ls: reading directory *mount*: Permission denied", although i have anonuid=1000, anongid=100 (which is the owner of the folder) in the exports file
Last edited by RashFael (2008-06-03 18:18:05)
Offline
You also have all_squash in /etc/exports? anonuid and anongid aren't going to do anything unless you have all_squash in the export options.
Stop looking at my signature. It betrays your nature.
Offline
all_squash is set, and I'm pretty sure the error isn't on the server side, because today I tested it with an ubuntu client, and it worked
some info:
/etc/conf.d/nfs(not really needed, but who knows)
# Number of servers to be started up by default
NFSD_OPTS=8
# Options to pass to rpc.mountd
# e.g. MOUNTDOPTS="-p 32767"
MOUNTD_OPTS="--no-nfs-version 1 --no-nfs-version 2"
# Options to pass to rpc.statd
# N.B. statd normally runs on both client and server, and run-time
# options should be specified accordingly. Specifically, the Arch
# NFS init scripts require the --no-notify flag on the server,
# but not on the client e.g.
# STATD_OPTS="--no-notify -p 32765 -o 32766" -> server
# STATD_OPTS="-p 32765 -o 32766" -> client
STATD_OPTS="-p 32765 -o 32766"
# Options to pass to sm-notify
# e.g. SMNOTIFY_OPTS="-p 32764"
SMNOTIFY_OPTS=""
clients rpcinfo
100000 2 tcp 111 portmapper
100000 2 udp 111 portmapper
100024 1 udp 32765 status
100024 1 tcp 32765 status
391002 2 tcp 969 sgi_fam
100021 1 tcp 54885 nlockmgr
100021 3 tcp 54885 nlockmgr
100021 4 tcp 54885 nlockmgr
Last edited by RashFael (2008-06-04 16:03:55)
Offline
Only reason I asked is since if the UID and GID matched on the other client, and all_squash wasn't set, it could give a similar experience to that. Sorry I couldn't be more helpful...
Stop looking at my signature. It betrays your nature.
Offline
I straced the freezing ls today, and it always stops at "stat64("*mounted folder*", "
I am not a super-expert, so I don't know what exactly is the problem
Offline
I installed samba yesterday, and it was fucking slow, so I grabbed a Cat5, walked down to the server( Laptop usually runs wireless, connected to the router/AP under the roof, my server is three floors down, wired with the router, made these configuration just recently, having the server in the room where i work was too annoying(and hot)) connected to the switch near the server, and started copying stuff from the samba share. Speeds where up to what my laptop-hdd can handle. Next I tried NFS, an IT WORKED.
Now I have to blame either my router or the cable to the server for all the trouble, I hope its the router, laying the cable the first time was annoying enough.
Myapologies to ArchLinux for my doubts about this great Linuxdistro
Offline