VMWare EXSi 添加新磁盘时 报错 HostStorageSystem.ComputeDiskPartitionInfo问题

作者:袖梨 2022-11-14

问题状态

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

解决办法

因为原来的磁盘是ntfs格式,在原来的服务器上用过…

谷歌下问题,解决方法如下:

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


具体命令如下

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

代码如下 复制代码

# esxcfg-scsidevs -l
this lists the disk devices, the device file will be /dev/disks/
output looks like:
t10.ATA_____ST3320620AS_________________________________________6QF1PZXB
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:
vml.010000000020202020202020202020202036514631505a5842535433333230
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

相关文章

精彩推荐