V
V
Vladimir Kivva2018-10-14 13:00:09
ZFS
Vladimir Kivva, 2018-10-14 13:00:09

How to get VMFS data from zvol after FreeNAS crash?

ESXi was installed on a USB flash drive, and a FreeNAS machine was installed on it. She gave the screws to the hyper via iSCSI. Burned flash drive, inserted another one, imported ZFS volumes, created new iSCSI settings, but when ESXi mounts the device, it shows up as Normal, degraded . Thus offering to format them and not mounting them as storage.
5bc31357e4825381818306.png
The only thing I can find on the internet:

esxcfg-advcfg -s 0 /LVM/DisallowSnapshotLun

This returns output similar to: 
Value of DisallowSnapshotLun is 0

After this is done, issue a storage controller rescan followed by a filesystem refresh:

esxcli storage core adapter rescan --all
vmkfstools -V

But it does not bring any effect. They also say to connect in two ways, but I have one network card each on FreeNAS and ESXi. Before the system crash, everything worked absolutely correctly. Now it is not clear how to get this data at all, because. the system doesn't even mount the zvol because does not know what to do with VMFS. Access to servers via IP-KVM, how can I get data?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
V
Vladimir Kivva, 2018-10-14
@zionkv

https://kb.vmware.com/s/article/2129058 - it works, you need to mount the snapshot as a disk. It didn't work for me, because the NAS was in read-only mode, and the hyper wanted to write some changes there, apparently rewrite the header to read as a disk, and not as a snapshot.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question