2015年3月13日 星期五

error 'Call "HostStorageSystem.ComputeDiskPartitionInfo" for object "storageSystem" on ESXi

 error 'Call "HostStorageSystem.ComputeDiskPartitionInfo" for object "storageSystem" on ESXi

The disk I was using had existing partitions (a Linux swap partition and a Linux MD5 RAID partition). 
Please manually delete the partitions logged in as root to ESXi shell.

Useful commands:
# 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

If partedUtil doesn't work , pleate try "fdisk /dev/disks/t10.ATA......."  to delete partition.

沒有留言:

張貼留言

(TOP)Temp for soulin only

123