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:
LABEL=/u01 /u01
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
Questions:
(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?
TIA,
-Ramon F Herrera
.
- Follow-Ups:
- Re: Disk label and /etc/fstab entry?
- From: Bit Twister
- Re: Disk label and /etc/fstab entry?
- From: John-Paul Stewart
- Re: Disk label and /etc/fstab entry?
- From: Ramon F Herrera
- Re: Disk label and /etc/fstab entry?
- Prev by Date: Re: Shell variable expansion
- Next by Date: Re: Disk label and /etc/fstab entry?
- Previous by thread: Re: Booting msdos from cdrom
- Next by thread: Re: Disk label and /etc/fstab entry?
- Index(es):