All of lore.kernel.org
 help / color / mirror / Atom feed
* NFS inconsistent behaviour
@ 2006-10-16  7:05 Mohit Katiyar, Noida
  2006-10-16  7:13 ` Mohit Katiyar
  0 siblings, 1 reply; 23+ messages in thread
From: Mohit Katiyar, Noida @ 2006-10-16  7:05 UTC (permalink / raw)
  To: nfs, linux-kernel


[-- Attachment #1.1: Type: text/plain, Size: 5240 bytes --]


Hi all, 

I am currently using 2.6.16.21-0.8-smp kernel and SLES10 distribution. I have two machines Machine1 and Machine2 both 4 processors SMP machines. 

The /etc/fstab file on both machines is as follows 

/dev/sda3 / reiserfs acl,user_xattr 1 1
/dev/sda4 /home reiserfs acl,user_xattr 1 2
/dev/sda2 swap swap defaults 0 0
proc /proc proc defaults 0 0
sysfs /sys sysfs noauto 0 0
debugfs /sys/kernel/debug debugfs noauto 0 0
usbfs /proc/bus/usb usbfs noauto 0 0
devpts /dev/pts devpts mode=0620,gid=5 0 0 

## NFS
##
server1k:/export/server1/s25vol1 /mnt/nfs1 nfs hard,intr,tcp
server2k:/export/server2/s25vol2 /mnt/nfs2 nfs hard,intr,tcp
server2k:/export/server2/s25_2sp /mnt/nfs3 nfs hard,intr,tcp

Now on Machine1 when I try to repeatedly mount/unmount the nfs partition by the following procedure 

[Machine1:] while :; do mount -a -F -t nfs ;umount -a -t nfs ; done 

The partitions are mounted and unmounted two or three times and after that the process comes to halt and after some time the following message keeps on coming 

and mounting/unmounting stops. 

mount: RPC: Remote system error - Connection timed out 

mount: RPC: Remote system error - Connection timed out 

mount: RPC: Remote system error - Connection timed out 

.

..

.

.

On Machine2 when I try the same mounting/unmounting infinitely then after 30 seconds or around the following messages starts to display 

mount: server2k:/export/server2/s25_2sp: can't read superblock
mount: server1k:/export/server1/s25vol1: can't read superblock
mount: server2k:/export/server2/s25vol2: can't read superblock
mount: server2k:/export/server2/s25_2sp: can't read superblock
mount: server1k:/export/server1/s25vol1: can't read superblock 

. 

. 

. 

Also there are several lockd daemon created 

> $ ps -ef | grep lockd
> root 21 15 0 13:51 ? 00:00:00 [kblockd/0]
> root 22 15 0 13:51 ? 00:00:00 [kblockd/1]
> root 23 15 0 13:51 ? 00:00:00 [kblockd/2]
> root 24 15 0 13:51 ? 00:00:00 [kblockd/3]
> root 11715 1 0 13:58 ? 00:00:00 [lockd]
> root 11762 1 0 13:58 ? 00:00:00 [lockd]
> root 11765 1 0 13:58 ? 00:00:00 [lockd]
> root 11800 1 0 13:58 ? 00:00:00 [lockd]
> root 11801 1 0 13:58 ? 00:00:00 [lockd]
> root 11811 1 0 13:58 ? 00:00:00 [lockd]
> root 11823 1 0 13:58 ? 00:00:00 [lockd]
> root 11825 1 0 13:58 ? 00:00:00 [lockd]
> root 11834 1 0 13:58 ? 00:00:00 [lockd]
> root 11835 1 0 13:58 ? 00:00:00 [lockd]
> root 11839 1 0 13:58 ? 00:00:00 [lockd]
> root 11859 1 0 13:58 ? 00:00:00 [lockd]
> root 11860 1 0 13:58 ? 00:00:00 [lockd]
> root 11870 1 0 13:58 ? 00:00:00 [lockd]
> root 11879 1 0 13:58 ? 00:00:00 [lockd]
> root 11883 1 0 13:58 ? 00:00:00 [lockd]
> root 11884 1 0 13:58 ? 00:00:00 [lockd]
> root 11894 1 0 13:59 ? 00:00:00 [lockd]
> root 11913 1 0 13:59 ? 00:00:00 [lockd]
> root 11915 1 0 13:59 ? 00:00:00 [lockd]
> root 11927 1 0 13:59 ? 00:00:00 [lockd]
> root 11928 1 0 13:59 ? 00:00:00 [lockd]
> root 11929 1 0 13:59 ? 00:00:00 [lockd]
> root 11940 1 0 13:59 ? 00:00:00 [lockd]
> root 11953 1 0 13:59 ? 00:00:00 [lockd]
> root 11963 1 0 13:59 ? 00:00:00 [lockd]
> root 11964 1 0 13:59 ? 00:00:00 [lockd]
> root 11965 1 0 13:59 ? 00:00:00 [lockd]
> root 11974 1 0 13:59 ? 00:00:00 [lockd]
> root 11978 1 0 13:59 ? 00:00:00 [lockd]
> root 11979 1 0 13:59 ? 00:00:00 [lockd]
> root 11988 1 0 13:59 ? 00:00:00 [lockd]
> root 11989 1 0 13:59 ? 00:00:00 [lockd]
> root 12264 1 0 13:59 ? 00:00:00 [lockd]
> root 12268 1 0 13:59 ? 00:00:00 [lockd]
> root 12488 1 0 13:59 ? 00:00:00 [lockd]
> root 12489 1 0 13:59 ? 00:00:00 [lockd]
> root 12490 1 0 13:59 ? 00:00:00 [lockd]
> root 12500 1 0 13:59 ? 00:00:00 [lockd]
> nfs 12905 10345 0 13:59 pts/1 00:00:00 grep lockd

There are no messages in the /var/log/messages.

If I try to mount/unmount the partitions manually without in a loop they completely work fine. I am able to mount and unmount them without any problem. But whenever this is put in a infinite loop it goes to inconsistent state.

Is it a some kind of bug?

Does anyone faced the same problem or anyone can help me in the case what is going wrong and where? 

TIA

Mohit Katiyar

HCL Technologies Ltd.

 

 
 
 


DISCLAIMER:
-----------------------------------------------------------------------------------------------------------------------
The contents of this e-mail and any attachment(s) are confidential and intended for the named recipient(s) only. 
It shall not attach any liability on the originator or HCL or its affiliates. Any views or opinions presented in 
this email are solely those of the author and may not necessarily reflect the opinions of HCL or its affiliates. 
Any form of reproduction, dissemination, copying, disclosure, modification, distribution and / or publication of 
this message without the prior written consent of the author of this e-mail is strictly prohibited. If you have 
received this email in error please delete it and notify the sender immediately. Before opening any mail and 
attachments please check them for viruses and defect.
-----------------------------------------------------------------------------------------------------------------------

[-- Attachment #1.2: Type: text/html, Size: 6285 bytes --]

[-- Attachment #2: Type: text/plain, Size: 373 bytes --]

-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642

[-- Attachment #3: Type: text/plain, Size: 140 bytes --]

_______________________________________________
NFS maillist  -  NFS@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nfs

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

end of thread, other threads:[~2006-10-19 12:11 UTC | newest]

Thread overview: 23+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-10-16  7:05 NFS inconsistent behaviour Mohit Katiyar, Noida
2006-10-16  7:13 ` Mohit Katiyar
2006-10-16  8:46   ` Frank van Maarseveen
2006-10-16  9:35     ` Mohit Katiyar
2006-10-16  9:39       ` Frank van Maarseveen
2006-10-18  1:22         ` Mohit Katiyar
2006-10-18  6:39           ` Frank van Maarseveen
2006-10-18 17:57             ` Trond Myklebust
2006-10-18 18:37               ` Trond Myklebust
2006-10-18 18:37                 ` Trond Myklebust
2006-10-18 18:38               ` Frank van Maarseveen
2006-10-18 18:38                 ` Frank van Maarseveen
2006-10-18 19:26                 ` Trond Myklebust
2006-10-18 19:26                   ` Trond Myklebust
2006-10-18 20:09                   ` Frank van Maarseveen
2006-10-18 20:09                     ` [NFS] " Frank van Maarseveen
2006-10-18 20:17                     ` Chuck Lever
2006-10-18 20:17                       ` [NFS] " Chuck Lever
2006-10-18 20:44                       ` Trond Myklebust
2006-10-18 20:44                         ` [NFS] " Trond Myklebust
2006-10-19 12:11                       ` Alan Cox
2006-10-19  1:53               ` Mohit Katiyar
2006-10-19  1:53                 ` Mohit Katiyar

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.