EXSI 添加新硬盘报错处理
报错1:
Vcenter报错:
开启 ssh登录宿主机后:
/dev/disks # fdisk-l
***
*** The fdisk command is deprecated: fdisk does not handle GPT partitions.Please use partedUtil
***
Disk /dev/disks/naa.60026b90489ea400128bf67510276afb: 1348.4 GB, 1348485513216 bytes
255 heads, 63 sectors/track, 163944 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Device BootStartEndBlocksId System
/dev/disks/naa.60026b90489ea400128bf67510276afbp111080293+ de Unknown
/dev/disks/naa.60026b90489ea400128bf67510276afbp2*113620480083 Linux
Partition 2 does not end on cylinder boundary
/dev/disks/naa.60026b90489ea400128bf67510276afbp33610202281920000083 Linux
/dev/disks/naa.60026b90489ea400128bf67510276afbp41020221639454973946885 Extended
/dev/disks/naa.60026b90489ea400128bf67510276afbp51020221040621638400082 Linux swap
/dev/disks/naa.60026b90489ea400128bf67510276afbp610406216394548100864083 Linux
Found valid GPT with protective MBR; using GPT
Disk /dev/disks/mpx.vmhba32:C0:T0:L0: 15597568 sectors, 14.8M
Logical sector size: 512
Disk identifier (GUID): 9256ab3a-46e8-4244-ab25-8889ff503c28
Partition table holds up to 128 entries
First usable sector is 34, last usable sector is 15597534
NumberStart (sector)End (sector)SizeCodeName
164819181280700
58224520191499K0700
65202241032191499K0700
710322241257471219K0700
812575041843199571K0700
~ #
上面数据为网上复制的内容仅供参考而已!!!!
原因:此硬盘有可能以前使用过,分区格式不同造成的
解决办法:
Fdisk /vmfs/devices/disks/mpx.vmhba2:C0:T2:L0然后删除分区即可!
报错2:
Vcenter报错:
开启 ssh登录宿主机后:
/dev/disks # fdisk-l
Found valid GPT with protective MBR; using GPT
fdisk: Sorry, can't handle GPT partitions, use partedUtil
原因:此硬盘有可能以前使用过,分区格式不同造成的
解决办法:
在上图中查看报错盘的位置:
使用如下命令:
partedUtil mklabel /vmfs/devices/disks/mpx.vmhba2:C0:T2:L0 msdos
然后再使用vcenter添加一次即可