歡迎您光臨本站 註冊首頁

掛載磁碟陣列櫃后,顯示的大小比實際小1TB

←手機掃碼閱讀     火星人 @ 2014-03-22 , reply:0

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了?

[火星人 ] 掛載磁碟陣列櫃后,顯示的大小比實際小1TB已經有720次圍觀

http://coctec.com/docs/linux/show-post-101723.html