LABEL=/1 / ext3 defaults 1 1
LABEL=/u01 /u01 ext3 defaults 1 2
LABEL=/u02 /u02 ext3 defaults 1 2
LABEL=/iso /iso ext3 defaults 1 2
tmpfs /dev/shm tmpfs defaults 0 0
devpts /dev/pts devpts gid=5,mode=620 0 0
sysfs /sys sysfs defaults 0 0
proc /proc proc defaults 0 0
LABEL=SWAP-hda3 swap swap defaults 0 0
[root@ocm raw]# cat /etc/mtab
/dev/sda1 / ext3 rw 0 0
proc /proc proc rw 0 0
sysfs /sys sysfs rw 0 0
devpts /dev/pts devpts rw,gid=5,mode=620 0 0
/dev/sda5 /u01 ext3 rw 0 0
/dev/sda11 /u02 ext3 rw 0 0
/dev/sda2 /iso ext3 rw 0 0
tmpfs /dev/shm tmpfs rw 0 0
none /proc/sys/fs/binfmt_misc binfmt_misc rw 0 0
sunrpc /var/lib/nfs/rpc_pipefs rpc_pipefs rw 0 0
[root@ocm raw]# cat /etc/sysconfig/rawdevices
# raw device bindings
# format: <rawdev> <major> <minor>
# <rawdev> <blockdev>
# example: /dev/raw/raw1 /dev/sda1
# /dev/raw/raw2 8 5
/dev/raw/raw1 /dev/sda6
/dev/raw/raw2 /dev/sda7
/dev/raw/raw3 /dev/sda8
/dev/raw/raw4 /dev/sda9
/dev/raw/raw5 /dev/sda10
use e2label /dev/sda11 /u02 to mark the label for /dev/sda11 ,otherwise the server will halt for failing to check the label.
use partprobe to make the kernel know the current partition after fdisk
use mkfs.ext3 -L /u02 /dev/sda10 will label the device when formatting the device.
when error rasied "Partition table entries are not in disk order " during a fdisk operation , enter x into "extra functionality (experts only) mode " and press f " fix partition order"