Mounting and unmounting snapshot volumes in vSphere 5.x
book
Article ID: 339912
calendar_today
Updated On:
Products
VMware vSphere ESXi
Issue/Introduction
The procedures for mounting and unmounting snapshot volumes using vicfg-volume and esxcli are changed in vSphere 5.x.
Environment
VMware vSphere ESXi 5.0
VMware vSphere ESXi 5.5
VMware vSphere ESXi 5.1
Resolution
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 <vSphere login credentials> -V - Verify the volume.
# vicfg-volume <vSphere login credentials> -l - Unmount the original volume.
# esxcli <vSphere login credentials> filesystem volume unmount -l <volume name> - Scan the volume.
# vmkfstools <vSphere login credentials> -V - Perform a persistent mount for the snapshot volume.
# vicfg-volume <vSphere login credentials> -M <volume name>
To unmount the snapshot and mount the original volume
Unmount the snapshot volume using vicfg-volume and mount the original volume using esxcli.
- Unmount the snapshot volume.
# vicfg-volume <vSphere login credentials> -u <volume name>
Note: Using this command results in an incorrect failure report. The command does work.
- Mount the original volume.
# esxcli <vSphere login credentials> filesystem volume mount -l <volume name>
For additional information, see:
Feedback
thumb_up
Yes
thumb_down
No