Re: mount doesn't mount on boot-up

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

 



On Tue October 31 2006 10:36 am, David G. Miller wrote:
> Claude Jones <claude_jones@xxxxxxxxxxxxxx> wrote:
> > I've got a third 500GB SATA drive which I mount manually to
> > ~/archive using: mount -t ext2 -w /dev/sdc1 /home/cj/archive
> > on reboot, it always fails, and in system logs I find: Oct 30
> > 02:11:12 localhost kernel: audit(1162192269.878:6): avc:
> > denied { mounton } for pid=2347 comm="mount" name="archive"
> > dev=sdb1 ino=65175554
> > scontext=system_u:system_r:mount_t:s0
> > tcontext=user_u:object_r:user_home_t:s0 tclass=dir Oct 30
> > 02:11:12 localhost kernel: audit(1162192269.878:7): avc:
> > denied { mounton } for pid=2347 comm="mount" name="archive"
> > dev=sdb1 ino=65175554 scontext=system_u:system_r:mount_t:s0
> > tcontext=user_u:object_r:user_home_t:s0 tclass=dir It's
> > calling my drive dev=sdb1 --- Why would this be happenning?
> > Once the machine comes up, it mounts manually again with the
> > above command??? -- Claude Jones Brunswick, MD, USA
>
> What does you /etc/fstab file look like?  I'm not understanding
> what you mean by "mount manually" fails on reboot but you can
> mount it, "once the machine comes up."  Is your mount command
> in /etc/init.d/rc.local?

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

-- 
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