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不起作用,分区完要重启。