Hi Everyone.
We have an ESXi 5.1 server with non-Raided two hard disks and some VMs inside in (Datastore 1 & Datastore 2). After a power failure, some of VMs renamed to "Unknown (inaccessible)" which are in the specified hard disk and now we cannot use them. After some tests, I see that Datastore 1 not show in the Storage list. I tried to add storage and recreate that datastore but this error was occurred :
"Either the selected disk already has a VMFS datastore or the host cannot perform a partition table conversion. Select another disk."
How can i recover my VMs without any data lost ?
Any suggestion will be appreciated.
Regards,
Please take a look at the "Command Line" section in https://kb.vmware.com/s/article/1011387 to see whether this helps.
André
If there is power outage then you required reboot all hosts ,
All VM will be online or you required power on 1 by 1
Reboot your host once.
Please check if the datastore still has a partitiontable with partedUtil.
If you want me to check the VMFS-volume please read
Create a VMFS-Header-dump using an ESXi-Host in production | VM-Sickbay
and provide a downloadlink.
Ulli
Thanks for replying,
Reboot did not help me also i cant power on my VMs because power options are grayed.
Your datastore still not available?
Can you take a screenshot of your datastore and VM?
Sorry
Correct Screenshot
1
List all volumes that have been detected as snapshots.
esxcli <conn_options> storage filesystem list
2
Run esxcli storage filesystem mount with the volume label or volume UUID.
By default, the volume is mounted persistently, use --no-persist to mount persistently.
esxcli <conn_options> storage filesystem volume mount --volume-label=<label>|--volume-uuid=<VMFS-UUID>
Thanks,
After run esxcli storage filesystem mount, this error was appeared (screenshot) :
Run the command like this:
esxli storage filesystem volume mount --volume-uuid=(your UID)
The error was appeared again :
I see that it shows as mounted.
If you do a storage rescan does it show up?
I've done this already but it does not show up.
The size of volume and free space is equal in the last screenshot, this means that all data have been deleted ???!!!
The size of volume and free space is equal in the last screenshot, this means that all data have been deleted ???!!!
With the huge size it shows, it's more likely an issue with the partition table, and/or the file VMFS system.
I'd suggest you follow continuum's post. He's an expert when it comes to data recovery.
André
Sorry, when i want attach file in forum the upload percentage was not show.
Here is download link : https://ufile.io/hk4f2
Hello
I dont think that you created the dump for the correct partition.
The dd command finished after just 3 MBs - so you selected the boot partition.
Please create a new dump file for the correct partition.