I have a FreeNAS 9.3 host that has a volume mostly dedicated to running VMs for a XenServer iSCSI storage repository (SR). I've had little to no problems with this particular FreeNAS host, and snapshots occur every 3hrs.
One of the XenServers experienced issues that affected the entire pool. I got all them fixed, but when the dust settled, our Exchange server lost two of its three VDIs (virtual disk images). I exhausted all options for recovering them via Xen, so I decided to rollback to the last good snapshot via ZFS.
Fortunately, that particular host only had an SR and VDIs for the single Exchange server... all other VMs are hosted elsewhere. Unfortunately, the VDI still doesn't show up, even after a rescan of the SR (both via XenCenter and via command line).
Since the FreeNAS host was running without issue, and the Xen host is the one that barfed (ironically when another SR on a different FreeNAS box crashed), I'm leaning towards suspecting the latter. Unfortunately, Xen guys seem to know Xen, and FreeNAS guys seem to know FreeNAS. I was hoping someone on here may be able to explain why even after a ZFS snapshot restore, the other 2/3 VDIs aren't showing up.
My only workable theory is that XenServer hosts metadata about the VDI itself in its local storage repository (the local disk Xen is installed on) and only the raw data of the VDI is on the SR. It sounds plausible, but I don't know much regarding the intricacies of Xen storage technology.
Any help would be really, really appreciated.
One of the XenServers experienced issues that affected the entire pool. I got all them fixed, but when the dust settled, our Exchange server lost two of its three VDIs (virtual disk images). I exhausted all options for recovering them via Xen, so I decided to rollback to the last good snapshot via ZFS.
Fortunately, that particular host only had an SR and VDIs for the single Exchange server... all other VMs are hosted elsewhere. Unfortunately, the VDI still doesn't show up, even after a rescan of the SR (both via XenCenter and via command line).
Since the FreeNAS host was running without issue, and the Xen host is the one that barfed (ironically when another SR on a different FreeNAS box crashed), I'm leaning towards suspecting the latter. Unfortunately, Xen guys seem to know Xen, and FreeNAS guys seem to know FreeNAS. I was hoping someone on here may be able to explain why even after a ZFS snapshot restore, the other 2/3 VDIs aren't showing up.
My only workable theory is that XenServer hosts metadata about the VDI itself in its local storage repository (the local disk Xen is installed on) and only the raw data of the VDI is on the SR. It sounds plausible, but I don't know much regarding the intricacies of Xen storage technology.
Any help would be really, really appreciated.