/etc/init.d/usbarbitrator stop
chkconfig usbarbitrator off
esxcli storage core device list |grep -i usb
ls /dev/disks/
partedUtil delete /dev/disks naa.5000000000000001 gpt
partedUtil mklabel /dev/disks/naa.5000000000000001 gpt
partedUtil getptbl /dev/disks/naa.5000000000000001
eval expr $(partedUtil getptbl /dev/disks/naa.5000000000000001 | tail -1 | awk ‘{print $1 " \\* " $2 " \\* " $3}‘) - 1
1953525168
1953520064
partedUtil setptbl /dev/disks/naa.5000000000000001 gpt "1 2048 1953520064 AA31E02A400F11DB9590000C2911D1B8 0"
vmkfstools -C vmfs5 -S USB_Datastore /dev/disks/naa.5000000000000001:1
Permission denied. (Have you set the partition type to 0xfb?)
参考:
https://www.vediotalk.com/archives/1120
https://communities.vmware.com/thread/454130
原文地址:https://www.cnblogs.com/whiteyang/p/12192265.html