Force Mount a Datastore

There are a couple of scenarios where you may want to force mount a datastore. You may want to mount a snapshot of a datastore, or a replicated datastore. Or, you may have run into an issue where your datastore is no longer available to be used, and VMware recognizes it as a snapshot. You can do a variety of things from the console or an ssh terminal.

First, list your volume and grab the UUID or friendly datastore name. Either one will work in this case.

esxcfg-volume -l

 

You can then use a few different commands depending on what you want to do.

Mount the volume as a non-persistent datastore without re-signature (will not be mounted after reboot):

esxcfg-volume -m "UUID or Friendly Name"

 

Mount the volume as a persistent datastore without re-signature (will be mounted after reboot):

esxcfg-volume -M "UUID or Friendly Name"

 

Re-signature the volume and immediately mount:

esxcfg-volume -r "UUID or Friendly Name"

1 Comment

cialisApril 26th, 2011 at 9:41 pm

Thanks for your review! I really enjoyed it.

Leave a comment

Your comment