All of lore.kernel.org
 help / color / mirror / Atom feed
* Strange issue with autofs5/fc6
@ 2007-04-18 16:21 Michael
  2007-04-19  4:15 ` Ian Kent
  2007-04-23 16:56 ` Jeff Moyer
  0 siblings, 2 replies; 7+ messages in thread
From: Michael @ 2007-04-18 16:21 UTC (permalink / raw)
  To: autofs mailing list

I am seeing some weird behavior with autofs/mount. 

/proc/mounts, mounts, and auto.master don't seem to agree.

/proc/mounts:
filer:/export/users/mythtv /home/mythtv nfs 
rw,vers=3,rsize=262144,wsize=262144,hard,proto=tcp,timeo=600,retrans=2,sec=sys,addr=filer 
0 0

mount:
filer:/export/users/mythtv on /home/mythtv type nfs (rw,addr=192.168.101.1)

Here is my auto.master
ypcat -k auto.master
/home auto.home 
bg,hard,intr,retry=10000,rsize=8192,wsize=8192,acregmin=3,acregmax=60,acdirmin=30,acdirmax=60,timeo=600,retrans=5,nfsvers=3,tcp

The 262144 size is strange and I don't have any idea where that is 
coming from.

Also, mounting by hand:

[root@client ~]# mount -o rsize=8192,wsize=8192 
filer:/export/users/mythtv /mnt
[root@client ~]# mount | grep mnt
filer:/export/users/mythtv on /mnt type nfs 
(rw,rsize=8192,wsize=8192,addr=192.168.101.1)
[root@client ~]# grep mnt /proc/mounts
filer:/export/users/mythtv /mnt nfs 
rw,vers=3,rsize=262144,wsize=262144,hard,proto=tcp,timeo=600,retrans=2,sec=sys,addr=filer 
0 0

Any thoughts on what is happening here?  Is rsize really 262144 or are 
things being reported incorrectly?

[root@client ~]# uname -a
Linux client 2.6.20-1.2944.fc6 #1 SMP Tue Apr 10 17:46:00 EDT 2007 
x86_64 x86_64 x86_64 GNU/Linux
[root@client ~]# rpm -q autofs
autofs-5.0.1-0.rc3.26

Michael

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

* Re: Strange issue with autofs5/fc6
  2007-04-18 16:21 Strange issue with autofs5/fc6 Michael
@ 2007-04-19  4:15 ` Ian Kent
  2007-04-23 16:56 ` Jeff Moyer
  1 sibling, 0 replies; 7+ messages in thread
From: Ian Kent @ 2007-04-19  4:15 UTC (permalink / raw)
  To: Michael; +Cc: autofs mailing list

On Wed, 2007-04-18 at 09:21 -0700, Michael wrote:
> I am seeing some weird behavior with autofs/mount. 
> 
> /proc/mounts, mounts, and auto.master don't seem to agree.
> 
> /proc/mounts:
> filer:/export/users/mythtv /home/mythtv nfs 
> rw,vers=3,rsize=262144,wsize=262144,hard,proto=tcp,timeo=600,retrans=2,sec=sys,addr=filer 
> 0 0
> 
> mount:
> filer:/export/users/mythtv on /home/mythtv type nfs (rw,addr=192.168.101.1)
> 
> Here is my auto.master
> ypcat -k auto.master
> /home auto.home 
> bg,hard,intr,retry=10000,rsize=8192,wsize=8192,acregmin=3,acregmax=60,acdirmin=30,acdirmax=60,timeo=600,retrans=5,nfsvers=3,tcp
> 
> The 262144 size is strange and I don't have any idea where that is 
> coming from.
> 
> Also, mounting by hand:
> 
> [root@client ~]# mount -o rsize=8192,wsize=8192 
> filer:/export/users/mythtv /mnt
> [root@client ~]# mount | grep mnt
> filer:/export/users/mythtv on /mnt type nfs 
> (rw,rsize=8192,wsize=8192,addr=192.168.101.1)
> [root@client ~]# grep mnt /proc/mounts
> filer:/export/users/mythtv /mnt nfs 
> rw,vers=3,rsize=262144,wsize=262144,hard,proto=tcp,timeo=600,retrans=2,sec=sys,addr=filer 
> 0 0
> 
> Any thoughts on what is happening here?  Is rsize really 262144 or are 
> things being reported incorrectly?

I don't know.
I haven't noticed this before but that's certainly odd.
Maybe the folks on nfs-list will be able to help.

Ian

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

* Re: Strange issue with autofs5/fc6
  2007-04-18 16:21 Strange issue with autofs5/fc6 Michael
  2007-04-19  4:15 ` Ian Kent
@ 2007-04-23 16:56 ` Jeff Moyer
  2007-04-23 17:22   ` Michael
  1 sibling, 1 reply; 7+ messages in thread
From: Jeff Moyer @ 2007-04-23 16:56 UTC (permalink / raw)
  To: Michael; +Cc: autofs mailing list

==> On Wed, 18 Apr 2007 09:21:45 -0700, Michael <michael@kmaclub.com> said:

michael> I am seeing some weird behavior with
michael> autofs/mount. /proc/mounts, mounts, and auto.master don't
michael> seem to agree.

michael> /proc/mounts: filer:/export/users/mythtv /home/mythtv nfs
michael> rw,vers=3,rsize=262144,wsize=262144,hard,proto=tcp,timeo=600,retrans=2,sec=sys,addr=filer
michael> 0 0

michael> mount: filer:/export/users/mythtv on /home/mythtv type nfs
michael> (rw,addr=192.168.101.1)

michael> Here is my auto.master ypcat -k auto.master /home auto.home
michael> bg,hard,intr,retry=10000,rsize=8192,wsize=8192,acregmin=3,acregmax=60,acdirmin=30,acdirmax=60,timeo=600,retrans=5,nfsvers=3,tcp

michael> The 262144 size is strange and I don't have any idea where
michael> that is coming from.

Can you send along an automount debug log?  Perhaps automount is not
passing the [rw]size parameters to mount.  For information on
gathering debug logs, see:
  http://people.redhat.com/jmoyer/

-Jeff

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

* Re: Strange issue with autofs5/fc6
  2007-04-23 16:56 ` Jeff Moyer
@ 2007-04-23 17:22   ` Michael
  2007-04-23 18:01     ` jmoyer
  2007-04-24  0:02     ` Fabio Olive Leite
  0 siblings, 2 replies; 7+ messages in thread
From: Michael @ 2007-04-23 17:22 UTC (permalink / raw)
  To: Jeff Moyer; +Cc: autofs mailing list

Jeff Moyer wrote:
> ==> On Wed, 18 Apr 2007 09:21:45 -0700, Michael <michael@kmaclub.com> said:
>
> michael> The 262144 size is strange and I don't have any idea where
> michael> that is coming from.
>
> Can you send along an automount debug log?  Perhaps automount is not
> passing the [rw]size parameters to mount.  For information on
> gathering debug logs, see:
>   http://people.redhat.com/jmoyer/
>   

I will go capture the logs.  However, it does appear to be a 
kernel/mount issue.

If I do the mount by hand and not using autofs it still has the same 
problem.

root@client /]# mount -o 
rsize=16384,wsize=16384,proto=tcp,timeo=600,retrans=2  filer:/export /mnt

mount | grep mnt
filer:/export on /mnt type nfs 
(rw,rsize=16384,wsize=16384,proto=tcp,timeo=600,retrans=2,addr=192.168.101.1)

grep mnt /proc/mounts
filer:/export /mnt nfs 
rw,vers=3,rsize=262144,wsize=262144,hard,proto=tcp,timeo=600,retrans=2,sec=sys,addr=filer 
0 0

So I don't know if it is just reporting incorrectly or if it is actually 
mounted incorrectly.

I will also open an issue on bugzilla for fc6.

Michael

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

* Re: Strange issue with autofs5/fc6
  2007-04-23 17:22   ` Michael
@ 2007-04-23 18:01     ` jmoyer
  2007-04-24  0:02     ` Fabio Olive Leite
  1 sibling, 0 replies; 7+ messages in thread
From: jmoyer @ 2007-04-23 18:01 UTC (permalink / raw)
  To: Michael; +Cc: autofs mailing list

==> Regarding Re: [autofs] Strange issue with autofs5/fc6; Michael <michael@kmaclub.com> adds:

michael> Jeff Moyer wrote:
>> ==> On Wed, 18 Apr 2007 09:21:45 -0700, Michael <michael@kmaclub.com>
>> said:
>> 
michael> The 262144 size is strange and I don't have any idea where that is
michael> coming from.
>> Can you send along an automount debug log?  Perhaps automount is not
>> passing the [rw]size parameters to mount.  For information on gathering
>> debug logs, see: http://people.redhat.com/jmoyer/
>> 

michael> I will go capture the logs.  However, it does appear to be a
michael> kernel/mount issue.

michael> If I do the mount by hand and not using autofs it still has the
michael> same problem.

michael> root@client /]# mount -o
michael> rsize=16384,wsize=16384,proto=tcp,timeo=600,retrans=2
michael> filer:/export /mnt

michael> mount | grep mnt filer:/export on /mnt type nfs
michael> (rw,rsize=16384,wsize=16384,proto=tcp,timeo=600,retrans=2,addr=192.168.101.1)

michael> grep mnt /proc/mounts filer:/export /mnt nfs
michael> rw,vers=3,rsize=262144,wsize=262144,hard,proto=tcp,timeo=600,retrans=2,sec=sys,addr=filer
michael> 0 0

michael> So I don't know if it is just reporting incorrectly or if it is
michael> actually mounted incorrectly.

Oh, I somehow missed that.

michael> I will also open an issue on bugzilla for fc6.

OK, it's probably best to use component kernel and assign it to
steved@redhat.com.

-Jeff

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

* Re: Strange issue with autofs5/fc6
  2007-04-23 17:22   ` Michael
  2007-04-23 18:01     ` jmoyer
@ 2007-04-24  0:02     ` Fabio Olive Leite
  2007-04-24  3:21       ` Michael
  1 sibling, 1 reply; 7+ messages in thread
From: Fabio Olive Leite @ 2007-04-24  0:02 UTC (permalink / raw)
  To: autofs mailing list

On Mon, Apr 23, 2007 at 10:22:44AM -0700, Michael wrote:
> 
> root@client /]# mount -o 
> rsize=16384,wsize=16384,proto=tcp,timeo=600,retrans=2  filer:/export /mnt
> 
> mount | grep mnt
> filer:/export on /mnt type nfs 
> (rw,rsize=16384,wsize=16384,proto=tcp,timeo=600,retrans=2,addr=192.168.101.1)
> 
> grep mnt /proc/mounts
> filer:/export /mnt nfs 
> rw,vers=3,rsize=262144,wsize=262144,hard,proto=tcp,timeo=600,retrans=2,sec=sys,addr=filer 
> 0 0

Is the same volume from the same server already mounted somewhere else
in this box? If so, the kernel is sharing the superblock for these two
mounts of the same volume, and both the mount flags and nfs parameters
have been set by the first mount.

For more information, check upstream commit
54ceac4515986030c2502960be620198dd8fe25b. 

Cheers,
Fábio
-- 
ex sed lex awk yacc, e pluribus unix, amem

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

* Re: Strange issue with autofs5/fc6
  2007-04-24  0:02     ` Fabio Olive Leite
@ 2007-04-24  3:21       ` Michael
  0 siblings, 0 replies; 7+ messages in thread
From: Michael @ 2007-04-24  3:21 UTC (permalink / raw)
  To: autofs mailing list

Fabio Olive Leite wrote:
>   
>
> Is the same volume from the same server already mounted somewhere else
> in this box? If so, the kernel is sharing the superblock for these two
> mounts of the same volume, and both the mount flags and nfs parameters
> have been set by the first mount.
>
> For more information, check upstream commit
> 54ceac4515986030c2502960be620198dd8fe25b. 
>   

Yes, the volume is mounted multiple times on the machine.  However, they 
all report bogus values. 

How am I supposed to know what values are being used if I can't trust 
/proc/mounts for any mounts?

Michael

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

end of thread, other threads:[~2007-04-24  3:21 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-04-18 16:21 Strange issue with autofs5/fc6 Michael
2007-04-19  4:15 ` Ian Kent
2007-04-23 16:56 ` Jeff Moyer
2007-04-23 17:22   ` Michael
2007-04-23 18:01     ` jmoyer
2007-04-24  0:02     ` Fabio Olive Leite
2007-04-24  3:21       ` Michael

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.