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


[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux