当前位置:网站首页>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 offConnect 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 gptPrint 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 :
边栏推荐
- 2022/07/04学习记录
- Unity3d learning notes
- Sqlserver multithreaded query problem
- Advantages of using net core / why
- 学术报告系列(六) - Autonomous Driving on the journey to full autonomy
- MySQL SQL的完整处理流程
- LVS+Keepalived(DR模式)学习笔记
- Installing redis and windows extension method under win system
- 企业如何进行数据治理?分享数据治理4个方面的经验总结
- Libcurl returns curlcode description
猜你喜欢

Data of all class a scenic spots in China in 2022 (13604)

.net 5 FluentFTP连接FTP失败问题:This operation is only allowed using a successfully authenticated context

Lvs+kept (DR mode) learning notes

How to share the same storage among multiple kubernetes clusters

ANR 原理及实践

Master-slave replication principle of MySQL

jdbc数据库连接池使用问题

服装门店如何盈利?

Jetpack Compose 远不止是一个UI框架这么简单~

String (explanation)
随机推荐
Test of transform parameters of impdp
MySQL SQL的完整处理流程
Advantages of using net core / why
mysql查看bin log 并恢复数据
Learning records on July 4, 2022
LC 面试题 02.07. 链表相交 & LC142. 环形链表II
【mysqld】Can't create/write to file
MySQL的主从复制原理
健身房如何提高竞争力?
Several index utilization of joint index ABC
ViewModelProvider.of 过时方法解决
毕业设计游戏商城
What books can greatly improve programming ideas and abilities?
Installing redis and windows extension method under win system
Algorithm --- bit count (kotlin)
Complete process of MySQL SQL
反射(二)
剑指offer-高质量的代码
Four goals for the construction of intelligent safety risk management and control platform for hazardous chemical enterprises in Chemical Industry Park
7天零基础能考证HCIA吗?华为认证系统学习路线分享