Currently, my iSCSI SAN device offers snapshotting capability. I've implemented this for several volumes holding VMFS datastores that hold user files (home directories, profiles, etc). I'd like to be able to access those snapshots without altering the data in the snapshots in order to provide an easy way to restore accidentally altered/deleted files within the time frame the snapshots cover.
I'm using an EqualLogic PS5000 and enabling access to the snapshots to a test ESXi machine to see if I can do this. I've been able to get the ESXi server talking with the EqualLogic array and several volumes. If I present the snapshot as read-only it does not mount it at all but does recognize it as an iSCSI target. It does put a few errors into the log and the events list. I'll post the errors shortly.
I've searched around the documentation and all I can find is:
vsp_40_esx_server_config.pdf, p106: "When you mount the VMFS datastore, ESX allows both reads and writes to the datastore residing on the LUN copy. The LUN copy must be writable. The datastore mounts are persistent and valid across system reboots.
Because ESX does not allow you to resignature the mounted datastore, unmount the datastore before resignaturing."
This makes me think that it's literally impossible.
If that is the case, is it possible to have ESX/ESXi present a VM with a read-only disk? I know that I can use Linux and just use `mount -o ro` but I'm considering this for others in my office who really wouldn't know what to do. The closest I see for this is to use the VMDK as independent, non-persistent.