I have ibm x3550 M3 server that was running vmware 4.0. I had 2x140GB SAS disks in RAID1 and 2x300GB SAS disks in RAID1 as well. vmware esxi 4 was installe on 2x140gb sas raid.
i was upgrading from 2x140GB SAS to 2x600GB SAS. before upgrade i did a backup only of 2x140gb datastore.
when i removed 2x140gb disks and inserted 2x600gb and created additional virtual drive in ibm bios, i think ibm controller deleted a partition table on my 2x300gb disks
so without knowing that i installed esxi 5.0 latest version on 2x600gb and booted up. sadly my old datastore was not here and format type for volume was unknown
To have some backup i removed from raid 1x300gb and then replaced back 2x600gb with 2x140gb, the same issue.
when doing fdisk in console, it said lost partition table
i created a simple partition table but still i can not mount or see any data
Create the partition:
Press n and press Enter to create a new partition.
Press p and press Enter to select that this is a primary partition.
Press 1 and press Enter to make the first partition.
Press 128 and Enter to align the partition to sector 128.
Press Enter again to retain the default value.
Change the partition to type fb (VMFS):
Press t and press Enter. Partition 1 is automatically selected.
Enter fb and press Enter.
Press w and press Enter to save.
Run vmkfstools -V and press Enter to discover the VMFS.
here is current result of fdisk -l
~ # fdisk -l
4: 298.9 GB, 298999349248 bytes
255 heads, 63 sectors/track, 36351 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Device Boot Start End Blocks Id System
4p1 1 36352 291991488 fb VMFS
Found valid GPT with protective MBR; using GPT
fdisk: Sorry, can't handle GPT partitions, use partedUtil
/dev/disks # esxcfg-scsidevs -c
Device UID Device Type Console Device Size Multipath PluginDisplay Name
mpx.vmhba0:C0:T0:L0 CD-ROM /vmfs/devices/cdrom/mpx.vm
:L0 0MB NMP Local MATSHITA CD-ROM (mpx.vmhba0:C0:T0:L0)
285148MB NMP Local IBM Disk (naa.600605b00256c49015375
571250MB NMP Local IBM Disk (naa.600605b00256c490178e0
/dev/disks # partedUtil get /vmfs/devices/disks/naa.60
36351 255 63 583983104
1 128 583983103 251 0
i still have the second 300GB hdd from raid if necessary. Previously on disk I had only 1 partition taking the whole disk