登陸ESXI 格式化分區即可,造成這個問題的原因之一 這個盤被使用過分區格式被保留 沒有格式化干凈
partedUtil mklabel /vmfs/devices/disks/naa.630070005abb3e1323b79e7a066b2abc msdos
查看所有存儲
esxcli storage core device list|grep naa
獲取獨立磁盤信息(底下是正常的盤,異常的盤會提示error錯誤)
[root@localhost:~] partedUtil get /vmfs/devices/disks/naa.630070005abb3e1323b79e7a066b2abc
58234 255 63 935544832
問題磁盤
[root@localhost:~] partedUtil get /vmfs/devices/disks/naa.630070005abb3e1323b79e9007ba59dc
Error: Input/output error during read on /dev/disks/naa.630070005abb3e1323b79e9007ba59dc
Error: The primary GPT table states that the backup GPT is located beyond the end of disk. This may happen if the disk has shrunk or partition table is corrupted. Fix, by writing backup table at the end? This will also fix the last usable sector appropriately as per the new reduced size. diskPath (/dev/disks/naa.630070005abb3e1323b79e9007ba59dc) diskSize (935544832) AlternateLBA (1871089663) LastUsableLBA (1871089630)
Warning: The available space to /dev/disks/naa.630070005abb3e1323b79e9007ba59dc appears to have shrunk. This may happen if the disk size has reduced. The space has been reduced by (935544832 blocks). You can fix the GPT to correct the available space or continue with the current settings ? This will also move the backup table at the end if it is not at the end already. diskSize (935544832) AlternateLBA (1871089663) LastUsableLBA (1871089630) NewLastUsableLBA (935544798)
Error: Can't have a partition outside the disk!
Unable to read partition table for device /vmfs/devices/disks/naa.630070005abb3e1323b79e9007ba59dc