当前位置:网站首页>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 to share the same storage among multiple kubernetes clusters
- 2018年江苏省职业院校技能大赛高职组“信息安全管理与评估”赛项任务书
- LVS+Keepalived(DR模式)学习笔记
- 【mysqld】Can't create/write to file
- Problems and precautions about using data pumps (expdp, impdp) to export and import large capacity tables in Oracle migration
- 2018年江苏省职业院校技能大赛高职组“信息安全管理与评估”赛项任务书第一阶段答案
- 从零到一,教你搭建「CLIP 以文搜图」搜索服务(二):5 分钟实现原型
- 2022/07/04学习记录
- Matlab tips (29) polynomial fitting plotfit
- 品牌电商如何逆势增长?在这里预见未来!
猜你喜欢
Jetpack Compose 远不止是一个UI框架这么简单~
From zero to one, I will teach you to build the "clip search by text" search service (2): 5 minutes to realize the prototype
Maze games based on JS
How can brand e-commerce grow against the trend? See the future here!
Redhat5 installing vmware tools under virtual machine
Jmeter 5.5版本发布说明
Bus message bus
RuntimeError: CUDA error: CUBLAS_STATUS_ALLOC_FAILED when calling `cublasCreate(handle)`问题解决
反射(二)
使用TCP/IP四层模型进行网络传输的基本流程
随机推荐
Config分布式配置中心
Multidisciplinary integration
FPGA课程:JESD204B的应用场景(干货分享)
.net core 访问不常见的静态文件类型(MIME 类型)
化工园区危化品企业安全风险智能化管控平台建设四大目标
使用net core优势/为什么使用
Four goals for the construction of intelligent safety risk management and control platform for hazardous chemical enterprises in Chemical Industry Park
Data of all class a scenic spots in China in 2022 (13604)
MySQL (x)
impdp的transform参数的测试
Cloudcompare point pair selection
Algorithm --- bit count (kotlin)
Navicat importing 15g data reports an error [2013 - lost connection to MySQL server during query] [1153: got a packet bigger]
MOS tube parameters μ A method of Cox
常用函数detect_image/predict
多线程与高并发(9)——AQS其他同步组件(Semaphore、ReentrantReadWriteLock、Exchanger)
【mysqld】Can't create/write to file
Jetpack compose is much more than a UI framework~
Advantages of using net core / why
How can flinksql calculate the difference between a field before and after update when docking with CDC?