I'm using vmware 5.5 u2 Free to test and learning.
One of disks are bad (SMART), and I'm trying copy/move VMs to a new disk, but a .vmdk is giving error.
I got to try to move the following message on vSphere Client:
Move file Error caused by file /vmfs/volumes/57d1ab60-f3524ea3-88a4-000acd18c54e/XP_3 root 09/09/2016 08:13:55 09/09/2016 08:13:55 09/09/2016 08:14:12
I accessed by ssh the server and ran voma comand and the result was:
voma -m vmfs -d /vmfs/devices/disks/t10.ATA_____WDC_WD5000AAKX2D00U6AA0_______________________WD2DWCC2E7NK5FTS:1
Checking if device is actively used by other hosts
Running VMFS Checker version 1.0 in default mode
Initializing LVM metadata, Basic Checks will be done
Phase 1: Checking VMFS header and resource files
Detected VMFS file system (labeled:'500.1v') with UUID:56d80421-93745713-d238-000acd18c54e, Version 5:60
Phase 2: Checking VMFS heartbeat region
Phase 3: Checking all file descriptors.
Found stale lock [type 10c00001 offset 183064576 v 310, hb offset 4055040
gen 231, mode 1, owner 576bff08-5ee6457b-a091-6805ca37600e mtime 5938
num 0 gblnum 0 gblgen 0 gblbrk 0]
Found stale lock [type 10c00001 offset 183066624 v 311, hb offset 4055040
gen 231, mode 1, owner 576bff08-5ee6457b-a091-6805ca37600e mtime 5950
num 0 gblnum 0 gblgen 0 gblbrk 0]
Found stale lock [type 10c00001 offset 183068672 v 312, hb offset 4055040
gen 231, mode 1, owner 576bff08-5ee6457b-a091-6805ca37600e mtime 5961
num 0 gblnum 0 gblgen 0 gblbrk 0]
Found stale lock [type 10c00001 offset 183070720 v 313, hb offset 4055040
gen 231, mode 1, owner 576bff08-5ee6457b-a091-6805ca37600e mtime 5985
num 0 gblnum 0 gblgen 0 gblbrk 0]
Found stale lock [type 10c00001 offset 183072768 v 314, hb offset 4055040
gen 231, mode 1, owner 576bff08-5ee6457b-a091-6805ca37600e mtime 5997
num 0 gblnum 0 gblgen 0 gblbrk 0]
Found stale lock [type 10c00001 offset 183300096 v 212, hb offset 4055040
gen 231, mode 1, owner 576bff08-5ee6457b-a091-6805ca37600e mtime 6033
num 0 gblnum 0 gblgen 0 gblbrk 0]
Phase 4: Checking pathname and connectivity.
ON-DISK ERROR: Invalid direntry <425, 109> index 33
Phase 5: Checking resource reference counts.
ON-DISK ERROR: PB inconsistency found: (1962,2) allocated in bitmap, but never used
ON-DISK ERROR: FB inconsistency found: (164,5) allocated in bitmap, but never used
ON-DISK ERROR: FB inconsistency found: (1701,192) allocated in bitmap, but never used
ON-DISK ERROR: FB inconsistency found: (1701,193) allocated in bitmap, but never used
ON-DISK ERROR: FB inconsistency found: (1701,194) allocated in bitmap, but never used
ON-DISK ERROR: FB inconsistency found: (1701,195) allocated in bitmap, but never used
ON-DISK ERROR: FB inconsistency found: (1701,196) allocated in bitmap, but never used
ON-DISK ERROR: FB inconsistency found: (1701,197) allocated in bitmap, but never used
ON-DISK ERROR: FB inconsistency found: (1701,198) allocated in bitmap, but never used
ON-DISK ERROR: FB inconsistency found: (1701,199) allocated in bitmap, but never used
ON-DISK ERROR: SB inconsistency found: (125,30) allocated in bitmap, but never used
Total Errors Found: 12
And I ran this commands :
vmkfstools -p 0 /vmfs/volumes/56d80421-93745713-d238-000acd18c54e/XP_3/XP_3-flat.vmdk
Mapping for file /vmfs/volumes/56d80421-93745713-d238-000acd18c54e/XP_3/XP_3-flat.vmdk (10737418240 bytes in size):
[ 0: 536870912] --> [VMFS -- LVID:56d80421-2cc5e41c-fe9c-000acd18c54e/56d80421-0eb53893-af39-000acd18c54e/1:( 71528611840 --> 72065482752)]
[ 536870912: 536870912] --> [VMFS -- LVID:56d80421-2cc5e41c-fe9c-000acd18c54e/56d80421-0eb53893-af39-000acd18c54e/1:( 72065482752 --> 72602353664)]
[ 1073741824: 536870912] --> [VMFS -- LVID:56d80421-2cc5e41c-fe9c-000acd18c54e/56d80421-0eb53893-af39-000acd18c54e/1:( 72602353664 --> 73139224576)]
[ 1610612736: 536870912] --> [VMFS -- LVID:56d80421-2cc5e41c-fe9c-000acd18c54e/56d80421-0eb53893-af39-000acd18c54e/1:( 73139224576 --> 73676095488)]
[ 2147483648: 536870912] --> [VMFS -- LVID:56d80421-2cc5e41c-fe9c-000acd18c54e/56d80421-0eb53893-af39-000acd18c54e/1:( 73676095488 --> 74212966400)]
[ 2684354560: 536870912] --> [VMFS -- LVID:56d80421-2cc5e41c-fe9c-000acd18c54e/56d80421-0eb53893-af39-000acd18c54e/1:( 74212966400 --> 74749837312)]
[ 3221225472: 536870912] --> [VMFS -- LVID:56d80421-2cc5e41c-fe9c-000acd18c54e/56d80421-0eb53893-af39-000acd18c54e/1:( 74749837312 --> 75286708224)]
[ 3758096384: 536870912] --> [VMFS -- LVID:56d80421-2cc5e41c-fe9c-000acd18c54e/56d80421-0eb53893-af39-000acd18c54e/1:( 75286708224 --> 75823579136)]
[ 4294967296: 536870912] --> [VMFS -- LVID:56d80421-2cc5e41c-fe9c-000acd18c54e/56d80421-0eb53893-af39-000acd18c54e/1:( 75823579136 --> 76360450048)]
[ 4831838208: 536870912] --> [VMFS -- LVID:56d80421-2cc5e41c-fe9c-000acd18c54e/56d80421-0eb53893-af39-000acd18c54e/1:( 76360450048 --> 76897320960)]
[ 5368709120: 536870912] --> [VMFS -- LVID:56d80421-2cc5e41c-fe9c-000acd18c54e/56d80421-0eb53893-af39-000acd18c54e/1:( 76897320960 --> 77434191872)]
[ 5905580032: 536870912] --> [VMFS -- LVID:56d80421-2cc5e41c-fe9c-000acd18c54e/56d80421-0eb53893-af39-000acd18c54e/1:( 77434191872 --> 77971062784)]
[ 6442450944: 536870912] --> [VMFS -- LVID:56d80421-2cc5e41c-fe9c-000acd18c54e/56d80421-0eb53893-af39-000acd18c54e/1:( 77971062784 --> 78507933696)]
[ 6979321856: 536870912] --> [VMFS -- LVID:56d80421-2cc5e41c-fe9c-000acd18c54e/56d80421-0eb53893-af39-000acd18c54e/1:( 78507933696 --> 79044804608)]
[ 7516192768: 536870912] --> [VMFS -- LVID:56d80421-2cc5e41c-fe9c-000acd18c54e/56d80421-0eb53893-af39-000acd18c54e/1:( 79044804608 --> 79581675520)]
[ 8053063680: 536870912] --> [VMFS -- LVID:56d80421-2cc5e41c-fe9c-000acd18c54e/56d80421-0eb53893-af39-000acd18c54e/1:( 79581675520 --> 80118546432)]
[ 8589934592: 536870912] --> [VMFS -- LVID:56d80421-2cc5e41c-fe9c-000acd18c54e/56d80421-0eb53893-af39-000acd18c54e/1:( 80118546432 --> 80655417344)]
[ 9126805504: 536870912] --> [VMFS -- LVID:56d80421-2cc5e41c-fe9c-000acd18c54e/56d80421-0eb53893-af39-000acd18c54e/1:( 80655417344 --> 81192288256)]
[ 9663676416: 536870912] --> [VMFS -- LVID:56d80421-2cc5e41c-fe9c-000acd18c54e/56d80421-0eb53893-af39-000acd18c54e/1:( 81192288256 --> 81729159168)]
[ 10200547328: 536870912] --> [VMFS -- LVID:56d80421-2cc5e41c-fe9c-000acd18c54e/56d80421-0eb53893-af39-000acd18c54e/1:( 81729159168 --> 82266030080)]
and
vmkfstools --fix repair /vmfs/volumes/56d80421-93745713-d238-000acd18c54e/XP_3/XP_3-flat.vmdk
DiskLib_Check() failed for source disk '/vmfs/volumes/56d80421-93745713-d238-000acd18c54e/XP_3/XP_3-flat.vmdk': The file specified is not a virtual disk (15).
How I can recover this files and VMs?