Skip to contentSkip to conversation

mounting problem

DISCUSSION Greg Bradner 2 participants 2 messages Jun 3, 2005 Kernel automounter

lore
Share & tools
lore
#0 lore raw

This happens with autofs or using mount directly.

However I mount the disk the first time, the same characteristics are passed to future mounts.

## This is a read only mount point and you can see the options in the /proc/mounts file at the bottom

Quoted 3 lines

cd /nfs/ro3/fs14/a/rla/

df -k .

Filesystem 1K-blocks Used Available Use% Mounted on fs14:/a/rla 657148928 545010048 112138880 83% /nfs/ro3/fs14/a/rla

## Then when I go to a mount point that shouldn't be read only, it take the options from the previous mount.

Quoted 3 lines

cd /fs14a/rla/

df -k .

Filesystem 1K-blocks Used Available Use% Mounted on fs14:/a/rla 657148928 545010048 112138880 83% /fs14a/rla

Quoted 1 line

touch test

touch: cannot touch `test': Read-only file system

Quoted 1 line

tail /proc/mounts

automount(pid3481) /ntap10 autofs rw 0 0
automount(pid3599) /morph autofs rw 0 0
automount(pid3538) /systems autofs rw 0 0
/dev/hda7 /home/gregb ext3 rw 0 0
fs14:/a/jobs /nfs/ro3/fs14/a/jobs nfs ro,v3,rsize=32768,wsize=32768,hard,intr,udp,lock,addr=fs14 0 0 fs14:/a/rla /nfs/ro3/fs14/a/rla nfs ro,v3,rsize=32768,wsize=32768,hard,intr,udp,lock,addr=fs14 0 0 fs14:/b/rla /nfs/ro3/fs14/b/rla nfs ro,v3,rsize=32768,wsize=32768,hard,intr,udp,lock,addr=fs14 0 0 fs14:/root0 /nfs/ro3/fs14/root0 nfs ro,v3,rsize=32768,wsize=32768,hard,intr,udp,lock,addr=fs14 0 0 fs14:/root1 /nfs/ro3/fs14/root1 nfs ro,v3,rsize=32768,wsize=32768,hard,intr,udp,lock,addr=fs14 0 0 fs14:/a/rla /fs14a/rla nfs ro,nosuid,nodev,v3,rsize=32768,wsize=32768,hard,intr,udp,lock,addr=fs14 0 0

Has anyone seen this before? This is stock SuSE 9.2. Thanks for any help.

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

Quoted 1 line

rpm -qa | grep autofs

autofs4-4.0.0-105

Quoted 1 line

uname -ar

Linux lid2 2.6.5-7.112-suse #6 SMP Wed Mar 23 10:16:11 PST 2005 i686 athlon i386 GNU/Linux

Quoted 1 line

cat /etc/issue

Welcome to SuSE Linux 9.2 (i586)

Quoted 1 line

/usr/sbin/automount -V

Linux automount version 4.1.3

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
[email protected]

#1 lore raw

==> Regarding [autofs] mounting problem; Greg Bradner <[email protected]> adds:

gregb> This happens with autofs or using mount directly.

gregb> However I mount the disk the first time, the same characteristics are gregb> passed to future mounts.

I can't reproduce this. Can you please post a procedure to trigger this without automount? Exact commandlines would be helpful.

Also, if you can trigger this with mount, then I fail to see how this is an autofs bug.

Thanks,

Jeff

gregb> ## This is a read only mount point and you can see the options in the gregb> /proc/mounts file at the bottom

Quoted 3 lines
Quoted 3 lines

cd /nfs/ro3/fs14/a/rla/

df -k .

gregb> Filesystem 1K-blocks Used Available Use% Mounted on gregb> fs14:/a/rla 657148928 545010048 112138880 83% /nfs/ro3/fs14/a/rla

gregb> ## Then when I go to a mount point that shouldn't be read only, it take gregb> the options from the previous mount.

Quoted 3 lines
Quoted 3 lines

cd /fs14a/rla/

df -k .

gregb> Filesystem 1K-blocks Used Available Use% Mounted on gregb> fs14:/a/rla 657148928 545010048 112138880 83% /fs14a/rla

Quoted 1 line
Quoted 1 line

touch test

gregb> touch: cannot touch `test': Read-only file system

Quoted 1 line
Quoted 1 line

tail /proc/mounts

gregb> automount(pid3481) /ntap10 autofs rw 0 0
gregb> automount(pid3599) /morph autofs rw 0 0
gregb> automount(pid3538) /systems autofs rw 0 0
gregb> /dev/hda7 /home/gregb ext3 rw 0 0
gregb> fs14:/a/jobs /nfs/ro3/fs14/a/jobs nfs
gregb> ro,v3,rsize=32768,wsize=32768,hard,intr,udp,lock,addr=fs14 0 0 gregb> fs14:/a/rla /nfs/ro3/fs14/a/rla nfs
gregb> ro,v3,rsize=32768,wsize=32768,hard,intr,udp,lock,addr=fs14 0 0 gregb> fs14:/b/rla /nfs/ro3/fs14/b/rla nfs
gregb> ro,v3,rsize=32768,wsize=32768,hard,intr,udp,lock,addr=fs14 0 0 gregb> fs14:/root0 /nfs/ro3/fs14/root0 nfs
gregb> ro,v3,rsize=32768,wsize=32768,hard,intr,udp,lock,addr=fs14 0 0 gregb> fs14:/root1 /nfs/ro3/fs14/root1 nfs
gregb> ro,v3,rsize=32768,wsize=32768,hard,intr,udp,lock,addr=fs14 0 0 gregb> fs14:/a/rla /fs14a/rla nfs
gregb> ro,nosuid,nodev,v3,rsize=32768,wsize=32768,hard,intr,udp,lock,addr=fs14 0 0

gregb> Has anyone seen this before? This is stock SuSE 9.2. Thanks for any help.

gregb> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

Quoted 1 line
Quoted 1 line

rpm -qa | grep autofs

gregb> autofs4-4.0.0-105

Quoted 1 line
Quoted 1 line

uname -ar

gregb> Linux lid2 2.6.5-7.112-suse #6 SMP Wed Mar 23 10:16:11 PST 2005 i686 gregb> athlon i386 GNU/Linux

Quoted 1 line
Quoted 1 line

cat /etc/issue

gregb> Welcome to SuSE Linux 9.2 (i586)

Quoted 1 line
Quoted 1 line

/usr/sbin/automount -V

gregb> Linux automount version 4.1.3

gregb> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gregb> [email protected]

gregb> _______________________________________________ gregb> autofs mailing list
gregb> [email protected]
gregb> http://linux.kernel.org/mailman/listinfo/autofs