sfdisk
(详见文档:http://fedora.linuxsir.org/main/?q=node/41):
看有多少硬盘组成,但是如果在底层做了raid,在这里反映不出来
sfdisk -l
(如2块硬盘做了raid1,显示出来只有一块硬盘)
Disk /dev/cciss/c0d0: 17848 cylinders, 255 heads, 63 sectors/track
Units = cylinders of 8225280 bytes, blocks of 1024 bytes, counting from 0
Device Boot Start End #cyls #blocks Id System
/dev/cciss/c0d0p1 * 0+ 12 13- 104391 83 Linux
/dev/cciss/c0d0p2 13 17847 17835 143259637+ 8e Linux LVM
/dev/cciss/c0d0p3 0 - 0 0 0 Empty
/dev/cciss/c0d0p4 0 - 0 0 0 Empty
Warning: start=63 - this looks like a partition rather than
the entire disk. Using fdisk on it is probably meaningless.
[Use the --force option if you really want this]