Find the answer to your Linux question:
Results 1 to 2 of 2
Hi All, i'm experiencing some strange behavior (at least for me) of my NFS server. In few words I have a server that exposes a directory via NFS and a ...
  1. #1
    Just Joined!
    Join Date
    Aug 2011
    Posts
    1

    Copies over NFS and buffer issue

    Hi All,
    i'm experiencing some strange behavior (at least for me) of my NFS server.

    In few words I have a server that exposes a directory via NFS and a client that mount it.
    I tested a simple copy from the client to the exposed directory of a file of 2GB and i see that on the server the file is created pretty soon, then no byte is written for a while (checking with ls -la), then the size increases from 0 to something like 8MB, then after a while to 12MB and so on....clearly with some buffer since it doesn't increase "linearly".

    This is how the directory is exported:
    # exportfs -v
    /nfs/dir my-client(rw,async,wdelay,root_squash,no_subtree_chec k,fsid=0,anonuid=65534,anongid=65534)


    And in the fstab client file i have:
    server:/ /nfs/dir nfs4 rw,rsize=32768,wsize=32768,intr 0 0

    Is there any option to remove that buffered behaviour ?

    Thanks in advance
    Ste

  2. #2
    Linux Guru Lakshmipathi's Avatar
    Join Date
    Sep 2006
    Location
    3rd rock from sun - Often seen near moon
    Posts
    1,568
    may be checkout options given here NFS for clusters

    and noac disables all caching.
    - Lakshmipathi.G
    -------------------
    FOSS India Award winning ext3fs Undelete tool and tutorials www.giis.co.in
    First they criticize you,Then they laugh at you,Then they fight with you,Then you win. - M.K.Gandhi
    -------------------

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
...