VMware Cloud Community
dizel247
Contributor
Contributor

Help with disk recovery

Hello,

I have md3000i and added some more disk to the raid 10 array. Afther that my iscsi lun dispaeared. Now when I seach for my virtual disk i see it in my devices but not in my datastore. When I go to "Add Storage" those disk apper there and esx gives me option to format it. Any one knows if this can be recovered. I have few importat virtual mashines in that lun. Any help will be appreciated. Thanks in advance.

~ # partedUtil getptbl "/vmfs/devices/disks/naa.60026b900051d85b00000e5f4db5421f"

msdos

72815 255 63 1169777664

1 128 1169772974 251 0

~ # partedUtil getptbl "/vmfs/devices/disks/naa.60026b900051d85b0000581b50c19284"

gpt

36407 255 63 584884224

1 2048 584884190 AA31E02A400F11DB9590000C2911D1B8 vmfs 0

~ #

Roman

Tags (2)
Reply
0 Kudos
5 Replies
continuum
Immortal
Immortal

Hi
I would do this:
1. create new Linux VM - or use a physical machine
2. boot into this LiveCD : http://sanbarrow.com/mcs-esxi5-recovery-X-001.iso
3. connect to iSCSI target with open-iscsi (google can help with instructions)
4. after successful mount check content of the volume with
vmfs-fuse /dev/sda /mnt


________________________________________________
Do you need support with a VMFS recovery problem ? - send a message via skype "sanbarrow"
I do not support Workstation 16 at this time ...

Reply
0 Kudos
nshetty
Enthusiast
Enthusiast

Hello,

Can you upload the vmkernel or messages logs from the host ?

Logs should indicate the cause for this.

If you could upload the logs, we could review it and then provide the correct step for resolving the issue.

Cheers,

NS

Reply
0 Kudos
dizel247
Contributor
Contributor

I have analaize my lost drives and found that my files are there. I purchased DiskGuru and downloaded some files off VM's. Anyone knows how to write new partition without formating it? esxi sees this drives as new.

This are my files:

~ # esxcli storage filesystem list
Mount Point                                        Volume Name          UUID                                 Mounted  Type             Size          Free
-------------------------------------------------  -------------------  -----------------------------------  -------  ------  -------------  ------------
/vmfs/volumes/4cf6a93a-d891bdaf-0a22-000e1e020064  675GB iSCSI LUN      4cf6a93a-d891bdaf-0a22-000e1e020064     true  VMFS-5   725581037568  122792443904
/vmfs/volumes/4b852496-754f0b27-eaaf-000e1e020e41  DELL iSCSI R5 272GB  4b852496-754f0b27-eaaf-000e1e020e41     true  VMFS-5   292326211584   20730347520
/vmfs/volumes/50c66fdd-da55ff1a-8e3f-000e1e020e40  Dell BACKUP 2TB      50c66fdd-da55ff1a-8e3f-000e1e020e40     true  VMFS-5  1999575711744  855808933888
/vmfs/volumes/50c72d80-6c436bd1-389e-000e1e020d2c  Dell RAID 1          50c72d80-6c436bd1-389e-000e1e020d2c     true  VMFS-5   599416373248  598396108800
/vmfs/volumes/4cf56b31-684344c4-8a4a-000e1e020064  270GB iSCSI LUN      4cf56b31-684344c4-8a4a-000e1e020064     true  VMFS-5   288299679744  114780274688
/vmfs/volumes/45a0beeb-b54f2411-231e-7d2bd3e6a280                       45a0beeb-b54f2411-231e-7d2bd3e6a280     true  vfat        261853184     109465600
/vmfs/volumes/a2a81deb-3084df1b-d578-69ff4e111253                       a2a81deb-3084df1b-d578-69ff4e111253     true  vfat        261853184     124817408
/vmfs/volumes/50988752-55991676-81f4-000e1e020d2c                       50988752-55991676-81f4-000e1e020d2c     true  vfat        299712512      71999488
~ # esxcfg-volume -l
~ # esxcfg-scsidevs -c
Device UID                            Device Type      Console Device                                            Size      Multipath PluginDisplay Name      
eui.ae0f4beaa7ffbe4e                  Direct-Access    /vmfs/devices/disks/eui.ae0f4beaa7ffbe4e                  692000MB  NMP     ROCKET iSCSI Disk (eui.ae0f4beaa7ffbe4e)
eui.d1df11cc070189c5                  Direct-Access    /vmfs/devices/disks/eui.d1df11cc070189c5                  275000MB  NMP     ROCKET iSCSI Disk (eui.d1df11cc070189c5)
mpx.vmhba32:C0:T0:L0                  Direct-Access    /vmfs/devices/disks/mpx.vmhba32:C0:T0:L0                  3835MB    NMP     Local USB Direct-Access (mpx.vmhba32:C0:T0:L0)
naa.60026b900051d85b000005a84b8304a4  Direct-Access    /vmfs/devices/disks/naa.60026b900051d85b000005a84b8304a4  279004MB  NMP     DELL iSCSI Disk (naa.60026b900051d85b000005a84b8304a4)
naa.60026b900051d85b00000e5f4db5421f  Direct-Access    /vmfs/devices/disks/naa.60026b900051d85b00000e5f4db5421f  571180MB  NMP     DELL iSCSI Disk (naa.60026b900051d85b00000e5f4db5421e)
naa.60026b900051d85b0000581b50c19284  Direct-Access    /vmfs/devices/disks/naa.60026b900051d85b0000581b50c19284  285588MB  NMP     DELL iSCSI Disk (naa.60026b900051d85b0000581b50c19284)
naa.60026b900051d85b000059d650c63b74  Direct-Access    /vmfs/devices/disks/naa.60026b900051d85b000059d650c63b74  1907216MB NMP     DELL iSCSI Disk (naa.60026b900051d85b000059d650c63b74)
naa.60026b900051d85b00005fce50c6bf82  Direct-Access    /vmfs/devices/disks/naa.60026b900051d85b00005fce50c6bf82  571812MB  NMP     DELL iSCSI Disk (naa.60026b900051d85b00005fce50c6bf82)

~ # partedUtil get /vmfs/devices/disks/naa.60026b900051d85b0000581b50c19284

36407 255 63 584884224

1 2048 584884190 0 0

~ # partedUtil getptbl /vmfs/devices/disks/naa.60026b900051d85b0000581b50c19284

gpt

36407 255 63 584884224

1 2048 584884190 AA31E02A400F11DB9590000C2911D1B8 vmfs 0

~ # partedUtil get /vmfs/devices/disks/naa.60026b900051d85b00000e5f4db5421f

72815 255 63 1169777664

1 128 1169772974 251 0

~ # partedUtil getptbl /vmfs/devices/disks/naa.60026b900051d85b00000e5f4db5421f

msdos

72815 255 63 1169777664

1 128 1169772974 251 0

~ #

Screen Shot 2012-12-16 at 11.24.14 AM.png
Reply
0 Kudos
nshetty
Enthusiast
Enthusiast

can you please upload the vm-support logs

http://kb.vmware.com/kb/653

Regards,

NS

Reply
0 Kudos
FedericoAlves
Contributor
Contributor

I did exactly what you suggest and I get this

root@mcs:~# vmfs-fuse /dev/sda3 /mnt
VMFS VolInfo: invalid magic number 0x00000000
VMFS: Unable to read volume information
Trying to find partitions
Unable to open device/file "/dev/sda3".
Unable to open filesystem

Is there a way to mount my partition again?

Reply
0 Kudos