Re: NFS write() calls lead to read() calls?



On 3/28/07, Ivan Voras <ivoras@xxxxxx> wrote:
> The traffic flows like this:
>
> -----> ----->
> A B C
> <-----

Have you tested with a small C program or a script to see if it's the
rewriting that's causing reads or is it some weird artifact of scp?

I'm not a big user of scp(1), the reason this problem came up is
because Samba has the same problem too. If our Windows Terminal server
(over)writes onto the Samba-Export (which in turn is NFS mounted from
the fileserver) then we get WRITE *and* READ calls. nfsstat -s shows
that the READ column is increasing just as fast/slow as the WRITE
column.

So while I could work around scp anytime (tar|ssh is better in almost
all cases) there is probably no way to work around Samba.

What kind of C program or script did you have in mind? My C-foo is very weak ...

Cheers,
Uli
_______________________________________________
freebsd-current@xxxxxxxxxxx mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to "freebsd-current-unsubscribe@xxxxxxxxxxx"



Relevant Pages

  • SMB.CONF without plenken
    ... # This is the main Samba configuration file. ... # unix names. ... # add user script delete user script etc etc ... # Each logon script should be stored at the base of the share. ...
    (alt.os.linux)
  • smb.conf for DOMAIN LOGONS , PASSWORD CHANGES ETC
    ... # Sample configuration file for the Samba suite for Debian GNU/Linux. ... # unix names. ... # add user script delete user script etc etc ... # Each logon script should be stored at the base of the ...
    (alt.os.linux)
  • Re: Help Needed configuring Samba on Webserver
    ... > with Apache and Samba installed. ... > to be able to do is to have each student have their own directory on the ... Sounds like a good job for a script, but I think you can save yourself ... You can specify all sorts of parameters with "useradd" ...
    (Fedora)
  • Re: Internally generated spam - but from where?
    ... I have found the script that is responsible for this *, ... data posted to it so i cant see how they are actually breaking it but I ... How can i track down what is causing ... this single process to use up so much CPU? ...
    (comp.mail.sendmail)
  • connecting printers on samba in a vbs script?
    ... ' add connection to a network printer hpintel on samba ... The problem is that the printer is on samba and I am trying to connect to it ... if I were to run the script as an administrator I ... using the "runas" command to run the script as a domain user. ...
    (microsoft.public.scripting.vbscript)