automount attempting to mount an additional disk

From: Steven King (stevenking66_at_yahoo.co.uk)
Date: 08/08/03


Date: 8 Aug 2003 14:13:01 -0700

Hello

I am having a problem with automount, when I click on my DVD icon on
my KDE 3.2.1 desktop (mount point /media/dvd linked to /dev/hdc). The
mount of the disk works OK, but I get this message too:

"mount: according to mtab, /dev/hdc is already mounted on /media/dvd"

The /var/log/messages says:

Aug 8 21:19:26 linux automount[711]: attempting to mount entry
/media/dvd
Aug 8 21:19:26 linux kernel: ISO 9660 Extensions: Microsoft Joliet
Level 3
Aug 8 21:19:26 linux kernel: ISO 9660 Extensions: RRIP_1991A
Aug 8 21:19:30 linux automount[711]: attempting to mount entry
/media/cdrom
Aug 8 21:19:30 linux automount[1938]: lookup(file): lookup for cdrom
failed
Aug 8 21:19:30 linux automount[711]: attempting to mount entry
/media/floppy
Aug 8 21:19:30 linux automount[1939]: lookup(file): lookup for floppy
failed

I think it is clear that the reference to cdrom is the problem. The
cdrom and dvd device are one and the same, as the message implies. But
it is not as simple as that: that reference to floppy is odd too.

auto.master says:

# $Id: auto.master,v 1.1 2001/04/17 11:43:02 arvin Exp arvin $
# Sample auto.master file
# Format of this file:
# mountpoint map options
# Also see variable AUTOFS_OPTIONS in /etc/rc.config
# For details of the format look at autofs(8).
/media /etc/auto.media ---timeout 10

auto.media says:

# $Id: auto.misc,v 1.1 2001/04/17 11:43:02 arvin Exp arvin $
# This is an automounter map and it has the following format
# key [ -mount-options-separated-by-comma ] location
# Details may be found in the autofs(5) manpage
dvd -fstype=iso9660,ro :/dev/hdc
#floppy -fstype=auto,sync :/dev/fd0

In /etc/fstab I have no active references to dvd, cdrom, nor floppy
(they are commented out with a hash-sign).

So something is making automount try to mount cdrom and floppy when I
open the dvd.

This problem only happens when I am opening the dvd with my user
account. If I do the same as root, automount seems to try to open just
that disk. I do, however, get a different error message:

"mount: fs type Default not supported by kernel"

And the messages file says:

Aug 8 21:15:30 linux automount[711]: attempting to mount entry
/media/dvd
Aug 8 21:15:30 linux kernel: ISO 9660 Extensions: Microsoft Joliet
Level 3
Aug 8 21:15:32 linux kernel: ISO 9660 Extensions: RRIP_1991A
Aug 8 21:15:32 linux modprobe: modprobe: Can't locate module Default
Aug 8 21:15:34 linux automount[711]: attempting to mount entry
/media/.directory
Aug 8 21:15:34 linux automount[1888]: lookup(file): lookup for
.directory
failed

So it looks as if the problem is something to do with how my home
environment is set up? But I cannot find any files with "cdrom" in
them in my home directory.

I have Suse 7.3 with kernel 2.4.10-4GB.

Any ideas/solutions?

Thanks

Steve



Relevant Pages

  • Re: [opensuse] Automount DVD fails
    ... process of automount works pretty good. ... If i insert a data DVD the automount not work. ... The mount from konsole works fine, but the automount only work for cdrom ...
    (SuSE)
  • Re: mounting the pendrive in the linux pc
    ... showing an external device is being connected.But in case of linux it ... is not like that.we have to mount the pen drive. ... search for automounting USB stick for your distribution. ... It uses ARM-Linux and has automount. ...
    (comp.os.linux.embedded)
  • Re: [opensuse] Automount DVD fails
    ... process of automount works pretty good. ... If i insert a data DVD the automount not work. ... The mount from konsole works fine, but the automount only work for cdrom ...
    (SuSE)
  • Automount problem 4.0F and Linux 2.6
    ... I'm having a strange problem with automount and Linux NFS servers, ... manually issue a mount command and things are ok, ... As far as I can tell, automount mounts to linux servers that do work ... I'm assuming the problem is the way Linux NFS has changed, ...
    (Tru64-UNIX-Managers)
  • Re: [opensuse] Automount DVD fails, need help
    ... process of automount works pretty good. ... If i insert a data DVD the automount not work. ... In my opinion the problem is not a mount point, ...
    (SuSE)