One of my hard drives have one bad sector in the beginning of disk
And ESX 4 can't mount datastore BACKUP_DRIVE on this HDD
/vmfs/volumes # ls -l
ls: ./4a1cdd25-6a8d1c02-b764-001cc0177762: Input/output error
drwxr-xr-x 1 root root 8 Jan 1 1970 078cfe7d-4e937f76-1266-95f8ed04ef5a
drwxr-xr-x 1 root root 8 Jan 1 1970 4a1abcd9-70dc6a76-5e3d-001cc0177762
drwxr-xr-t 1 root root 2520 Jul 6 04:38 4a1abcda-146b1eb9-68d0-001cc0177762
drwxr-xr-x 1 root root 8 Jan 1 1970 8829b876-47c7ea04-aa4d-21d43c4d7341
l----
0 root root 1984 Jan 1 1970 Hypervisor1 -> 8829b876-47c7ea04-aa4d-21d43c4d7341
l----
0 root root 1984 Jan 1 1970 Hypervisor2 -> 078cfe7d-4e937f76-1266-95f8ed04ef5a
l----
0 root root 1984 Jan 1 1970 Hypervisor3 -> efd8efe3-03bc1cbf-15e0-080efd9e7379
l----
0 root root 1984 Jan 1 1970 backup_drive -> 4a1cdd25-6a8d1c02-b764-001cc0177762
l----
0 root root 1984 Jan 1 1970 datastore1 -> 4a1abcda-146b1eb9-68d0-001cc0177762
drwxr-xr-x 1 root root 8 Jan 1 1970 efd8efe3-03bc1cbf-15e0-080efd9e7379
how to run checking of file system and reapir it?
You may have that facility from within your array controller. I would also check with the drive manufacturer to see if they have a utility. That said, if this is a production server and there is any reason not to trust the drive, I would replace it.
I have tested this HDD using low-level tool MHDD - and I see one bad block
This bad block in the beginning of HDD
Only 1 block make 500 GB HDD inaccessible
I want to repair file system, copy info and replace this HDD
Is it possible?
I don't think you are going to repair the file system. Since one sector is bad don't try to repair the driver. You risk further loss. You will need to use something like a low level sector copying tool. I don't know how many clone tools will work against bad sectors but do a Google search for "drive clone sector copy". You will need another drive of equal size to clone to.
Try a post at http://sanbarrow.com/sickbay.html