
我失去了與 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>