Dear Masters,
I find if I copy the windows damaged files(item/folder) into virtual machine (ubuntu 12.04), and use par2 command to repair this item, then par2 work fine, the rapaired file is healthy
But, if I repair the damaged files in the windows server 2008 r2 (VM install in windows), then par2 would auto scan the reapired file after finish the repair, the reapired file is damaged(crc error)
I try to reinstall the virtual machine again, the par2 still cna't work fine( Maybe I nedd say it work fine,but it can reaair the remote sharing damaged file)
A half year before, I do the same step to install virtual machine and repair the damaged file and it worked fine, but I forgot the old linux kernel version and the version of vmware workstation
I think the new workstation or the vmware tool may have bug!!
Or, could someone tell me how to use virtual machine linux par2 sotfware to repair the damaged file in shaing folder(/mnt/hgfs/folder_name/files/) of local windows computer
Below is the two finds of situation information of par2 repair
@@@@Repair local sharing damaged file(/mnt/hgfs/folder_name/files)@@@@
Search - "TEST_FILES.203" - damaged. Found 1 of 11 data blocks
You can find par2 only successfully repair 1 block of this TEST_FILES.203 file
-----------------------------------------------------------------------------------------------------
TEST_ACCOUNT@ubuntu:/mnt/hgfs/D/TRANSFER/TEST$ par2 r TEST_FILES.200-End.par2
par2cmdline version 0.4, Copyright (C) 2003 Peter Brian Clements.
par2cmdline comes with ABSOLUTELY NO WARRANTY.
This is free software, and you are welcome to redistribute it and/or modify
it under the terms of the GNU General Public License as published by the
Free Software Foundation; either version 2 of the License, or (at your
option) any later version. See COPYING for details.
Loading "TEST_FILES.200-End.par2".
Loaded 10 new packets
Loading "TEST_FILES.200-End.vol00+6.par2".
Loaded 6 new packets including 6 recovery blocks
Loading "TEST_FILES.200-End.vol06+6.par2".
Loaded 6 new packets including 6 recovery blocks
There are 4 recoverable files and 0 other files.
The block size used was 97205676 bytes.
There are a total of 47 data blocks.
The total size of the data files is 4268212940 bytes.
Verifying source files:
Target: "TEST_FILES.200" - found.
Target: "TEST_FILES.201" - found.
Target: "TEST_FILES.202" - found.
Target: "TEST_FILES.203" - missing.
Scanning extra files:
Repair is required.
1 file(s) are missing.
3 file(s) are ok.
You have 36 out of 47 data blocks available.
You have 12 recovery blocks available.
Repair is possible.
You have an excess of 1 recovery blocks.
11 recovery blocks will be used to repair.
Computing Reed Solomon matrix.
Constructing: done.
Solving: done.
Wrote 16777200 bytes to disk
Wrote 16777200 bytes to disk
Wrote 16777200 bytes to disk
Wrote 16777200 bytes to disk
Wrote 16777200 bytes to disk
Wrote 16777200 bytes to disk
Wrote 16777200 bytes to disk
Wrote 16777200 bytes to disk
Wrote 16777200 bytes to disk
Wrote 16777200 bytes to disk
Wrote 16777200 bytes to disk
Wrote 16777200 bytes to disk
Wrote 16777200 bytes to disk
Wrote 16777200 bytes to disk
Wrote 16777200 bytes to disk
Wrote 16777200 bytes to disk
Wrote 16777200 bytes to disk
Wrote 16777200 bytes to disk
Wrote 16777200 bytes to disk
Wrote 16777200 bytes to disk
Wrote 16777200 bytes to disk
Wrote 16777200 bytes to disk
Wrote 16777200 bytes to disk
Wrote 16777200 bytes to disk
Wrote 16777200 bytes to disk
Wrote 16777200 bytes to disk
Wrote 16777200 bytes to disk
Wrote 16777200 bytes to disk
Wrote 16777200 bytes to disk
Wrote 16777200 bytes to disk
Wrote 16777200 bytes to disk
Wrote 16777200 bytes to disk
Wrote 16777200 bytes to disk
Wrote 16777200 bytes to disk
Wrote 16777200 bytes to disk
Wrote 16777200 bytes to disk
Wrote 16777200 bytes to disk
Wrote 16777200 bytes to disk
Wrote 16777200 bytes to disk
Wrote 16777200 bytes to disk
Wrote 16777200 bytes to disk
Wrote 16777200 bytes to disk
Wrote 16777200 bytes to disk
Wrote 16777200 bytes to disk
Wrote 16777200 bytes to disk
Wrote 16777200 bytes to disk
Wrote 16777200 bytes to disk
Wrote 16777200 bytes to disk
Wrote 16777200 bytes to disk
Wrote 15447908 bytes to disk
Wrote 15252000 bytes to disk
Wrote 15252000 bytes to disk
Wrote 15252000 bytes to disk
Wrote 15252000 bytes to disk
Wrote 15252000 bytes to disk
Wrote 15252000 bytes to disk
Wrote 15252000 bytes to disk
Wrote 15252000 bytes to disk
Wrote 15252000 bytes to disk
Wrote 15252000 bytes to disk
Wrote 15252000 bytes to disk
Wrote 15252000 bytes to disk
Wrote 15252000 bytes to disk
Wrote 11180760 bytes to disk
Verifying repaired files:
Target: "TEST_FILES.203" - damaged. Found 1 of 11 data blocks.
Repair Failed.
account@ubuntu:/mnt/hgfs/D/TRANSFER/TEST$
---------------------------------------------------------------------------------------------------
@@@@Repair damaged file in virtual machine(~/foldername/files)@@@@
Search - Target: "TEST_FILES.203" - found.
And you can see the par2 work fine.
TEST_ACCOUNT@ubuntu:~/code/TEST$ par2 r TEST_FILES.200-End.par2
par2cmdline version 0.4, Copyright (C) 2003 Peter Brian Clements.
par2cmdline comes with ABSOLUTELY NO WARRANTY.
This is free software, and you are welcome to redistribute it and/or modify
it under the terms of the GNU General Public License as published by the
Free Software Foundation; either version 2 of the License, or (at your
option) any later version. See COPYING for details.
Loading "TEST_FILES.200-End.par2".
Loaded 10 new packets
Loading "TEST_FILES.200-End.vol06+6.par2".
Loaded 6 new packets including 6 recovery blocks
Loading "TEST_FILES.200-End.vol00+6.par2".
Loaded 6 new packets including 6 recovery blocks
There are 4 recoverable files and 0 other files.
The block size used was 97205676 bytes.
There are a total of 47 data blocks.
The total size of the data files is 4268212940 bytes.
Verifying source files:
Target: "TEST_FILES.200" - found.
Target: "TEST_FILES.201" - found.
Target: "TEST_FILES.202" - found.
Target: "TEST_FILES.203" - missing.
Scanning extra files:
Repair is required.
1 file(s) are missing.
3 file(s) are ok.
You have 36 out of 47 data blocks available.
You have 12 recovery blocks available.
Repair is possible.
You have an excess of 1 recovery blocks.
11 recovery blocks will be used to repair.
Computing Reed Solomon matrix.
Constructing: done.
Solving: done.
Wrote 16777200 bytes to disk
Wrote 16777200 bytes to disk
Wrote 16777200 bytes to disk
Wrote 16777200 bytes to disk
Wrote 16777200 bytes to disk
Wrote 16777200 bytes to disk
Wrote 16777200 bytes to disk
Wrote 16777200 bytes to disk
Wrote 16777200 bytes to disk
Wrote 16777200 bytes to disk
Wrote 16777200 bytes to disk
Wrote 16777200 bytes to disk
Wrote 16777200 bytes to disk
Wrote 16777200 bytes to disk
Wrote 16777200 bytes to disk
Wrote 16777200 bytes to disk
Wrote 16777200 bytes to disk
Wrote 16777200 bytes to disk
Wrote 16777200 bytes to disk
Wrote 16777200 bytes to disk
Wrote 16777200 bytes to disk
Wrote 16777200 bytes to disk
Wrote 16777200 bytes to disk
Wrote 16777200 bytes to disk
Wrote 16777200 bytes to disk
Wrote 16777200 bytes to disk
Wrote 16777200 bytes to disk
Wrote 16777200 bytes to disk
Wrote 16777200 bytes to disk
Wrote 16777200 bytes to disk
Wrote 16777200 bytes to disk
Wrote 16777200 bytes to disk
Wrote 16777200 bytes to disk
Wrote 16777200 bytes to disk
Wrote 16777200 bytes to disk
Wrote 16777200 bytes to disk
Wrote 16777200 bytes to disk
Wrote 16777200 bytes to disk
Wrote 16777200 bytes to disk
Wrote 16777200 bytes to disk
Wrote 16777200 bytes to disk
Wrote 16777200 bytes to disk
Wrote 16777200 bytes to disk
Wrote 16777200 bytes to disk
Wrote 16777200 bytes to disk
Wrote 16777200 bytes to disk
Wrote 16777200 bytes to disk
Wrote 16777200 bytes to disk
Wrote 16777200 bytes to disk
Wrote 15447908 bytes to disk
Wrote 15252000 bytes to disk
Wrote 15252000 bytes to disk
Wrote 15252000 bytes to disk
Wrote 15252000 bytes to disk
Wrote 15252000 bytes to disk
Wrote 15252000 bytes to disk
Wrote 15252000 bytes to disk
Wrote 15252000 bytes to disk
Wrote 15252000 bytes to disk
Wrote 15252000 bytes to disk
Wrote 15252000 bytes to disk
Wrote 15252000 bytes to disk
Wrote 15252000 bytes to disk
Wrote 11180760 bytes to disk
Verifying repaired files:
Target: "TEST_FILES.203" - found.
Repair complete.
TEST_ACCOUNT@ubuntu:~/code/TEST$
--------------------------------------------------------------------------------------------------------
BTW, linux kernel is "Linux ubuntu 3.8.0-29-generic #42~precise1-Ubuntu SMP Wed Aug 14 16:19:23 UTC 2013 x86_64 x86_64 x86_64 GNU/Linux"
I refer below homepages to finish installing the vmware tool.
http://hi.baidu.com/ghostviper/item/cd9c96e57f61d3a7cf2d4fb9
12.10 - VMWare can't find linux headers path - Ask Ubuntu