Filesystem Size Used Avail Use% Mounted on
/dev/sda2 20G 3.3G 16G 18% /
tmpfs 32G 228K 32G 1% /dev/shm
/dev/sda1 190M 32M 148M 18% /boot
[root@v1 ~]# fdisk -l
WARNING: GPT (GUID Partition Table) detected on '/dev/sda'! The util fdisk doesn't support GPT. Use GNU Parted.
Disk /dev/sda: 2997.9 GB, 2997920727040 bytes
255 heads, 63 sectors/track, 364476 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes
Disk identifier: 0x00000000
Device Boot Start End Blocks Id System
/dev/sda1 1 267350 2147483647+ ee GPT
Partition 1 does not start on physical sector boundary.
[root@v1 ~]# fdisk /dev/sda
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 3.0 TB (2997920727040 bytes).
DOS partition table format can not be used on drives for volumes
larger than (2199023255040 bytes) for 512-byte sectors. Use parted(1) and GUID
partition table format (GPT).
The device presents a logical sector size that is smaller than
the physical sector size. Aligning to a physical sector (or optimal
I/O) size boundary is recommended, or performance may be impacted.
WARNING: DOS-compatible mode is deprecated. It's strongly recommended to
switch off the mode (command 'c') and change display units to
sectors (command 'u').
Command (m for help): p
Disk /dev/sda: 2997.9 GB, 2997920727040 bytes
255 heads, 63 sectors/track, 364476 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes
Disk identifier: 0x00000000
Device Boot Start End Blocks Id System
/dev/sda1 1 267350 2147483647+ ee GPT
Partition 1 does not start on physical sector boundary.
Command (m for help):
背景:1.dell c6220II服務器,使用的lsi原廠陣列控制器
2.這款陣列器可以做超過2個硬盤的raid1,
3.用這款陣列器做好6個硬盤的raid5,在安裝centOS6.6時,在分區這步竟然沒有“強制爲主分區”這個選項,而在raid1設置時,這裏會正常出現這個選項
4.應該是基於第三點,才導致raid5安裝出來的系統,fdisk /dev/sda 只出現一個分區信息
原因:應該是硬盤cylinder和sector顯示的問題
解決:用gdisk來分區,用法和fdisk差不多,gdisk print顯示的sector就是正常的,用yum gdisk安裝gdisk工具,說到這裏提醒一下,centOS6.6 64bit的partprobe不起作用,分區完要重啓。