HP MSA2312sa 12块1TB硬盘,11块做RAID5,1块做SPARE。设置后容量为10TB。使用parted将RAID转化GPT格式,挂载后却只显示9TB
挂载后容量显示减少的问题
-----------------------------------------
[root@localhost ~]# parted -l
Model: HP MSA2312sa (scsi)
Disk /dev/sda: 9992GB
Sector size (logical/physical): 512B/512B
Partition Table: gpt
Number Start End Size File system Name Flags
1 17.4kB 9992GB 9992GB ext2 dp1
Model: HP MSA2312sa (scsi)
Disk /dev/sdb: 9992GB
Sector size (logical/physical): 512B/512B
Partition Table: gpt
Number Start End Size File system Name Flags
1 17.4kB 9992GB 9992GB ext2 dp1
Error: Unable to open /dev/md0 - unrecognised disk label.
Model: Compaq Smart Array (cpqarray)
Disk /dev/cciss/c0d0: 294GB
Sector size (logical/physical): 512B/512B
Partition Table: msdos
Number Start End Size Type File system Flags
1 32.3kB 107MB 107MB primary ext3 boot
2 107MB 294GB 293GB primary lvm
[root@localhost ~]# fdisk -l
WARNING: GPT (GUID Partition Table) detected on '/dev/sda'! The util fdisk doesn't support GPT. Use GNU Parted.
WARNING: The size of this disk is 10.0 TB (9991878737920 bytes).
DOS partition table format can not be used on drives for volumes
larger than 2.2 TB (2199023255040 bytes). Use parted(1) and GUID
partition table format (GPT).
Disk /dev/sda: 9991.8 GB, 9991878737920 bytes
255 heads, 63 sectors/track, 1214776 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.
WARNING: The size of this disk is 10.0 TB (9991878737920 bytes).
DOS partition table format can not be used on drives for volumes
larger than 2.2 TB (2199023255040 bytes). Use parted(1) and GUID
partition table format (GPT).
Disk /dev/sdb: 9991.8 GB, 9991878737920 bytes
255 heads, 63 sectors/track, 1214776 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Device Boot Start End Blocks Id System
/dev/sdb1 1 267350 2147483647+ ee EFI GPT
Disk /dev/cciss/c0d0: 293.5 GB, 293563949056 bytes
255 heads, 63 sectors/track, 35690 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 35690 286575502+ 8e Linux LVM
[root@localhost ~]# df -h
Filesystem Size Used Avail Use% Mounted on
/dev/mapper/VolGroup01-LogVol00
261G 2.6G 245G 2% /
/dev/cciss/c0d0p1 99M 12M 82M 13% /boot
tmpfs 8.0G 0 8.0G 0% /dev/shm
/dev/sdb1 9.0T 52K 8.5T 1% /home/mysyslog
挂载后为什么只显示9T了?
jjkb50 于 2011-05-28 10:13:15发表:
计算方法不一样。一个是1000.一个是1024.
lingqing114 于 2011-05-27 12:32:29发表:
自己查了资料,我来自己回复自己
[root@syslog ~]# df
Filesystem 1K-blocks Used Available Use% Mounted on
/dev/sdb1 9604579432 239804 9116454928 1% /home/mysyslog
现在市场上卖的1TB硬盘,实际大小也就939GB左右,计算一下的话,除去inode开销,9604579432 这个值正常