当前位置:网站首页>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 :
边栏推荐
猜你喜欢
How DHCP router works
带你刷(牛客网)C语言百题(第一天)
[noi simulation] regional division (conclusion, structure)
.net 5 FluentFTP连接FTP失败问题:This operation is only allowed using a successfully authenticated context
品牌电商如何逆势增长?在这里预见未来!
MATLAB小技巧(29)多项式拟合 plotfit
Lvs+kept (DR mode) learning notes
Complete process of MySQL SQL
Comment les entreprises gèrent - elles les données? Partager les leçons tirées des quatre aspects de la gouvernance des données
Cloudcompare point pair selection
随机推荐
Big coffee gathering | nextarch foundation cloud development meetup is coming
ANR 原理及实践
from . onnxruntime_ pybind11_ State Import * noqa ddddocr operation error
Mysql---- import and export & View & Index & execution plan
jdbc数据库连接池使用问题
MOS tube parameters μ A method of Cox
MYSQL binlog相关命令
Maze games based on JS
2018年江苏省职业院校技能大赛高职组“信息安全管理与评估”赛项任务书
The startup of MySQL installed in RPM mode of Linux system failed
What books can greatly improve programming ideas and abilities?
Exception of DB2 getting table information: caused by: com ibm. db2.jcc. am. SqlException: [jcc][t4][1065][12306][4.25.13]
SolidWorks的GB库(钢型材库,包括铝型材、铝管等结构)安装及使用教程(生成铝型材为例)
.net 5 FluentFTP连接FTP失败问题:This operation is only allowed using a successfully authenticated context
Bus message bus
MySQL (x)
Advantages of using net core / why
Bus消息总线
Config distributed configuration center
Use of completable future