Re: F12 Boot error message re mount of loop device

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Wed, 9 Dec 2009 22:00:37 +0000, Marko wrote:

> On Wednesday 09 December 2009 18:59:19 Bill Davidsen wrote:
> > David wrote:
> > > During boot I want to mount an iso9660 file as a loop device. The iso
> > > file is on a ext3 partition labelled HUGE_01 which is mounted at
> > > /mnt/huge.
> > >
> > > FILE = /mnt/huge/get/iso/Fedora-12-i386-DVD/Fedora-12-i386-DVD.iso
> > > MOUNTPOINT = /mnt/Fedora-12-i386-DVD.
> > >
> > > The mount succeeds. However during boot I get this unnecessary failure
> > > message:
> > >
> > > Mounting local filesystems: [ OK ]
> > > [snip]
> > > Mounting other filesystems:  mount: according to mtab
> > > /mnt/huge/get/iso/Fedora-12-i386-DVD/Fedora-12-i386-DVD.iso is already
> > > mounted on /mnt/Fedora-12-i386-DVD as loop  [ FAILED ]
> 
> The proper question is why do you mount it twice?

Not really.

> If it should be 
> automatically mounted at boot, the fstab entry should be enough. However, it 
> seems that you or the system is trying to mount it again later during boot. 
> You need to locate where in the boot process is this happening. What messages 
> are between the two tries? IOW, what is in the [snip] part?

Enough output is available in the quotes.
"Mounting local filesystems" is in rc.sysinit.
"Mounting other filesystems" is in netfs service script.
The former does:

	action $"Mounting local filesystems: " mount -a -t nonfs,nfs4,smbfs,ncpfs,cifs,gfs,gfs2 -O no_netdev

The latter does:

	action $"Mounting other filesystems: " mount -a -t nonfs,nfs4,cifs,ncpfs,gfs

So, both mount iso9660 file-systems, and unlike other types of mounts,
iso9660 prints that ugly warning. You can run those mount -a ... lines
manually for testing. The work-around I've used is to mount them with
option _netdev added in fstab. That mounts iso9660 within the netfs service
script, which is not exactly right here, but good enough and an alternative
to doing it manually in rc.local

-- 
fedora-list mailing list
fedora-list@xxxxxxxxxx
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
Guidelines: http://fedoraproject.org/wiki/Communicate/MailingListGuidelines
[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [Fedora Magazine]     [Fedora News]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Maintainers]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Legacy]     [Fedora Desktop]     [Fedora Fonts]     [ATA RAID]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [SSH]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Centos]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Tux]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Asterisk PBX]     [Fedora Sparc]     [Fedora Universal Network Connector]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux