- 论坛徽章:
- 0
|
[root@localhost ~]# fdisk -l
Disk /dev/cciss/c0d0: 146.7 GB, 146778685440 bytes
255 heads, 63 sectors/track, 17844 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Device Boot Start End Blocks Id System
/dev/cciss/c0d0p1 * 1 13 104391 83 Linux
/dev/cciss/c0d0p2 14 17844 143227507+ 8e Linux LVM
WARNING: GPT (GUID Partition Table) detected on '/dev/sda'! The util fdisk doesn 't support GPT. Use GNU Parted.
Disk /dev/sda: 9001.6 GB, 9001691512832 bytes
255 heads, 63 sectors/track, 1094393 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Device Boot Start End Blocks Id System
/dev/sda1 1 267350 2147483647+ ee EFI GPT
WARNING: GPT (GUID Partition Table) detected on '/dev/sdb'! The util fdisk doesn 't support GPT. Use GNU Parted.
Disk /dev/sdb: 9001.6 GB, 9001691512832 bytes
255 heads, 63 sectors/track, 1094393 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Device Boot Start End Blocks Id System
/dev/sdb1 1 267350 2147483647+ ee EFI GPT
WARNING: GPT (GUID Partition Table) detected on '/dev/dm-2'! The util fdisk does n't support GPT. Use GNU Parted.
Disk /dev/dm-2: 9001.6 GB, 9001691512832 bytes
255 heads, 63 sectors/track, 1094393 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Device Boot Start End Blocks Id System
/dev/dm-2p1 1 267350 2147483647+ ee EFI GPT
Disk /dev/dm-3: 1267.2 GB, 1267250216448 bytes
255 heads, 63 sectors/track, 154067 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk /dev/dm-3 doesn't contain a valid partition table
[root@localhost ~]# cd /dev/mapper/
[root@localhost mapper]# ls
control mpath0 mpath0p1 VolGroup00-LogVol00 VolGroup00-LogVol01
[root@localhost mapper]# cat /proc/partitions
major minor #blocks name
104 0 143338560 cciss/c0d0
104 1 104391 cciss/c0d0p1
104 2 143227507 cciss/c0d0p2
8 0 8790714368 sda
8 1 7679999983 sda1
8 16 8790714368 sdb
8 17 7679999983 sdb1
253 0 137756672 dm-0
253 1 5406720 dm-1
253 2 8790714368 dm-2
253 3 1237549039 dm-3
这样你可以看清楚分区的情况了。我使用了cat /proc/partitions sda1和sdb1是两个链路指向
dm-3是我没有做分区那个。我给9TB分了7.5TB这样。余下的大概就是1.2TB啦。我也很奇怪为什么他只分成功1.2TB的。但是1.2TB的我根本就没有分区啊。 |
|