esxi存储中启用usb设备


  

/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

 


免责声明!

本站转载的文章为个人学习借鉴使用,本站对版权不负任何法律责任。如果侵犯了您的隐私权益,请联系本站邮箱yoyou2525@163.com删除。



 
粤ICP备18138465号  © 2018-2025 CODEPRJ.COM