<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic NFS client - ASYNC write in Operating System - Linux</title>
    <link>https://community.hpe.com/t5/operating-system-linux/nfs-client-async-write/m-p/4468525#M82229</link>
    <description>Does anyone know how to get an NFS client to send a WRITE with the stable bit set to ASYNC?&lt;BR /&gt;&lt;BR /&gt;I've exported the share using ASYNC, but it seems there is something else I'm missing.  I mounted the share and used vi to write a character to a file.  Using Wireshark, I can see that the client is sending FILE_SYNC rather than ASYNC.</description>
    <pubDate>Tue, 28 Jul 2009 18:34:16 GMT</pubDate>
    <dc:creator>Matt Sears</dc:creator>
    <dc:date>2009-07-28T18:34:16Z</dc:date>
    <item>
      <title>NFS client - ASYNC write</title>
      <link>https://community.hpe.com/t5/operating-system-linux/nfs-client-async-write/m-p/4468525#M82229</link>
      <description>Does anyone know how to get an NFS client to send a WRITE with the stable bit set to ASYNC?&lt;BR /&gt;&lt;BR /&gt;I've exported the share using ASYNC, but it seems there is something else I'm missing.  I mounted the share and used vi to write a character to a file.  Using Wireshark, I can see that the client is sending FILE_SYNC rather than ASYNC.</description>
      <pubDate>Tue, 28 Jul 2009 18:34:16 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/nfs-client-async-write/m-p/4468525#M82229</guid>
      <dc:creator>Matt Sears</dc:creator>
      <dc:date>2009-07-28T18:34:16Z</dc:date>
    </item>
    <item>
      <title>Re: NFS client - ASYNC write</title>
      <link>https://community.hpe.com/t5/operating-system-linux/nfs-client-async-write/m-p/4468526#M82230</link>
      <description>Hi Matt,&lt;BR /&gt;&lt;BR /&gt;Have you tried using other applications to send WRITE data to the server other than vi?  It could be the way vi is issuing the write that causes the FILE_SYNC semantics.  I know there are different ways to write data on other platforms, like mmap(), that cause synchronous semantics.&lt;BR /&gt;&lt;BR /&gt;Do you see the same behavior with something like cp?  Also, are you using default NFS mount options?  If not, what options are you using to mount the filesystem?&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;&lt;BR /&gt;Dave</description>
      <pubDate>Tue, 28 Jul 2009 23:57:45 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/nfs-client-async-write/m-p/4468526#M82230</guid>
      <dc:creator>Dave Olker</dc:creator>
      <dc:date>2009-07-28T23:57:45Z</dc:date>
    </item>
    <item>
      <title>Re: NFS client - ASYNC write</title>
      <link>https://community.hpe.com/t5/operating-system-linux/nfs-client-async-write/m-p/4468527#M82231</link>
      <description>Dave, thank you for your response.  I had tried vi and emacs, and when I tried cp it too gave used WRITE with FILE_SYNC.  I then tried dd.  I used dd if=/dev/full of=/nfs_mounted_file bs=1024 count=100.  This caused the WRITE request to be called with the stable bit set to UNSTABLE.  I guess my other WRITE requests were just too small.</description>
      <pubDate>Mon, 03 Aug 2009 21:00:56 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/nfs-client-async-write/m-p/4468527#M82231</guid>
      <dc:creator>Matt Sears</dc:creator>
      <dc:date>2009-08-03T21:00:56Z</dc:date>
    </item>
    <item>
      <title>Re: NFS client - ASYNC write</title>
      <link>https://community.hpe.com/t5/operating-system-linux/nfs-client-async-write/m-p/4468528#M82232</link>
      <description>What NFS mount options are you using for this filesystem?  Can you do an "nfsstat -m" and cut/paste the output here so I can see exactly which options you're using?&lt;BR /&gt;&lt;BR /&gt;Also, what OS is running on the NFS client and server?  &lt;BR /&gt;&lt;BR /&gt;Dave</description>
      <pubDate>Mon, 03 Aug 2009 21:05:07 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/nfs-client-async-write/m-p/4468528#M82232</guid>
      <dc:creator>Dave Olker</dc:creator>
      <dc:date>2009-08-03T21:05:07Z</dc:date>
    </item>
    <item>
      <title>Re: NFS client - ASYNC write</title>
      <link>https://community.hpe.com/t5/operating-system-linux/nfs-client-async-write/m-p/4468529#M82233</link>
      <description>&amp;gt; nfsstat -m&lt;BR /&gt;/mnt/1 from e4s01:/mnt/1&lt;BR /&gt; Flags: rw,vers=3,rsize=32768,wsize=32768,hard,proto=tcp,timeo=600,retrans=2,sec=sys,addr=e4s01&lt;BR /&gt;&lt;BR /&gt;Client OS: CENTOS5 (linux kernel 2.6.18-128)&lt;BR /&gt;Server OS: RHEL5 (linux kernel 2.6.18-92)&lt;BR /&gt;&lt;BR /&gt;I may not have been clear with my previous post.  I was able to force the desired condition by sending a large WRITE request.  My guess is that the other requests were just too small.&lt;BR /&gt;</description>
      <pubDate>Mon, 03 Aug 2009 21:58:27 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/nfs-client-async-write/m-p/4468529#M82233</guid>
      <dc:creator>Matt Sears</dc:creator>
      <dc:date>2009-08-03T21:58:27Z</dc:date>
    </item>
  </channel>
</rss>

