Joined: 23 Sep 2012
|Posted: Sun Oct 28, 2012 10:44 pm Post subject: D-state when reading NFS4
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)
The interesting parts of /etc/fstab on the server
|/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
|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!