Details
The procedures for mounting and unmounting snapshot volumes using vicfg-volume and esxcli are changed in vSphere 5.0.
Solution
To persistent mount a snapshot volume using vicfg-volume and esxcli
- Create a new VMFS volume.
- Take a snapshot of the new VMFS volume.
- Scan the volume.
# vmkfstools -V - Verify the volume.
# vicfg-volume -l - Unmount the original volume.
# esxcli filesystem volume unmount -l - Scan the volume.
# vmkfstools -V - Perform a persistent mount for the snapshot volume.
# vicfg-volume -M
To unmount the snapshot and mount the original volume
You unmount the snapshot volume using vicfg-volume and mount the original volume using esxcli.
- Unmount the snapshot volume.
# vicfg-volume -u
Note: Using this command results in an incorrect failure report. The command does work. - Mount the original volume.
# esxcli filesystem volume mount -l
Based on VMware KB 2004980
