==== INDEX =====
* http://rzr.online.fr/q/recover# #TestDisk / #PhotoRec new version , now session resuming seems to work , you can test my #DeB PackagE, enjoy
* http://rzr.online.fr/q/xfs#: PleasE HelP to #RecoveR #XfS #raid accidentally reformated disks of my #RaiD0 #NaS , also test some #deb 's
==== 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
* http://bugs.debian.org/cgi-bin/pkgreport.cgi?repeatmerged=no&src=testdisk
* https://github.com/jonstewart/liblightgrep/# PackagE
==== SOFTWARE ====
* Restoration (gratuit)
* DiskDigger (shareware)
* GetDackBack Pro (payant)
* TESTDISK - photorec
* RecoverIT (payant)
==== DDRESCUE ====
* https://tim.purewhite.id.au/2011/04/disk-recovery-which-files-are-damaged/
==== 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
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
* http://en.wikipedia.org/wiki/PhotoRec
* http://git.cgsecurity.org/cgit/testdisk/
* http://www.cgsecurity.org/wiki/TestDisk_Download
* http://packages.qa.debian.org/t/testdisk.html
* http://ubuntuforums.org/showthread.php?p=11449984#post11449984
* http://ircanswers.com/ubuntu/355649/anyone-any-suggestions-resume-photorec
* http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=630255
* http://rzr.online.fr/ubuntu/pool/main/t/testdisk/?C=M;O=D
==== TODO ====
http://www.digitalforensicssolutions.com/Scalpel/
==== OBSOLETE ====
==== RAID =====
* http://serverfault.com/questions/371704/mdadm-failure-detected-on-one-partition
/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)
ata2.00: status: { DRDY ERR }
ata2.00: error: { UNC }
ata2: hard resetting link
* http://www.stefanwienert.de/blog/2014/07/10/how-to-replace-soft-raid1-hard-drive-hetzner/
* http://blog.bandinelli.net/index.php?post/2013/02/23/mdadm-%C3%A0-la-rescousse-!
Model=SAMSUNG HD103UJ, FwRev=1AA01113, SerialNo=S1PVJ1N???????
@TaG: UnC [[HD103UJ]]
==== FILESYSTEM ====
* unrm
* mc /#undel:sda1
* http://foremost.sourceforge.net
===== 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
* http://ubuntuforums.org/showthread.php?p=3165641#post3165641
===== 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
* http://www.thetechmentor.com/posts/put-your-hard-drive-in-the-freezer-to-recover-data/
* http://geeksaresexy.blogspot.fr/2006/01/freeze-your-hard-drive-to-recover-data.html
===== MISC =====
* http://www.emergingtechs.com/posts/put-your-hard-drive-in-the-freezer-to-recover-data/# [[harddisk]] :
* http://www.geekyprojects.com/storage/how-to-recover-data-even-when-hard-drive-is-damaged/# Cooling ?
* http://packages.qa.debian.org/e/extundelete.html
* https://wiki.archlinux.org/index.php/File_Recovery
* http://www.cgsecurity.org/wiki/Advanced_Find_EXT2_EXT3_Backup_SuperBlock
* http://linuxfr.org/news/ddrescue-dd_rescue-myrescue-recuperer-ses-donnees-apres-un-crash-disque# WindowS
* https://tim.purewhite.id.au/2011/04/disk-recovery-which-files-are-damaged/# BadBlock
* https://github.com/Parchive/par2cmdline# FormaT
===== MORE =====
@TaG: [[medium]] [[fs]] IdE AtA NaS XfS [[CDROM]] [[SD]] [[raid]] [[xfs]] [[inode]] [[fs]] [[read]] [[mount]] [[copy]] [[rescue]] [[sata]] [[ata]] SnapShot ExT SsD AtA
{{https://theboldcorsicanflame.files.wordpress.com/2013/08/news_16025.jpg}}