Disk label and /etc/fstab entry?
- From: "Ramon F Herrera" <ramon@xxxxxxxxxxx>
- Date: 1 Mar 2007 15:12:46 -0800
Re: RedHat Linux RHEL4
Back in the old days, the fstab entries looked like this:
/dev/sda10 /u01 [...]
Now the RedHat installation creates entries which are more flexible:
but the problem is that I cannot (don't know how to) replicate that
LABEL inside the disk.
I just ran mke2fs on a new disk. It can only be mounted manually:
# mount /dev/sda10 /u01
however, if I add the entry above (the one without LABEL) in /etc/
fstab and type:
# mount /u01
I get the error message:
mount: wrong fs type, bad option, bad superblock on /dev/sda10,
or too many mounted file systems
(1) Why is it giving me that error message?
(2) How do I create a LABEL=/u01 on the disk, in the same fashion that
RedHat install does it?
-Ramon F Herrera