VMware Cloud Community
ITRC_Architect
Contributor
Contributor

How to fsck (repair vmfs 3 volume) with ESXi?

A hard drive failed on an iSCSI volume (we use LeftHand 4500 SAN).

Apparently, during the rebuild, bad blocks may have been copied into the volume.

The ESXi host sees the volume, but it does not show the vmfs filesystem, so I can't get to the guests. HP wants me to run a chkdisk or fsck on the volume to repair it.

I have no idea how to do that. Any thoughts?

Reply
0 Kudos
3 Replies
amalanco8
VMware Employee
VMware Employee

hi, for system partitions you need to run dosfsck, here is an excellent guide to do it:

regards.

If you find this information useful, please award points for "correct" / "helpful".

My blog virtualización en tu idioma

blog.hispavirt.com // virtualización en tu idioma VCDX#141
ITRC_Architect
Contributor
Contributor

That will fix vmfs 3 volumes and not just FAT volumes?

Reply
0 Kudos
amalanco8
VMware Employee
VMware Employee

yep only esxi's system partitions, if you cant access your data anymore there's a big chance that i will be all lost because there is no fsck for vmfs, you can try accessing your vmfs through a linux host and try to copy your files using vmfs-tools take a look at this post:

http://planetvm.net/blog/?p=1592

hope you can get your info.

regards.

If you find this information useful, please award points for "correct" / "helpful".

My blog virtualización en tu idioma

blog.hispavirt.com // virtualización en tu idioma VCDX#141