Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
Go Back > Forums > Linux Forums > Linux - Networking
User Name
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.


  Search this Thread
Old 03-04-2008, 11:11 PM   #1
LQ Newbie
Registered: Mar 2008
Posts: 2

Rep: Reputation: 0
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 :

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 ?
Old 03-04-2008, 11:26 PM   #2
LQ Guru
Registered: Aug 2001
Location: Fargo, ND
Distribution: SuSE AMD64
Posts: 15,733

Rep: Reputation: 671Reputation: 671Reputation: 671Reputation: 671Reputation: 671Reputation: 671
Why do you have a local directory exported to localhost?
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.
Old 03-05-2008, 08:34 PM   #3
LQ Newbie
Registered: Mar 2008
Posts: 2

Original Poster
Rep: Reputation: 0
thanks jschiwal.

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.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
NFS File Share - Cannot Mount Ingla Linux - Software 6 08-06-2007 07:56 PM
file permission problems on nfs-share Falafel Linux - Networking 3 12-05-2006 01:57 PM
cant copy file from samba's share apeacez Linux - General 1 10-11-2004 10:06 AM
Bad file naming during copy over NFS shares Tarrasque Linux - Networking 0 03-22-2004 06:26 AM
Is it better to use sftp to trasfer a file than to use NFS share? mphreddy Linux - Networking 1 01-02-2004 08:34 AM > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 11:36 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration