查看硬盘信息

esxcfg-scsidevs -l

查看指定硬盘信息:

partedUtil get /dev/disks/naa.5000c5002e1e6d2e

~ # partedUtil get /dev/disks/naa.5000c5002e1e2c45
121601 255 63 1953525168
1 2048 100663295 130 0
2 100663296 101691391 131 128
3 101691392 1953523711 131 0

删除分区(从后往前删)

partedUtil delete /dev/disks/naa.5000c5002e1e2c45 3

例:

~ # partedUtil delete /dev/disks/naa.5000c5002e1e2c45 3
~ # partedUtil delete /dev/disks/naa.5000c5002e1e2c45 2
~ # partedUtil delete /dev/disks/naa.5000c5002e1e2c45 1

再次查看硬盘信息:

~ # partedUtil get /dev/disks/naa.5000c5002e1e2c45
121601 255 63 1953525168