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