INDEX

ToDo

http://bugs.debian.org/669666

Dear Maintainer,

Can you please forward upstream about this non interactive mode I did workaround this , using a hacked “expect script” I can share it (*), but I am fully happy with it…

So I'd like to put a resume task in my init script..

Recovering large disks could takes more than month …

(*) http://rzr.online.fr/q/recover

SOFTWARE

DDRESCUE

EXT2/EXT3/EXT4

I prefered to use ext4magic as :

  sudo ext4magic  /dev/sdc3 -r -f $USERl/Documents/ -d /tmp/local/tmp/

Note you have to resolv symlink by your own

Ref: http://sourceforge.net/projects/ext4magic/

TESTDISK

TestDisk 6.11, Data Recovery Utility, April 2009

Disk /dev/md127 - 984 GB / 916 GiB - CHS 240239968 2 4
Analyse cylinder 333689/240239967: 00%


  XFS 4                    0   0  1 240239967   1  4 1921919744
Warning: Incorrect number of heads/cylinder 255 (FAT) != 2 (HD)
Warning: Incorrect number of sectors per track 63 (FAT) != 4 (HD)
  FAT16                41583   0  1 296606   1  4    2040192

I've just build a deb of latest upstream, feel free to merge latest patch at :

http://rzr.online.fr/ubuntu/pool/main/t/testdisk/?C=M;O=D

http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=630255

I built latest version of testdisk/photorec 6.13 there are no major changes in packaging

Feel free to have a look at and merge debian/watch in :

http://rzr.online.fr/ubuntu/pool/main/t/testdisk/?C=M;O=D

I can upload a version to mentors if needed

If you put it under collab maintenance,

I or others may be able to speed up integration

PHOTOREC

PhotoRec 6.12, Data Recovery Utility, May 2011
Christophe GRENIER <grenier@cgsecurity.org>
http://www.cgsecurity.org

Disk /dev/md2 - 984 GB / 916 GiB (RO)
     Partition                  Start        End    Size in sectors
     Unknown                  0   0  1 240239967   1  4 1921919744 [Whole disk]


Pass 1 - Reading sector   16831272/1921919744, 27685 files found
Elapsed time 1h15m17s - Estimated time to completion 142h01m07

Pass 1 - Reading sector   46935336/1921919744, 21127 files found                                                                                    
Elapsed time 3h48m37s - Estimated time to completion 152h12m50
                                                                                                
Pass 0 - Reading sector   42648864/1921919744, 313 files found                                                                                      
Elapsed time 0h21m41s - Estimated time to completion 15h55m26      

TODO

OBSOLETE

RAID

/etc/init.d/samba stop
/etc/init.d/nfs-kernel-server stop
fsck /dev/md1
ata2: hard resetting link
ata2: SATA link up 3.0 Gbps (SStatus 123 SControl 300)
ata2.00: configured for UDMA/133
ata2: EH complete
ata2.00: exception Emask 0x0 SAct 0x4 SErr 0x0 action 0x6
ata2.00: edma_err_cause=00000084 pp_flags=00000003, dev error, EDMA self-disable
ata2.00: failed command: READ FPDMA QUEUED
ata2.00: cmd 60/10:10:e7:b7:2c/01:00:2a:00:00/40 tag 2 ncq 139264 in
         res 41/40:00:ef:b7:2c/00:00:2a:00:00/40 Emask 0x409 (media error) <F>
ata2.00: status: { DRDY ERR }
ata2.00: error: { UNC }
ata2: hard resetting link
Model=SAMSUNG HD103UJ, FwRev=1AA01113, SerialNo=S1PVJ1N???????

@TaG: UnC HD103UJ

FILESYSTEM

MEDIA

http://www.gnu.org/software/ddrescue/ddrescue.html

dd if=/dev/hda of=/tmp/cdrom.iso
dd: reading `/dev/hda': Input/output error
523232+0 records in
523232+0 records out
267894784 bytes (268 MB) copied, 91.361 seconds, 2.9 MB/s
cat /dev/hda >| /tmp/cdrom.iso
cat: /dev/hda: Input/output error
mount /dev/hda /mnt/hda
mkdir -p ${DESTDIR}/tmp/cdrom
rsync  -avx /mnt/hda/ ${DESTDIR}/tmp/cdrom/ | tee ${DESTDIR}/tmp/cdrom.txt
DEST=$TMPDIR/tmp/cdrom ;  mkdir -p $DEST
eject -t ; ddrescue -r8 -b 2048 /dev/cdrom $DEST.iso.tmp $DEST.txt ; eject
DEST=/tmp/cdrom.iso
ddrescue -r8 -b 2048 /dev/cdrom $DEST $DEST.txt && isoinfo -d -i $DEST && isoinfo -x -i $DEST
ddrescue: cannot open input file: No medium found
cat: /dev/cdrom: No medium found
sudo mount -t iso9660 -o loop cdrom.iso  ~/mnt/tmp ; dmesg | grep CD
mount: wrong fs type, bad option, bad superblock on /dev/loop0,
# Unable to identify CD-ROM format.

Problem while reading. Retrying from sector 24128

FREEZER

Had a 1TB (array) with broken HDD … ddrescue recovered all but 2GB last resort I put it in freezer and expect to recover a bit more

MISC

MORE

recover.txt · Last modified: 2022/12/08 15:59 by rzr
 
Except where otherwise noted, content on this wiki is licensed under the following license: CC Attribution-Share Alike 3.0 Unported
Recent changes RSS feed Donate Powered by PHP Valid XHTML 1.0 Valid CSS Driven by DokuWiki