Force Mounting VMFS Datastore in ESXi 5.0


We had an issue last week that in our vSphere cluster (6 ESXi 5.0 hosts, 3 datastores), two hosts can not see one of the datastores. The issue was caused by that a guy in my team did not follow the proper LUN operation procedure.

I tried to add the storage back in the vSphere client, but somehow it asks me to format the LUN first (I guess the improper LUN operation may damage part of the partition table). Then I SSH into the host and  tried the following command which I expected the same result, but to my surprise, the command worked without any problem!!

Type ‘esxcfg-volume –l’ to get the UUID of the available LUN, then run ‘esxcfg-volume –M <UUID>’ to manually mount the LUN.

Reference: http://kb.vmware.com/selfservice/search.do?cmd=displayKC&docType=kc&externalId=1015986&sliceId=1&docTypeID=DT_KB_1_1&dialogID=362948175&stateId=1%200%20362952093

Advertisement

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s