lilrc n00b
Joined: 23 Sep 2012 Posts: 19 Location: Sweden
|
Posted: Sun Oct 28, 2012 10:44 pm Post subject: D-state when reading NFS4 |
|
|
Hi everybody,
I'm trying to share the portage directory over my network using NFSv4. The server works fine, and so does mounting the share at a client. The problem is reading from the share. A cp command, for example, gets stuck in the D-state if I try to copy from the share. This also happens if i try to copy to the share. The same thing happens with ls.
nfs-utils are compiled with version 4 support on both computers and 4 is the only activated version in the kernels.
As I can see the problem is not firewall related while no drops are coming from nfs.
The clocks are synced.
Some useful information:
/etc/exports on the server (comments deleted)
Code: | /exports nnn.nnn.nnn.0/24(rw,fsid=0,no_subtree_check,async,no_root_squash)
/exports/portage nnn.nnn.nnn.0/24(async,no_root_squash,rw,no_subtree_check) |
The interesting parts of /etc/fstab on the server
Code: | /dev/sda1 /usr/portage ext4 noatime 0 0
/usr/portage /exports/portage none bind 0 0 |
The interesting part of /etc/fstab on the client
Code: | homeserver:portage /mnt/nfs-portage nfs4 rw,noatime,hard,intr,nodev 0 0 |
where homeserver is defined in /etc/hosts
How can I fix this problem? All help is greatly appreciated! |
|