tech_monkey
Posts: 130
Joined: Fri Mar 09, 2012 6:12 pm

Disk cloning and or data recovery device

Thu Jun 07, 2012 3:49 pm

I was wondering if you could use the the PI as a disk cloning tool. Or even use it to repair an iffy drive, done this using RIP linux from a PC. Or data recovery device done this via a PC too but apart from taking ages to recover over 200 large photos it tied up an office PC for a good 36 hours.
I guess I would need a powered hub and a USB to Sata interface (and use an external power supply that plugs into the interface). Then the other problem would be are there any drivers needed for it or would it be plug and hopefully play ( I call it plug and pray)

So is it Possible, A Definite Maybe, Not sure or No Way.
http://www.casatech.eu

User avatar
nick.mccloud
Posts: 804
Joined: Sat Feb 04, 2012 4:18 pm

Re: Disk cloning and or data recovery device

Thu Jun 07, 2012 4:55 pm

A Definite Possible but I'm Not Sure what drivers you'd need ;)

Out of the box it can cope with ext & FAT, adding in NTFS drivers shouldn't be hard. Depends on how automated you want it and how far you want to go with scripting things.

ghans
Posts: 7878
Joined: Mon Dec 12, 2011 8:30 pm
Location: Germany

Re: Disk cloning and or data recovery device

Fri Jun 08, 2012 9:05 am

Shouldn't you be able to do this with a simple dd command ?
• Don't like the board ? Missing features ? Change to the prosilver theme ! You can find it in your settings.
• Don't like to search the forum BEFORE posting 'cos it's useless ? Try googling : yoursearchtermshere site:raspberrypi.org

bredman
Posts: 1415
Joined: Tue Jan 17, 2012 2:38 pm

Re: Disk cloning and or data recovery device

Fri Jun 08, 2012 9:15 am

I regularly use an NSLU2 to recover data from trashed hard disks. The NSLU2 is a much smaller ARM5 device using Debian, so there should be no problem with a Raspberry Pi.

This is the interface that I use to connect 2.5 and 3.5 and 5.25 hard disks (PATA and SATA).
www.dx.com/p/13083

tech_monkey
Posts: 130
Joined: Fri Mar 09, 2012 6:12 pm

Re: Disk cloning and or data recovery device

Sat Jun 09, 2012 3:32 pm

bredman wrote:I regularly use an NSLU2 to recover data from trashed hard disks. The NSLU2 is a much smaller ARM5 device using Debian, so there should be no problem with a Raspberry Pi.

This is the interface that I use to connect 2.5 and 3.5 and 5.25 hard disks (PATA and SATA).
http://www.dx.com/p/13083
Its very similar to what I have.
This will probably be my first project once my PI arrives as I have 2 iffy drives that I need to get data off of.
http://www.casatech.eu

DavidK
Posts: 10
Joined: Mon Feb 27, 2012 8:34 pm
Location: Kent, UK

Re: Disk cloning and or data recovery device

Mon Jun 11, 2012 7:16 pm

ghans wrote:Shouldn't you be able to do this with a simple dd command ?
ddrescue would be better as it doesn't give up on errors.

User avatar
Nfarrow
Posts: 47
Joined: Sat Dec 20, 2014 1:24 am
Location: Oklahoma, USA
Contact: Website Facebook Twitter YouTube

Re: Disk cloning and or data recovery device

Tue May 30, 2017 3:15 am

If you wanted to view what ddrescue is doing try something like this to get ddrescueview going.

Code: Select all

sudo apt-get install -y git
git https://github.com/VeggieVampire/ddrescueview_install
cd ddrescueview_install
./install.sh

example of coping from /dev/sda to /dev/sdb and dumping the log to, "/home/pi/rescue.logfile"

Code: Select all

ddrescue -d -f -r3 /dev/sda /dev/sdb /home/pi/rescue.logfile
Use ddrescueview to view the "/home/pi/rescue.logfile" with example above.
Image
Twitter: @farrownick
Instagram veggievampire
I own a lot of Pis....

Return to “Other projects”