Stackable file systems and NFS

Ranjan Sinha rnjn.sinha at gmail.com
Tue Aug 14 06:10:07 EDT 2012


Hi Mulyadi,

On Tue, Aug 14, 2012 at 3:33 PM, Mulyadi Santosa
<mulyadi.santosa at gmail.com> wrote:
> Hi Ranjan...
>
> On Tue, Aug 14, 2012 at 2:53 PM, Ranjan Sinha <rnjn.sinha at gmail.com> wrote:
>> Hi,
>>
>> We are writing a stackable file system. While testing this on NFS we
>> came across a situation where sometimes we are getting ASCII NUL bytes
>> in the buffer read from the lower file system (NFS in this case). This
>> happens when NFS client 1 is writing to a file and NFS client 2 is
>> continuously reading from the same file.
>
> are you using synchronous or asynchronous mode in the NFS?

For now, /etc/export file has the following setting
*(rw,sync,no_root_squash)

On client side we have not specified any options explicitly. This is
from /proc/mounts entry
rw,vers=3,rsize=32768,wsize=32768,hard,proto=tcp,timeo=600,retrans=2,sec=sys

-- 
Regards,
Ranjan



More information about the Kernelnewbies mailing list