mount doesn't mount on boot-up [OT]
Claude Jones
claude_jones at levitjames.com
Thu Nov 2 02:07:45 UTC 2006
On Wed November 1 2006 8:39 pm, Rick Stevens wrote:
> On Thu, 2006-11-02 at 08:46 +1030, Tim wrote:
> > And then there's managing a drive when the system's had a bit of a
> > stuff-up. You have to peruse around to work out which partition is
> > which, but you can very simply use a label to mount /home, for instance,
> > without having to care which partition it was on.
>
> If you want a stuff-up, try booting a system with two drives that have
> a /usr partition label. Your guess as to which /usr gets mounted. It's
> caused lots of grief at this end. I know what's happening and how to
> fix it, I'm just getting tired of doing it all the time.
Well, I've got a stuff-up - but where's the stomach?
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
proc /proc proc defaults 0 0
sysfs /sys sysfs defaults 0 0
LABEL=SWAP-sda2 swap swap defaults 0 0
/dev/sdc1 /home/cj/archive ext3 defaults 1 2
message I got when booting up just now:
Nov 1 20:25:48 localhost kernel: audit(1162430744.537:6): avc: denied { mounton } for pid=2341 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
Nov 1 20:25:48 localhost kernel: audit(1162430744.537:7): avc: denied { mounton } for pid=2341 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
That last entry is my latest try for this drive in fstab - it's clear. The label for that drive had been /home/cj/archive - I changed it to "bigstore" -
I tried using the LABEL=/bigstore method, as well. The problem is that on boot-up, my system is trying to mount sdb1 instead of sdc1 - sdb1
has already been mounted in a previous step as /: any other ideas, anyone?
--
Claude Jones
Brunswick, MD, USA
More information about the users
mailing list