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

Re: Mount all filesystems in fstab, weird problem



on 04:32 Fri 28 Jan, T o n g (mlist4suntong@yahoo.com) wrote:
> Hi,
> 
> Somehow my fstab entries are not all mounted by default:
> 
> $ grep -A2 devpts /etc/fstab
> devpts         /dev/pts         devpts mode=0622                0       0
> LABEL=cache21 /lfs/cache21 ext3 noauto,user,dev,suid,exec 0 0 # /dev/sdb2
> LABEL=cache31 /lfs/cache31 ext3 noauto,user,dev,suid,exec 0 0 # /dev/sdc1
                                  ^^^^^^
 
> $ mount | grep cache || echo no found 
> no found
> 
> I.e., the /lfs/cache21 & /lfs/cache31 are listed in fstab, but are not 
> mounted by default. why?
> 
> Moreover, mount --all doesn't work either: 
> 
> % mount -v -a
> mount: proc already mounted on /proc
> mount: sysfs already mounted on /sys
> mount: devpts already mounted on /dev/pts
> nothing was mounted
> 
>        -a, --all
>           Mount all filesystems (of the given types) mentioned in fstab.
> 
> FYI, those filesystems can be mouted just fine:
> 
> % mount -v /lfs/cache21
> /dev/sdb2 on /lfs/cache21 type ext3 (rw)
> 
> % mount -v /lfs/cache31
> /dev/sdc1 on /lfs/cache31 type ext3 (rw)
> 
> So, what could be wrong? 
> 
> Thanks

-- 
Dr. Ed Morbius
Chief Scientist
Krell Power Systems Unlimited


Reply to: