Re: mount doesn't mount on boot-up

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

 



David: Thanks for taking the time to help - see comments below

On Tue October 31 2006 10:46 pm, David G. Miller wrote:
> Claude Jones <claude_jones@xxxxxxxxxxxxxx> wrote:
> > I'm saying that if I mount the drive manually, it works. If I reboot
> > the machine, the drive fails to mount. I see a few error messages
> > during boot-up and it says mount failed. When the machine comes back
> > up to the desktop, I can then mount manually again, without problem.
> > My fstab: LABEL=/ / ext3 defaults 1 1 LABEL=/boot1 /boot ext2 defaults
> > 1 2 devpts /dev/pts devpts gid=5,mode=620 0 0 tmpfs /dev/shm tmpfs
> > defaults 0 0 LABEL=/home /home ext3 defaults 1 2
> > LABEL=/home/cj/archive /home/cj/archive ext3 defaults 1 2 proc /proc
> > proc defaults 0 0 sysfs /sys sysfs defaults 0 0 LABEL=SWAP-sda2 swap
> > swap defaults 0 0 What is strange is the fact that the system tries to
> > use /sdb1 instead of /sdc1 on reboot, even though the drive was
> > manually mounted using /sdc1
> > -- Claude Jones Brunswick, MD, USA
>
> As a guess, the partition label is screwed up.  The OS uses this
> statement in fstab to attempt the mount at boot:
>
> LABEL=/home/cj/archive  /home/cj/archive  ext3    defaults     1 2
>

This is supposedly what should work, if I'm reading all the man pages 
correctly - that's the entry that had been created automatically by whatever 
process does that

>
> and, somehow, the label gets mapped to /dev/sdb1.  But this is what works:
>
> mount -t ext2 -w /dev/sdc1 /home/cj/archive
>

Here's where the mystery begins - that command *does* work, but, it's 
incorrect! The file system is ext3 not ext2 - I know they're related, but, I 
just experimented, and I can mount manually using that command with either 
ext2 OR ext3???

>
> Definitely not the same.  A quick fix is to just change fstab to use the
> device definition that works:
>
> /dev/sdc1	/home/cj/archive  ext3    defaults     1 2
>

I've tried this, but, it still doesn't work - 
>
> I'm guessing there is a user program such as diskdruid to change the
> partition label.  Unfortunately, I don't know what it is.  Perhaps
> someone else on the list can enlighten both of us.
>

tune2fs is supposed to be able to do this, but I couldn't grasp the 
explanation of how it works well enough to attempt it when I tried in 
somewhat of a hurry a couple of weeks ago

-- 
Claude Jones
Brunswick, MD, USA

-- 
fedora-list mailing list
fedora-list@xxxxxxxxxx
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
[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