当前位置:网站首页>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 :
边栏推荐
- Jetpack Compose 远不止是一个UI框架这么简单~
- 请教一个问题,flink oracle cdc,读取一个没有更新操作的表,隔十几秒就重复读取全量数据
- ip地址那点事
- 如何给目标机器人建模并仿真【数学/控制意义】
- 常用函数detect_image/predict
- Installing redis and windows extension method under win system
- linux系统rpm方式安装的mysql启动失败
- . Net core accesses uncommon static file types (MIME types)
- Big coffee gathering | nextarch foundation cloud development meetup is coming
- SolidWorks的GB库(钢型材库,包括铝型材、铝管等结构)安装及使用教程(生成铝型材为例)
猜你喜欢
途家、木鸟、美团……民宿暑期战事将起
健身房如何提高竞争力?
Unable to debug screen program with serial port
Four goals for the construction of intelligent safety risk management and control platform for hazardous chemical enterprises in Chemical Industry Park
Sword finger offer high quality code
ANR 原理及实践
毕业设计游戏商城
Can 7-day zero foundation prove HCIA? Huawei certification system learning path sharing
RuntimeError: CUDA error: CUBLAS_STATUS_ALLOC_FAILED when calling `cublasCreate(handle)`问题解决
Lvs+kept (DR mode) learning notes
随机推荐
MOS管参数μCox得到的一种方法
【JDBC以及内部类的讲解】
[GNN] graphic gnn:a gender Introduction (including video)
The startup of MySQL installed in RPM mode of Linux system failed
MySQL binlog related commands
ANR 原理及实践
JDBC database connection pool usage problem
Basic process of network transmission using tcp/ip four layer model
Stack and queue-p79-9
Answer to the second stage of the assignment of "information security management and evaluation" of the higher vocational group of the 2018 Jiangsu Vocational College skills competition
Bus message bus
After the promotion, sales volume and flow are both. Is it really easy to relax?
请教一下,监听pgsql ,怎样可以监听多个schema和table
栈题目:有效括号的嵌套深度
Four goals for the construction of intelligent safety risk management and control platform for hazardous chemical enterprises in Chemical Industry Park
大促过后,销量与流量兼具,是否真的高枕无忧?
DHCP路由器工作原理
什么情况下考虑分库分表
Several index utilization of joint index ABC
Multidisciplinary integration