Garayed.com  

Go Back   Garayed.com > Linux
FAQ Members List Calendar Search Today's Posts Mark Forums Read


Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 01-26-2007, 12:39 AM
adleyman@gmail.com
 
Posts: n/a
Default nfs soft mounts not reporting I/O error......

Hi,

I have a small C++ program which basically copies data from one
directory to a destination directory.. using i/ofstream to do the job.
I am mounting a NFS share (Fedora Core 5) with the following client
options:

-o proto=tcp,soft,intr,timeo=100

What I am noticing is that if i yank a network cable to simulate an
error, the client does not seem to get an I/O error from the kernel
UNLESS i specify the 'noac' option in the mount command. The noac
option causes the file transfer to slow down greatly, I assume because
it forces async writes. Though I am confused as to why this is
necessary for the kernel to report an I/O error to the process after
major timeout.

Has anyone run into this who can maybe shed some light? I thought any
soft mount was supposed to report an I/O error to the application if
RPC/NFS timed out.

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT. The time now is 12:03 AM.




LinkBacks Enabled by vBSEO 3.0.0 © 2007, Crawlability, Inc.