VMWare EXSi 添加新磁盘时 报错 HostStorageSystem.ComputeDiskPartitionInfo 的处理

给 VMWare EXSi 添加新磁盘时报错 : Call "HostStorageSystem.ComputeDiskPartitionInfo" for object "storageSystem" on ESXi "xxx.xxx.xxx.xxx" failed.



用ssh登入 esxi ,命令行中删除磁盘的分区

# esxcfg-scsidevs -l
this lists the disk devices, the device file will be /dev/disks/<NAME>
output looks like:
    Device Type: Direct-Access
       Size: 305245 MB
       Display Name: Local ATA Disk (t10.ATA_ST3320620AS_6QF1PZXB)
       Multipath Plugin: NMP
       Console Device: /vmfs/devices/disks/t10.ATA_____ST3320620AS_________________________________________6QF1PZXB
   Devfs Path: /vmfs/devices/disks/t10.ATA_____ST3320620AS_________________________________________6QF1PZXB
       Vendor: ATA       Model: ST3320620AS       Revis: 3.AA
       SCSI Level: 5  Is Pseudo: false Status: on
       Is RDM Capable: false Is Removable: false
       Is Local: true  Is SSD: false
       Other Names:
 VAAI Status: unknown

# partedUtil get /dev/disks/t10.ATA_... this shows the partitions on the device output looks like: 38913 255 63 625142448 1 63 514079 130 128 2 514080 625137344 253 0 this disk has 2 partitions, numbers 1 and 2

 # partedUtil delete /dev/disks/t10.ATA_... 2
 deletes partition 2
# partedUtil delete /dev/disks/t10.ATA_... 1 deletes partition 1
posted @ 2013-10-11 16:36 kk.1230 阅读(...) 评论(...) 编辑 收藏