I installed a new ESX server and selected the option to delete vmfs disks. Such a novice mistake. Luckely I only have 5 VM's running in this setup. How do I get it back? Here is my fdksi output:
Warning: invalid flag 0x0000 of partition table 5 will be corrected by w(rite)
Disk /dev/sdb: 1074.3 GB, 1074396135424 bytes
255 heads, 63 sectors/track, 130621 cylinders, total 2098429952 sectors
Units = sectors of 1 * 512 = 512 bytes
Device Boot Start End Blocks Id System
/dev/sdb1 * 63 208844 104391 83 Linux
/dev/sdb2 208845 10442249 5116702+ 83 Linux
/dev/sdb3 10442250 1866769064 928163407+ fb Unknown
/dev/sdb4 1866769065 2098426364 115828650 f Win95 Ext'd (LBA)
There are no ways to recover from deleted VMFS volumes, you may want to call VMware support and see if they have a method.
=========================================================================
William Lam
VMware vExpert 2009
VMware ESX/ESXi scripts and resources at:
VMware Code Central - Scripts/Sample code for Developers and Administrators
If you find this information useful, please award points for "correct" or "helpful".
since the vm's are still running I am able to run vmware converter to back them up. I am just suprised that there is no way to restore the partition table...
As of ESX 3.5u3 there is a utility called vmfs-unelete which creates a block list which can be used later to help restore if you were to delete but without that blocklist it'll be quite difficult. I'm sure it's not impossible but may require VMware support or lots of $$$ (I know we had search around the web and VMFS recovery can be in excess of $2k+) This utility seemed to have been short lived and only exists in u3 and it might be in u4 but definitely not in vSphere ESX 4.0.
You may want to double check that the VMs are actually running and that they're accessible, if they are actually running then you did not delete them. Little confused by your comment
=========================================================================
William Lam
VMware vExpert 2009
VMware ESX/ESXi scripts and resources at:
VMware Code Central - Scripts/Sample code for Developers and Administrators
If you find this information useful, please award points for "correct" or "helpful".
they are accessible. I am able to rdp and vmware converter has been able to back them up successfully so far.