码迷,mamicode.com
首页 > 其他好文 > 详细

esxi存储中启用usb设备

时间:2020-01-14 16:16:49      阅读:393      评论:0      收藏:0      [点我收藏+]

标签:启用   parted   type   you   awk   com   rmi   fst   dev   

  

/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

 

esxi存储中启用usb设备

标签:启用   parted   type   you   awk   com   rmi   fst   dev   

原文地址:https://www.cnblogs.com/whiteyang/p/12192265.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!