当前位置:网站首页>Esxi attaching mobile (Mechanical) hard disk detailed tutorial
Esxi attaching mobile (Mechanical) hard disk detailed tutorial
2022-07-07 07:04:00 【Go crazy first.】
One 、 Turn on EXSI SSH service
Get into ESXI operating system , Click host , Right click Service , Turn on both options on the right .
Two 、 Get into SSH
Do not connect the mobile hard disk at this time !
# stop it usbarbitrator service
$ /etc/init.d/usbarbitrator stop
$ chkconfig usbarbitrator off
Connect the hard disk ( disk ):
# distinguish usb Interface
$ esxcli storage core device list |grep -i usb
Enter the following command to get the hard disk information :
$ ls /dev/disks/
Define the mobile hard disk as gpt Zoning (GUID Partition ):
$ partedUtil mklabel /dev/disks/mpx.vmhba35:C0:T0:L0 gpt
Print partition table :
$ partedUtil getptbl /dev/disks/mpx.vmhba35:C0:T0:L0
Convert the binary value of the hard disk :
$ eval expr $(partedUtil getptbl /dev/disks/mpx.vmhba35:C0:T0:L0 | tail -1 | awk '{print $1 " \\* " $2 " \\* " $3}') - 1
Change to binary value of hard disk :
(AA31E02A400F11DB9590000C2911D1B8) yes VMFS Data storage partition GUID, hinder 0 Attribute , Don't change .
# take (mpx.vmhba35:c0:T0:L0) Change to binary value of hard disk 5860528064
$ partedUtil setptbl /dev/disks/mpx.vmhba35:C0:T0:L0 gpt "1 2048 5860528064 AA31E02A400F11DB9590000C2911D1B8 0"
Mount the mobile hard disk :
$ vmkfstools -C vmfs5 -S USB_Datastore /dev/disks/mpx.vmhba35:C0:T0:L0:1
Successfully mount !
Reference tutorial :
边栏推荐
- Four goals for the construction of intelligent safety risk management and control platform for hazardous chemical enterprises in Chemical Industry Park
- Under what circumstances should we consider sub database and sub table
- Complete process of MySQL SQL
- 分布式id解决方案
- Matlab tips (30) nonlinear fitting lsqcurefit
- Stack and queue-p79-9
- 一文带你了解静态路由的特点、目的及配置基本功能示例
- MOS管参数μCox得到的一种方法
- How DHCP router works
- 服装门店如何盈利?
猜你喜欢
Big coffee gathering | nextarch foundation cloud development meetup is coming
MySQL SQL的完整处理流程
大促过后,销量与流量兼具,是否真的高枕无忧?
Four goals for the construction of intelligent safety risk management and control platform for hazardous chemical enterprises in Chemical Industry Park
After the promotion, sales volume and flow are both. Is it really easy to relax?
Unity3d learning notes
Jmeter 5.5版本发布说明
品牌电商如何逆势增长?在这里预见未来!
品牌·咨询标准化
Basic introduction of JWT
随机推荐
场馆怎么做体育培训?
JDBC database connection pool usage problem
多学科融合
Graduation design game mall
Matlab tips (29) polynomial fitting plotfit
How to do sports training in venues?
JESD204B时钟网络
7天零基础能考证HCIA吗?华为认证系统学习路线分享
Use of completable future
【mysqld】Can't create/write to file
分布式id解决方案
Get the city according to IP
impdp的transform参数的测试
Config分布式配置中心
请教一下,监听pgsql ,怎样可以监听多个schema和table
Leetcode T1165: 日志分析
Under what circumstances should we consider sub database and sub table
Leetcode t1165: log analysis
[GNN] graphic gnn:a gender Introduction (including video)
什么情况下考虑分库分表