Rexxer

Some tips for me and other

ESXi 5.5 to 6.7 + no datastores

Link: https://kb.vmware.com/s/article/1011387

  1. Connect to the ESXi host with an SSH session and root credentials
  2. To list the volumes detected as snapshots, run this command:

esxcli storage vmfs snapshot list
You see output similar to: 49d22e2e-996a0dea-b555-001f2960aed8
Volume Name: VMFS_1
VMFS UUID: 49d22e2e-996a0dea-b555-001f2960aed8
Can mount: true
Reason for un-mountability:
Can resignature: true
Reason for non-resignaturability:
Unresolved Extent Count: 1

  1. To mount a snapshot/replica LUN that is persistent across reboots, run this command:

esxcli storage vmfs snapshot mount -l label|-u uuid
For example: esxcli storage vmfs snapshot mount -l “VMFS_1”
esxcli storage vmfs snapshot mount -u “49d22e2e-996a0dea-b555-001f2960aed8”

  1. To mount a snapshot/replica LUN that is not persistent across reboots, run this command:

esxcli storage vmfs snapshot mount -n -l label|-u uuid
For example: esxcli storage vmfs snapshot mount -n -l “VMFS_1” esxcli storage vmfs snapshot mount -n -u “49d22e2e-996a0dea-b555-001f2960aed8”

  1. To resignature a snapshot/replica LUN (the volume is mounted immediately after the resignature), run this command:

esxcli storage vmfs snapshot resignature -l label|-u uuid
For example: esxcli storage vmfs snapshot resignature -l “VMFS_1” esxcli storage vmfs snapshot resignature -u “49d22e2e-996a0dea-b555-001f2960aed8”

  1. To mount the volume without performing a resignaturing of that volume (this volume is mounted when the ESX host is rebooted), run this command:

esxcfg-volume -M VMFS_UUID|label
For example: esxcfg-volume -M “VMFS_1” esxcfg-volume -M “49d22e2e-996a0dea-b555-001f2960aed8”

Comments are currently closed.