Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
D-state when reading NFS4
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
lilrc
n00b
n00b


Joined: 23 Sep 2012
Posts: 19
Location: Sweden

PostPosted: Sun Oct 28, 2012 10:44 pm    Post subject: D-state when reading NFS4 Reply with quote

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!
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Networking & Security All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum