|
发表于 2005-11-1 02:42:39
|
显示全部楼层
Post by zaiwen
I am testing troubleshooting of missing /etc/fstab. I understand the basic steps and it works fine....but there is a minor question about e2label.
1. First "fdisk -l "查看分区情况. Make a note of each partition device that is formatted to a Linux filesystem.
2. 然后e2label to check 各个分区的卷标。Check the labels associated with each Linux-formatted partition. For example, if one of the partitions is /dev/hda1, run the e2label /dev/hda1 command. Make a note of the label that you see, such as /boot or /.
My question here is: should i worry about those partitions that are formatted as RAID or LVM? For RAID or LVM partitions, "e2label /dev/hda4" won't show the label.
Of course system can be booted up with a minimum /etc/fstab (boot, /, /var, etc). But how could I find out exactly what is the file system mounted to those RAID or LVM partitions, even after system booted up?
Thanks a lot for any reply....
if you system can boot up, then vgscan -dv should get all the vg info and cat /proc/mdstat or cat /etc/mdadm.conf should show you all md status if they are not broken... |
|