* Is it normal for autofs to remount a file system more than once?
@ 2004-09-02 21:48 Terrence Martin
2004-09-03 2:48 ` Mike Waychison
0 siblings, 1 reply; 4+ messages in thread
From: Terrence Martin @ 2004-09-02 21:48 UTC (permalink / raw)
To: autofs
Hi,
I am not sure if this is related to my NFS mount hanging problems, but I
have noticed that autofs will often remount a file system multiple
times. Is this normal? I think I have pretty straight forward auto.
files....
Terrence Martin
UCSD Physics
mount
automount(pid4293) on /home type autofs
(rw,fd=5,pgrp=4293,minproto=2,maxproto=3)
192.168.20.3:/home/cdfcaf on /home/cdfcaf type nfs (rw,addr=192.168.20.3)
192.168.20.3:/home/cdfsoft on /home/cdfsoft type nfs (rw,addr=192.168.20.3)
192.168.10.5:/falcon/0/users on /home/users type nfs (rw,addr=192.168.10.5)
automount(pid12825) on /home type autofs
(rw,fd=5,pgrp=12825,minproto=2,maxproto=3)
192.168.20.3:/home/cdfcaf on /home/cdfcaf type nfs (rw,addr=192.168.20.3)
automount(pid3625) on /home type autofs
(rw,fd=5,pgrp=3625,minproto=2,maxproto=3)
automount(pid3656) on /netstor type autofs
(rw,fd=5,pgrp=3656,minproto=2,maxproto=3)
automount(pid3684) on /afs type autofs
(rw,fd=5,pgrp=3684,minproto=2,maxproto=3)
192.168.20.3:/home/cdfcaf on /home/cdfcaf type nfs (rw,addr=192.168.20.3)
192.168.20.3:/home/cdfsoft on /home/cdfsoft type nfs (rw,addr=192.168.20.3)
192.168.10.5:/falcon/0/users on /home/users type nfs (rw,addr=192.168.10.5)
frontend-3.local:/export/home/install on /home/install type nfs
(rw,addr=192.168.21.1)
192.168.10.5:/falcon/0/afs/fnal.gov on /afs/fnal.gov type nfs
(rw,addr=192.168.10.5)
192.168.10.5:/falcon/2 on /netstor/falcon0-2 type nfs (rw,addr=192.168.10.5)
192.168.10.5:/falcon/0/afs/cern.ch on /afs/cern.ch type nfs
(rw,addr=192.168.10.5)
df
Filesystem 1K-blocks Used Available Use% Mounted on
/dev/hda1 14112620 3535196 9860528 27% /
/dev/hdb1 50394964 1222448 49172516 3% /state/data
/dev/hdb2 189967608 183507236 6460372 97% /state/dcache
none 1030804 0 1030804 0% /dev/shm
192.168.20.3:/home/cdfcaf
101161396 34168568 66992828 34% /home/cdfcaf
192.168.20.3:/home/cdfsoft
101161396 34168568 66992828 34% /home/cdfsoft
192.168.10.5:/falcon/0/users
1463382364 618177588 845204776 43% /home/users
192.168.20.3:/home/cdfcaf
101161396 34168568 66992828 34% /home/cdfcaf
192.168.20.3:/home/cdfcaf
101161396 34168568 66992828 34% /home/cdfcaf
192.168.20.3:/home/cdfsoft
101161396 34168568 66992828 34% /home/cdfsoft
192.168.10.5:/falcon/0/users
1463382364 618177588 845204776 43% /home/users
frontend-3.local:/export/home/install
10080520 5781204 3787248 61% /home/install
192.168.10.5:/falcon/0/afs/fnal.gov
1463382364 618177588 845204776 43% /afs/fnal.gov
192.168.10.5:/falcon/2
1463382364 346259560 1117122804 24% /netstor/falcon0-2
192.168.10.5:/falcon/0/afs/cern.ch
1463382364 618177588 845204776 43% /afs/cern.ch
cat /etc/auto.master
# $411id: /etc/auto.master$
# Retrieved: 02-Sep-2004 21:42
# Master server: 192.168.21.1
# Last modified on master: 04-Aug-2004 04:04
# Encrypted file size: 490 bytes
#
# Owner: 0.0
# Name: etc.auto..master
# Mode: 0100644
/home auto.home --timeout 600
/netstor auto.net --timeout 600
/afs auto.afs --timeout 600
/groot auto.grid3 --timeout 600
# cat /etc/auto.net
# $411id: /etc/auto.net$
# Retrieved: 02-Sep-2004 21:42
# Master server: 192.168.21.1
# Last modified on master: 27-May-2004 07:23
# Encrypted file size: 490 bytes
#
# Owner: 0.0
# Name: etc.auto..net
# Mode: 0100644
data0 192.168.20.1:/raid0
falcon0-0 192.168.10.5:/falcon/0
falcon0-1 192.168.10.5:/falcon/1
falcon0-2 192.168.10.5:/falcon/2
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: Is it normal for autofs to remount a file system more than once?
2004-09-02 21:48 Is it normal for autofs to remount a file system more than once? Terrence Martin
@ 2004-09-03 2:48 ` Mike Waychison
2004-09-03 8:01 ` Terrence Martin
0 siblings, 1 reply; 4+ messages in thread
From: Mike Waychison @ 2004-09-03 2:48 UTC (permalink / raw)
To: Terrence Martin; +Cc: autofs
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Terrence Martin wrote:
> Hi,
>
> I am not sure if this is related to my NFS mount hanging problems, but I
> have noticed that autofs will often remount a file system multiple
> times. Is this normal? I think I have pretty straight forward auto.
> files....
>
> Terrence Martin
> UCSD Physics
>
> mount
>
> df
Both of these tools get their mount information from /etc/mtab, a plain
text file. This file can get out of sync for a variety of reasons
unfortunately. Some common reasons I usually see are:
- - You may be using multiple namespaces. [u]mount(8) doesn't know how to
handle this.
- - [u]mount(8) has trouble getting a lock on the file, so it has trouble
updating.
The only way to see an accurate picture of your mount tree is to look at
/proc/mounts. If this file has multiple entries for your automounted
filesystem, then there indeed is a problem.
Btw, you didn't mention which kernel(+patches?) and automount version
are you using. That would help :)
Thanks,
- --
Mike Waychison
Sun Microsystems, Inc.
1 (650) 352-5299 voice
1 (416) 202-8336 voice
http://www.sun.com
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
NOTICE: The opinions expressed in this email are held by me,
and may not represent the views of Sun Microsystems, Inc.
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (GNU/Linux)
iD8DBQFBN9ttdQs4kOxk3/MRAnxeAJ9EU/vVu0J2OIl8hjFPWWkGd6IvMACeMkY5
VUKsB/GK2poT2NBx5AEZD30=
=AqLw
-----END PGP SIGNATURE-----
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: Is it normal for autofs to remount a file system more than once?
2004-09-03 2:48 ` Mike Waychison
@ 2004-09-03 8:01 ` Terrence Martin
2004-09-03 14:20 ` Jeff Moyer
0 siblings, 1 reply; 4+ messages in thread
From: Terrence Martin @ 2004-09-03 8:01 UTC (permalink / raw)
To: Mike Waychison; +Cc: autofs
Hi,
Aparently it looks like I have a problem
cat /proc/mounts
automount(pid4347) /home autofs rw 0 0
192.168.20.3:/home/cdfcaf /home/cdfcaf nfs
rw,v3,rsize=8192,wsize=8192,hard,udp,lock,addr=192.168.20.3 0 0
192.168.20.3:/home/cdfsoft /home/cdfsoft nfs
rw,v3,rsize=8192,wsize=8192,hard,udp,lock,addr=192.168.20.3 0 0
192.168.10.5:/falcon/0/users /home/users nfs
rw,v3,rsize=8192,wsize=8192,hard,udp,lock,addr=192.168.10.5 0 0
automount(pid23831) /home autofs rw 0 0
192.168.20.3:/home/cdfcaf /home/cdfcaf nfs
rw,v3,rsize=8192,wsize=8192,hard,udp,lock,addr=192.168.20.3 0 0
192.168.20.3:/home/cdfsoft /home/cdfsoft nfs
rw,v3,rsize=8192,wsize=8192,hard,udp,lock,addr=192.168.20.3 0 0
automount(pid18432) /home autofs rw 0 0
192.168.20.3:/home/cdfcaf /home/cdfcaf nfs
rw,v3,rsize=8192,wsize=8192,hard,udp,lock,addr=192.168.20.3 0 0
192.168.20.3:/home/cdfsoft /home/cdfsoft nfs
rw,v3,rsize=8192,wsize=8192,hard,udp,lock,addr=192.168.20.3 0 0
frontend-3.local:/export/home/install /home/install nfs
rw,v3,rsize=8192,wsize=8192,hard,udp,lock,addr=frontend-3.local 0 0
automount(pid29678) /home autofs rw 0 0
192.168.10.5:/falcon/0/users /home/users nfs
rw,v3,rsize=8192,wsize=8192,hard,udp,lock,addr=192.168.10.5 0 0
automount(pid3017) /home autofs rw 0 0
automount(pid3047) /netstor autofs rw 0 0
automount(pid3077) /afs autofs rw 0 0
automount(pid3105) /groot autofs rw 0 0
192.168.10.5:/falcon/0/users /home/users nfs
rw,v3,rsize=8192,wsize=8192,hard,udp,lock,addr=192.168.10.5 0 0
frontend-3.local:/export/home/install /home/install nfs
rw,v3,rsize=8192,wsize=8192,hard,udp,lock,addr=frontend-3.local 0 0
192.168.20.3:/home/cdfsoft /home/cdfsoft nfs
rw,v3,rsize=8192,wsize=8192,hard,udp,lock,addr=192.168.20.3 0 0
Several entries occure more than once.
I am not sure what you are meaning by multiple name spaces with regards
to autofs?
Also my kernel is a RedHat RHEL3 stock kernel.
uname -a
Linux compute-3-4.local 2.4.21-4.0.1.ELsmp #1 SMP Sat Nov 29 04:15:49
GMT 2003 i686 i686 i386 GNU/Linux
Autofs version 3.1.7-41
Terrence
Mike Waychison wrote:
>-----BEGIN PGP SIGNED MESSAGE-----
>Hash: SHA1
>
>Terrence Martin wrote:
>
>
>>Hi,
>>
>>I am not sure if this is related to my NFS mount hanging problems, but I
>>have noticed that autofs will often remount a file system multiple
>>times. Is this normal? I think I have pretty straight forward auto.
>>files....
>>
>>Terrence Martin
>>UCSD Physics
>>
>>mount
>>
>>
>
>
>
>>df
>>
>>
>
>
>Both of these tools get their mount information from /etc/mtab, a plain
>text file. This file can get out of sync for a variety of reasons
>unfortunately. Some common reasons I usually see are:
>
>- - You may be using multiple namespaces. [u]mount(8) doesn't know how to
>handle this.
>- - [u]mount(8) has trouble getting a lock on the file, so it has trouble
>updating.
>
>The only way to see an accurate picture of your mount tree is to look at
>/proc/mounts. If this file has multiple entries for your automounted
>filesystem, then there indeed is a problem.
>
>Btw, you didn't mention which kernel(+patches?) and automount version
>are you using. That would help :)
>
>Thanks,
>
>- --
>Mike Waychison
>Sun Microsystems, Inc.
>1 (650) 352-5299 voice
>1 (416) 202-8336 voice
>http://www.sun.com
>
>~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
>NOTICE: The opinions expressed in this email are held by me,
>and may not represent the views of Sun Microsystems, Inc.
>~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
>-----BEGIN PGP SIGNATURE-----
>Version: GnuPG v1.2.4 (GNU/Linux)
>
>iD8DBQFBN9ttdQs4kOxk3/MRAnxeAJ9EU/vVu0J2OIl8hjFPWWkGd6IvMACeMkY5
>VUKsB/GK2poT2NBx5AEZD30=
>=AqLw
>-----END PGP SIGNATURE-----
>
>
>
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: Is it normal for autofs to remount a file system more than once?
2004-09-03 8:01 ` Terrence Martin
@ 2004-09-03 14:20 ` Jeff Moyer
0 siblings, 0 replies; 4+ messages in thread
From: Jeff Moyer @ 2004-09-03 14:20 UTC (permalink / raw)
To: Terrence Martin; +Cc: autofs, Mike Waychison
==> Regarding Re: [autofs] Is it normal for autofs to remount a file system more than once?; Terrence Martin <tmartin@physics.ucsd.edu> adds:
tmartin> Hi, Aparently it looks like I have a problem
[snip]
tmartin> Autofs version 3.1.7-41
RHEL 3 U3 includes autofs version 4, which addresses this problem.
-Jeff
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2004-09-03 14:20 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-09-02 21:48 Is it normal for autofs to remount a file system more than once? Terrence Martin
2004-09-03 2:48 ` Mike Waychison
2004-09-03 8:01 ` Terrence Martin
2004-09-03 14:20 ` Jeff Moyer
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.