VMware Cloud Community
henrys76
Contributor
Contributor

Missing datastore after disk failed

On our Esxi 6.7 server, after a disks failed (3 of 24 disks) we solved a disk issue on NetApp but after restart any datastore was disappeared. no partition table present, no datastores present, just log datastore......
Is anyone help me to rebuild/catch our datastores? any command was not works fine.....

0 Kudos
1 Reply
a_p_
Leadership
Leadership

>>> ... after a disks failed (3 of 24 disks) ...
Just to understand this. Was it "a disk" that failed, or 3 disks?

>>> ... no partition table present ...
How did you check this?

Please run the following command (a single command line) to find out about the partitions.

offset="128 2048"; for dev in `esxcfg-scsidevs -l | grep "Console Device:" | awk {'print $3'}`; do disk=$dev; echo $disk; partedUtil getptbl $disk; { for i in `echo $offset`; do echo "Checking offset found at $i:"; hexdump -n4 -s $((0x100000+(512*$i))) $disk; hexdump -n4 -s $((0x1300000+(512*$i))) $disk; hexdump -C -n 128 -s $((0x130001d + (512*$i))) $disk; done; } | grep -B 1 -A 5 d00d; echo "---------------------"; done

If partitions show up, you may also want o run esxcli storage vmfs snapshot list to list partitions that are currently not mounted.

Please save the two commands' output in a .txt file, and attach this file to your next reply.

André

0 Kudos