Linux NFS development
 help / color / mirror / Atom feed
* Possible bug in NFSv4 server regarding to looking for right path for clients to mount
@ 2012-07-02  6:11 Song Gao
  2012-07-05 21:56 ` J. Bruce Fields
  0 siblings, 1 reply; 4+ messages in thread
From: Song Gao @ 2012-07-02  6:11 UTC (permalink / raw)
  To: linux-nfs

Hello,

There's possibly a bug related NFSv4 server's behavior on looking for
path on /export .

I have a 32 nodes KVM cluster. NFS, host filesystem, KVM storage pool,
are all placed on SSD. KVM guests are connected to host through virtio
drived GB ethernet.

I followed this guide to configure NFS:
https://help.ubuntu.com/community/SettingUpNFSHowTo

The problem was that, when I execute a program simultaneously (through
cssh) on 32 nodes, there were always a number of nodes that
encountered "input/output error". The /var/log/messages on client
shows "state manager failed on NFSv4 server with error 10022".

I tried different options in client /etc/fstab as well as export
settings in server but nothing helps. Interestingly, by changing the
item in /etc/fstab from:
    some-host:/tigers  nfs    rw,bg,hard,intr    0    0
into:
    some-host:/export/tigers    /nfs    nfs    rw,bg,hard,intr    0    0
fixed the problem.

I'm not familiar with it but I guess that it's probably caused by some
problem in NFS server when it tries to find the right path when all 32
clients are trying to mount NFS at the same time.

Here's some more information:
client: debian "squeeze", 2.6.32-5-amd64
server: Ubuntu Server 12.04, 3.2.0-23-generic
nfs version: NFSv4
no security option
results of `exports -v`:
    /export 192.168.100.0/24(rw,wdelay,insecure,root_squash,no_subtree_check,fsid=0)
    /export/tigers
192.168.100.0/24(rw,wdelay,nohide,insecure,root_squash,no_subtree_check)

Please let me know if there's any other information I need to provide.

Thanks!


Kind regards,
-- 
Song Gao
https://profiles.google.com/song.gao.beta/about

^ permalink raw reply	[flat|nested] 4+ messages in thread
* Possible bug in NFSv4 server regarding to looking for right path for clients to mount
@ 2012-07-02  5:36 Song Gao
  0 siblings, 0 replies; 4+ messages in thread
From: Song Gao @ 2012-07-02  5:36 UTC (permalink / raw)
  To: linux-nfs

Hello all,

There's possibly a bug related NFSv4 server's behavior on looking for
path on /export .

I have a 32 nodes KVM cluster. NFS, host filesystem, KVM storage pool,
are all placed on SSD. KVM guests are connected to host through virtio
drived GB ethernet.

I followed this guide to configure NFS:
https://help.ubuntu.com/community/SettingUpNFSHowTo

The problem was that, when I execute a program simultaneously (through
cssh) on 32 nodes, there were always a number of nodes that
encountered "input/output error". The /var/log/messages on client
shows "state manager failed on NFSv4 server with error 10022".

I tried different options in client /etc/fstab as well as export
settings in server but nothing helps. Interestingly, by changing the
item in /etc/fstab from:
    some-host:/tigers  nfs    rw,bg,hard,intr    0    0
into:
    some-host:/export/tigers    /nfs    nfs    rw,bg,hard,intr    0    0
fixed the problem.

I'm not familiar with it but I guess that it's probably caused by some
problem in NFS server when it tries to find the right path when all 32
clients are trying to mount NFS at the same time.

Here's some more information:
client: debian "squeeze", 2.6.32-5-amd64
server: Ubuntu Server 12.04, 3.2.0-23-generic
nfs version: NFSv4
no security option
results of `exports -v`:
    /export
192.168.100.0/24(rw,wdelay,insecure,root_squash,no_subtree_check,fsid=0)
    /export/tigers
192.168.100.0/24(rw,wdelay,nohide,insecure,root_squash,no_subtree_check)

Please let me know if there's any other information I need to provide.

Thanks!

Kind regards,
-- 
Song Gao
https://profiles.google.com/song.gao.beta/about

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2012-07-06  1:18 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-07-02  6:11 Possible bug in NFSv4 server regarding to looking for right path for clients to mount Song Gao
2012-07-05 21:56 ` J. Bruce Fields
2012-07-06  1:18   ` Song Gao
  -- strict thread matches above, loose matches on Subject: below --
2012-07-02  5:36 Song Gao

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox