You are not logged in.

#1 2011-09-10 13:02:17

unhammer
Member
Registered: 2009-10-01
Posts: 99
Website

cp/mv to/from NFS makes everything hang, but watching a movie works

I have a usb harddrive connected to an openwrt router running nfsd (NFS3). When I do a major cp/mv/rsync to the NFS drive, it seems a lot of programs (e.g. Firefox) will hang until the copy is complete. However, watching a movie from the drive seems to not block anything, and I can easily browse the files in Dolphin.

/etc/exports o the router has:

/mnt/USB/shared    192.168.1.0/24(rw,async,subtree_check)
/mnt/USB         192.168.1.2(rw,sync,no_subtree_check)


while /etc/fstab on the arch linux clients have

router:/mnt/USB/shared /media/NFS-shared nfs defaults,rsize=32768,wsize=32768,noatime,hard,intr 0 0
router:/mnt/USB /media/NFS nfs defaults,rsize=32768,wsize=32768,noatime,hard,intr 0 0

(well, last line only on one client)

The problem occurs both with and without subtree_check/sync. Does anyone know the cause/solution to this?

Offline

Board footer

Powered by FluxBB