当前位置:网站首页>ESXI挂载移动(机械)硬盘详细教程
ESXI挂载移动(机械)硬盘详细教程
2022-07-07 02:18:00 【不撸先疯。】
一、开启EXSI SSH服务
进入ESXI操作系统,点击主机,右键服务,将右边两个选项全部打开。
二、进入SSH
此时不要接上移动硬盘!
# 停止usbarbitrator服务
$ /etc/init.d/usbarbitrator stop
$ chkconfig usbarbitrator off
接上硬盘(磁盘):
# 识别usb接口
$ esxcli storage core device list |grep -i usb
输入下述命令得到硬盘信息:
$ ls /dev/disks/
定义移动硬盘为gpt分区方式(GUID分区):
$ partedUtil mklabel /dev/disks/mpx.vmhba35:C0:T0:L0 gpt
打印分区表:
$ partedUtil getptbl /dev/disks/mpx.vmhba35:C0:T0:L0
换算硬盘的二进制数值:
$ eval expr $(partedUtil getptbl /dev/disks/mpx.vmhba35:C0:T0:L0 | tail -1 | awk '{print $1 " \\* " $2 " \\* " $3}') - 1
修改为硬盘二进制数值:
(AA31E02A400F11DB9590000C2911D1B8)是VMFS数据存储分区的GUID,后面的0是属性,不要更改。
# 将(mpx.vmhba35:c0:T0:L0)修改为硬盘二进制数值5860528064
$ partedUtil setptbl /dev/disks/mpx.vmhba35:C0:T0:L0 gpt "1 2048 5860528064 AA31E02A400F11DB9590000C2911D1B8 0"
挂载移动硬盘:
$ vmkfstools -C vmfs5 -S USB_Datastore /dev/disks/mpx.vmhba35:C0:T0:L0:1
成功挂载!
参考教程:
边栏推荐
- matlab / ENVI 主成分分析实现及结果分析
- How to install swoole under window
- tkinter窗口选择pcd文件并显示点云(open3d)
- C language sorting (to be updated)
- 港科大&MSRA新研究:关于图像到图像转换,Fine-tuning is all you need
- 360 Zhiyu released 7.0 new products to create an exclusive "unified digital workspace" for the party, government and army, and central and state-owned enterprises
- Ha Qu projection dark horse posture, only half a year to break through the 1000 yuan projector market!
- Test the foundation of development, and teach you to prepare for a fully functional web platform environment
- 【OpenCV】形态学滤波(2):开运算、形态学梯度、顶帽、黑帽
- Matlab / envi principal component analysis implementation and result analysis
猜你喜欢
[start from scratch] detailed process of deploying yolov5 in win10 system (CPU, no GPU)
Experience sharing of contribution of "management world"
CloudCompare-点对选取
2022Android面试必备知识点,一文全面总结
Go straight to the 2022ecdc fluorite cloud Developer Conference: work with thousands of industries to accelerate intelligent upgrading
JWT certification
直击2022ECDC萤石云开发者大会:携手千百行业加速智能升级
Redis (II) - redis General Command
LM11丨重构K线构建择时交易策略
程序员的日常 | 每日趣闻
随机推荐
C language interview to write a function to find the first occurrence of substring m in string n.
基于FPGA的VGA协议实现
学术报告系列(六) - Autonomous Driving on the journey to full autonomy
Apache ab 压力测试
FPGA课程:JESD204B的应用场景(干货分享)
Unable to debug screen program with serial port
安装VMmare时候提示hyper-v / device defender 侧通道安全性
C language (structure) defines a user structure with the following fields:
学习笔记|数据小白使用DataEase制作数据大屏
LM小型可编程控制器软件(基于CoDeSys)笔记二十三:伺服电机运行(步进电机)相对坐标转换为绝对坐标
哈趣投影黑馬之姿,僅用半年强勢突圍千元投影儀市場!
MySQL (x)
MySQL(十)
[solution] final app status- undefined, exitcode- 16
哈趣投影黑马之姿,仅用半年强势突围千元投影仪市场!
ip地址那点事
隐马尔科夫模型(HMM)学习笔记
How to install swoole under window
Ha Qu projection dark horse posture, only half a year to break through the 1000 yuan projector market!
请问如何查一篇外文文献的DOI号?