在 esxi 中挂载 vmfs 分区

在 esxi 中挂载 vmfs 分区

我失去了与 iSCSI 磁盘的连接,重新连接后数据存储仍未挂载。我可以看到 VMFS 分区,但不确定如何手动挂载它。UI 选项似乎没有提供选项。我可以创建一个新的数据存储,但只能通过删除当前的数据存储来创建。

在此处输入图片描述

esxcfg-volume -l命令输出以下内容:

Scanning for VMFS-6 host activity (4096 bytes/HB, 1024 HBs).
VMFS UUID/label: 5e125199-81833a30-7767-a0369f07542d/mynas2
Can mount: Yes
Can resignature: Yes
Extent name: naa.60014055ecf517ed409fd40c2d8b6ad5:1 range: 0 - 409343 (MB)

partedUtil getptbl /vmfs/devices/disk/naa.60014055ecf517ed409fd40c2d8b6ad5

显示以下内容

gpt
52216 255 63 838860800
1 2048 838858752 AA31E02A400F11DB9590000C2911D1B8 vmfs 0

vmfstools -V生成以下输出/var/log/vmkernel.log

2020-01-14T06:03:33.259Z cpu4:2099636)WARNING: NFS: 1227: Invalid volume UUID snap-4738e717-5e125199-5197aa88-8da9-a0369f07542d
2020-01-14T06:03:33.276Z cpu4:2099636)HBX: 1034: 'mynas2': HB at offset 3637248 - Setting pulse failed: Not supported:
2020-01-14T06:03:33.276Z cpu4:2099636)  [HB state abcdef02 offset 3637248 gen 27 stampUS 1257591573 uuid 5e1d54ef-e63704a9-378c-a0369f07542d jrnl <FB 0> drv 24.82 lockImpl 4 ip 10.4.1.11]
2020-01-14T06:03:33.276Z cpu4:2099636)WARNING: FSAts: 1550: Denying reservation access on an ATS-only vol 'mynas2'
2020-01-14T06:03:33.276Z cpu4:2099636)WARNING: HBX: 2423: ATS-Only VMFS volume 'mynas2' is not mounted. This host does not support ATS, or ATS initialization failed.
2020-01-14T06:03:33.276Z cpu4:2099636)WARNING: HBX: 2437: Failed to initialize VMFS distributed locking on volume 5e125199-81833a30-7767-a0369f07542d: Not supported
2020-01-14T06:03:33.333Z cpu1:2099636)FSS: 6092: No FS driver claimed device 'snap-4738e717-5e125199-5197aa88-8da9-a0369f07542d': No filesystem on the device
2020-01-14T06:03:33.333Z cpu7:2099797)VC: 4616: Device rescan time 7 msec (total number of devices 4)
2020-01-14T06:03:33.333Z cpu7:2099797)VC: 4619: Filesystem probe time 131 msec (devices probed 4 of 4)
2020-01-14T06:03:33.333Z cpu7:2099797)VC: 4621: Refresh open volume time 0 msec

回答:虚拟机无法访问

答案1

使用以下方法获取 VMFS 分区的 UUID

esxcli storage vmfs snapshot list

然后使用安装它

esxcli storage vmfs snapshot mount -u <UUID>

相关内容