How to list NTFS files, - sw request ddrutility [open]

All other questions
Tuipveus
Posts: 101
Joined: 18 Nov 2006, 13:09
Contact:

How to list NTFS files, - sw request ddrutility [open]

Postby Tuipveus » 07 Sep 2014, 09:24

Hello,

I was asked to rescue broken harddisk. I used ddrescue to rescue 80 GB (copied data to another disk), except the broken sectors which contains 7887 kB data. There is NTFS on this disk and now I am interested that is it possible to get information from MFT or somewhere else, that which files are using these specific broken sectors. If I can get list of those files, I can probably copy those from other diskimage. Do you think this is possible with ntfsinfo or some other tool ?

gernot
Posts: 1127
Joined: 07 Apr 2010, 16:19

Re: How to list NTFS files, which use some specific sector?

Postby gernot » 07 Sep 2014, 10:09

Using ddrescue with the fill-mode option and grep can help to find bad files.

I dont know a linux tool who do this task well.

Gernot

Tuipveus
Posts: 101
Joined: 18 Nov 2006, 13:09
Contact:

Re: How to list NTFS files, which use some specific sector?

Postby Tuipveus » 07 Sep 2014, 11:12

I found solution:
http://blog.pfuender.net/archives/80

I would like this to be included also to the systemrescuecd. Please notice the comments of someone (gnu) who already used it with srcd. I had to modify the grep of original script as Gnu wrote.

Nice little script, but too bad I still have too many important files in broken blocks. Next I will try to deep freeze the disk, to see if ddrescue can recover more files. Its only 7887 kB data, but it still contains 15774 of those 512 blocks, and could be 15774 different files at maximum (if blocksize is 4k).

It is still counting, but now I am missing 577 files, where about 450 would be nice to have.

Tuipveus
Posts: 101
Joined: 18 Nov 2006, 13:09
Contact:

Re: How to list NTFS files, which use some specific sector?

Postby Tuipveus » 07 Sep 2014, 19:04

Actually the better version is here:
http://forum.hddguru.com/viewtopic.php?t=22392&start=

and even better here:
http://ubuntuforums.org/showthread.php?p=11779251

and probably better here:
http://sourceforge.net/projects/ddrutility/

I used today the one from Ubuntu-forums and with couple of libs from Debian, with modification using fdisk instead of gfdisk (I just have simple dos-partitiontables).

I think this should be definitely feature-request for SRCD. However, please start of the latest version, don't do like I did.
Only dependency which I think is actually missing is gnu-fdisk (gfdisk) and you can simply drop g out of gfdisk of this script and it still works fine with dos-partitiontables.

I wonder why my "fdisk -lu" didn't work with SRCD, because missing libaries... maybe I am using some old version, didn't check yet.

Tuipveus
Posts: 101
Joined: 18 Nov 2006, 13:09
Contact:

Re: How to list NTFS files, which use some specific sector?

Postby Tuipveus » 08 Sep 2014, 22:26

The latest version in sourceforge is something that works very very fast compared to other versions.
With these softwares there is also support for ext-filesystems and even more. They should be definitely installed in srcd.

Tuipveus
Posts: 101
Joined: 18 Nov 2006, 13:09
Contact:

Re: How to list NTFS files, - sw request ddrutility [open]

Postby Tuipveus » 02 Jan 2015, 08:21

Any possibility to add this software ?


Return to “Other”

Who is online

Users browsing this forum: No registered users and 5 guests