J4125 小主机,ESXI下 硬盘直通

J4125 小主机,ESXI下 硬盘直通

1
2
https://baijiahao.baidu.com/s?id=1713203356306838514&wfr=spider&for=pc
https://ld246.com/article/1484576134587

1)Esxi 开启ssh.

2)查看直通硬盘路径

1
ls /vmfs/devices/disks

可以看到 直通硬盘路径: t10.ATA_____MSATA_SSD_128G__________________________AA000000000000001501
1
/vmfs/devices/disks/t10.ATA_____MSATA_SSD_128G__________________________AA000000000000001501

3)系统盘路径

可以看到UUID: 626bdf7f-975b81f0-c893-00e26952f945

所以系统盘路径为: /vmfs/volumes/626bdf7f-975b81f0-c893-00e26952f945

4)拼接语法:

vmkfstools -z 直通硬盘路径 系统盘路径/虚拟盘名称.vmdk
1
vmkfstools -z /vmfs/devices/disks/t10.ATA_____MSATA_SSD_128G__________________________AA000000000000001501 /vmfs/volumes/626bdf7f-975b81f0-c893-00e26952f945/2T.vmdk

浏览数据存储,可以看到增加了一个文件名为2T.vmdk的文件,这样就成功了.


Leave a Reply

Your email address will not be published. Required fields are marked *