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

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

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

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

# esxcfg-scsidevs -l
this lists the disk devices, the device file will be /dev/disks/<NAME>
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

相关文章:

  • 2021-09-25
  • 2021-07-18
  • 2021-07-02
  • 2021-10-08
  • 2021-06-02
  • 2022-01-28
  • 2022-01-08
  • 2021-06-26
猜你喜欢
  • 2021-08-22
  • 2021-10-03
  • 2021-10-04
  • 2021-10-16
  • 2021-07-01
相关资源
相似解决方案