jamersonpro / ntfsmarkbad

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Cannot lock the drive. The volume is still in use.

Engraulis opened this issue · comments

Pazmechalka+log.zip

See Paz_Log.txt

To disable dead head on my HDD I use Paz.bat and PazPlus.bat - they contain multiple call's of MarkBad like:

NtfsMarkBad32.exe t: 40077568 40323840
NtfsMarkBad32.exe t: 40560128 40811392
NtfsMarkBad32.exe t: 41050880 41301248
...

But execution of NtfsMarkBad32.exe in batch often gives a error:

Cannot lock the drive. The volume is still in use.
An error has occurred.

And half of bads does not add to $BasCluster list.

I manage to complete my task using Pz_multi.bat
Just calling Paz.bat again and again until job done.

PS: My HDD is LBA cached by FancyCache
PPS: А па рюски тута спикаютъ?

How did you determine sector map for the bad head?

It looks like some other program is reading the contents of the disk after making changes to the file system.
A pause is probably needed before the next launch of NtfsMarkBad.

In version 0.0.2, a batch mode was added, when many clusters can be marked in one run. Just specify a file with a list of sectors ranges in the parameter, in this format:

40077568 40323840
40560128 40811392
41050880 41301248