Vmware ESXi 5.1 - Datastore missing suddenly
Posted on 2015-02-23
I am running a VMware ESXi server with two RAID controllers each hosting a data store A & B.
I had few virtual machines sitting on Data Store A and few on Data Store B ... One of my client complained about the VM being not reachable, which forced me to check vSphere Client for any obvious issues.
When connecting to the VM running on Data Store B, it showed a yellow ribbon saying the vm config file is not accessible. To trouble-shoot I went into the Data Store B and searched for the VM files but it was all empty.
I did a Data Store Refresh / Rescan after which the Data Store disappeared from the list. The devices still show both adapters LocalAdaptecDisk 1 TB (PrimaryRAID) and 3TB (SecondaryRAID) but only Data Store A (Primary Raid) is visible and Data Store B (Secondary RAID) is missing. But after some time even the second adapter device was gone.
The VM of Data Store A are fine and I can also connect to the server using SSH (WinSCP / Putty) ...
Is my data safe? or I lost the data?
Is there a way to re-discover the Data Store B without rebooting the server?
Output of /dev/disks # ls /dev/disks/
If I click on Add Data store, it shows the disconnected Device but then it does not allow me to remount the disappeared Data Store, If I continue, it may create a new partition and just wipe the whole hard disk.
Hence, I cancelled the Add Storage step.
/vmfs/volumes # ls -al
drwxr-xr-x 1 root root 512 Feb 23 18:42 .
drwxr-xr-x 1 root root 512 Jan 18 16:04 ..
drwxr-xr-x 1 root root 8 Jan 1 1970 343f43eb-cebf069a-2e3a-34165eb1baac
drwxr-xr-t 1 root root 1680 Jun 27 2014 4dfa32f8-d53e6d8e-541d-001b215e0514
drwxr-xr-x 1 root root 8 Jan 1 1970 50acdf0a-49686666-09f8-6c626daf4bfc
lrwxr-xr-x 1 root root 35 Feb 23 18:42 PrimaryRAID1 -> 4dfa32f8-d53e6d8e-541d-001b215e0514
drwxr-xr-x 1 root root 8 Jan 1 1970 c66e35e1-e51874c0-8f69-58451bad876f
As you can see there is no SecondaryRAID listed at all.