hang when copy file to nfs share
Hi, for some reasons, I have to create a nfs share on my linux share and then mount it to the server :
here is the /etc/exports :
/share/test 127.0.0.1/32(rw,no_root_squash) 192.168.1.0/24(rw,no_root_squash)
and restarted the nfs server and mount the share locally :
mount -t nfs -o rw localhost:/share/test /mnt/t1
after these, I dd a file to it :
dd if=/dev/zero of=/mnt/t1/oneg.txt bs=1M count=1024
this have 2 outcomes :
- only half of the files are copied
- the copy is hanged and the whole system hang
my kernel is 2.6.9-67.0.4.ELsmp
Please advise whether there is a bug involved and any patches available ?
If it is because you need to access the files from the same path on all hosts, simply create a symbolic link from /mnt/t1 to /share/test.
the reason is i need to setup a HA of several nodes, and each of them have the same configuration, therefore they have the same nfs share exported. And I can mount to each of them, from any of the node, so one of the possibility is mount to the local nfs share.
|All times are GMT -5. The time now is 10:16 PM.|