Re: OT: dying disk - data recovery recommendations

2008-01-14 Thread KS
Dominique Dumont wrote:
 Douglas A. Tutty [EMAIL PROTECTED] writes:
 
 Find a way to attach that drive to a functional system.  One way would
 be to use a 2.5 portable USB enclosure. 
 
 No. from my experience USB will hang if the drive hit a wrong sector.
 

I had inserted the disk in an enclosure and connected to the G4 (with
new hard disk and new OS X 10.4) via Firewire cable. As there was lots
of space on the new HDD, I thought why not compile ddrescue and get the
image on the G4's new hard disk straight away! So I left the G4 running
with ddrescue trying to read the old hard disk over the weekend. On
Monday, it showed 149kB of successfully transfered data along with 30MB
of erroneous data!

Just as a last ditch effort before calling some data recovery service
company, I thought why not give it a try on the Linux box (which was
able to mount it read-only, the G4 didn't even do that!). The Linux box
is reading the disk connected via USB and had finished about 9GB by the
time I left without any errors. Now the only problem is that the disk is
38GB whereas I had only 32GB free on the Linux box! Need to take my
external 500GB disk along tomorrow.

 You should:
 - attach the disk to an internal IDE (or sata) cable
 - use dd_rescue to copy the image to a file (can be long) (or
   gddrescue)
 - fsck the copied image.
 
 Do not run fsck on a failing disk, it will make thing worse.
 
 HTH
 

The .img image(38GB) that ddrescue is creating, do I use fsck.hfsplus on
it or just fsck?

Thanks
KS.


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: OT: dying disk - data recovery recommendations

2008-01-11 Thread Dominique Dumont
Douglas A. Tutty [EMAIL PROTECTED] writes:

 Find a way to attach that drive to a functional system.  One way would
 be to use a 2.5 portable USB enclosure. 

No. from my experience USB will hang if the drive hit a wrong sector.

You should:
- attach the disk to an internal IDE (or sata) cable
- use dd_rescue to copy the image to a file (can be long) (or
  gddrescue)
- fsck the copied image.

Do not run fsck on a failing disk, it will make thing worse.

HTH

-- 
Dominique Dumont 
Delivering successful solutions requires giving people what they
need, not what they want. Kurt Bittner


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: OT: dying disk - data recovery recommendations

2008-01-11 Thread KS

On Thu, 10 Jan 2008 09:31:57 -0500, Douglas A. Tutty
[EMAIL PROTECTED] said:
 
 Perhaps, I've never needed to go that far.  The one time I thought I had
 a hard drive go bad and put it into another computer, it didn't get any
 errors on boot.  I just fsck'ed it and it was fine.  Turned out to be a
 hardware problem on the origional computer.
 
 My only experience with a laptop hard drive is on my IBM Thinkpad 600E.
 On that, you don't have to tear apart the unit:  one screw releases a
 cover and you slide out the hard drive.
 
Thinkpads, Toshibas, Dells, etc have been easy for hard disk
replacement. However, Macs involve quite a few screws with weird heads
to open them. This Powebook G4 had 19+12 screws!!

 So I've never actually needed dd_rescue so I don't know if it would be
 better.  As long as its not worse, then just that.  The important thing
 as I understand it is to get an image of the drive once then power off
 the drive.  Do all your fixing on a copy of the filesystem image.  Once
 you know what that needs, you can do it to the drive itself.
 
 Doug.
 

I connected the old hard disk via firewire to the powerbook and compiled
ddrescue to run on the G4 (new HDD and 10.4.11). It is just giving I/O
error in the syslog. I can't even be mounted. ddrescue has read 3MB in
the last half an hour and rescue zero bytes :(

Any other suggestions?
/KS
-- 
  KS
  [EMAIL PROTECTED]

-- 
http://www.fastmail.fm - A fast, anti-spam email service.


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: OT: dying disk - data recovery recommendations

2008-01-11 Thread Brian McKee

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1


On 11-Jan-08, at 3:43 PM, KS wrote:
I connected the old hard disk via firewire to the powerbook and  
compiled

ddrescue to run on the G4 (new HDD and 10.4.11). It is just giving I/O
error in the syslog. I can't even be mounted. ddrescue has read 3MB in
the last half an hour and rescue zero bytes :(

Any other suggestions?


Put the drive in a ziplock bag, removing as much air as possible and  
toss it in the freezer.


Pull it back out after it's cold soaked (couple of hours?) and hook  
it back up, leaving a freezer pack or something on top of it to help  
keep it cold while you try again.


Obviously this is a last resort  YMMV and if your cat demands  
a raise after the operation I claim no responsibility.
but I have had it work maybe twice in a over a half a dozen attempts  
at similar problems.


Brian
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.7 (Darwin)
Comment: Verify this email or encrypt your email for free - see gnupg.org

iD8DBQFHh93hGnOmb9xIQHQRAn6UAKCNy52kfTAqctrIEyo4CeD1Ic3KRQCfW+sP
JEjiisAwCGr6MQScHhqB800=
=1uDI
-END PGP SIGNATURE-


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]




Re: OT: dying disk - data recovery recommendations

2008-01-11 Thread Ron Johnson

On 01/11/08 14:43, KS wrote:
[snip]


I connected the old hard disk via firewire to the powerbook and compiled
ddrescue to run on the G4 (new HDD and 10.4.11). It is just giving I/O
error in the syslog. I can't even be mounted. ddrescue has read 3MB in
the last half an hour and rescue zero bytes :(

Any other suggestions?


1. Pray you've got a recent backup.

2. Invite over your interesting nieces  nephews and show them what 
the inside of a hard drive looks like.


--
Ron Johnson, Jr.
Jefferson LA  USA

I'm not a vegetarian because I love animals, I'm a vegetarian
because I hate vegetables!
unknown


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]




Re: OT: dying disk - data recovery recommendations

2008-01-11 Thread KS

On Fri, 11 Jan 2008 16:21:37 -0500, Brian McKee [EMAIL PROTECTED]
said:
 -BEGIN PGP SIGNED MESSAGE-
 Hash: SHA1
 
 
 On 11-Jan-08, at 3:43 PM, KS wrote:
  I connected the old hard disk via firewire to the powerbook and  
  compiled
  ddrescue to run on the G4 (new HDD and 10.4.11). It is just giving I/O
  error in the syslog. I can't even be mounted. ddrescue has read 3MB in
  the last half an hour and rescue zero bytes :(
 
  Any other suggestions?
 
 Put the drive in a ziplock bag, removing as much air as possible and  
 toss it in the freezer.
 
 Pull it back out after it's cold soaked (couple of hours?) and hook  
 it back up, leaving a freezer pack or something on top of it to help  
 keep it cold while you try again.
 
 Obviously this is a last resort  YMMV and if your cat demands  
 a raise after the operation I claim no responsibility.
 but I have had it work maybe twice in a over a half a dozen attempts  
 at similar problems.
 
 Brian

Thanks for that advice. It seemed to have made a difference  the
rescued data has changed from 0B to more than a 100kB. But there is more
than 6GB of data that matters. Below is the ddrescue status:

Starting positions: infile = 0 B,  outfile = 0 B
Copy block size: 128 hard blocks
Hard block size: 512 bytes
Max_retries: 0
Direct: noSparse: noSplit: yesTruncate: no

Press Ctrl-C to interrupt
Initial status (read from logfile)
rescued: 0 B,  errsize:   7880 kB,  errors:   1
Current status
rescued:142336 B,  errsize:   8275 kB,  current rate: 4096 B/s
   ipos: 8417 kB,   errors:   1,average rate: 1530 B/s
   opos: 8417 kB
Copying data...

I kept the disk between the two window panes for about 15min and as the
temperature outside is around 2C, it seemed to have helped.
/KS
-- 
  KS
  [EMAIL PROTECTED]

-- 
http://www.fastmail.fm - Send your email first class


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: OT: dying disk - data recovery recommendations

2008-01-11 Thread Marty

KS wrote:


I connected the old hard disk via firewire to the powerbook and compiled
ddrescue to run on the G4 (new HDD and 10.4.11). It is just giving I/O
error in the syslog. I can't even be mounted. ddrescue has read 3MB in
the last half an hour and rescue zero bytes :(

Any other suggestions?
/KS


You could try replacing the controller board with one from an identical drive.


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]




Re: OT: dying disk - data recovery recommendations

2008-01-10 Thread Douglas A. Tutty
On Wed, Jan 09, 2008 at 09:47:56PM -0500, KS wrote:
 Douglas A. Tutty wrote:
  On Tue, Jan 08, 2008 at 05:19:54PM -0500, KS wrote:
  I have a friend's G4(PPC) which seems to have a dying disk. He had run
  the Apple disk utility and it reported and error with the IDE disk. The
  machine just halts sometimes, with the disk trying to read something and
  the only way to shut down the machine was the power button.
 
  I tried doing an rsync to a remote directory and it made the hard disk
  busy after sending about 350MB (total home data is around 6GB). I have
  shut down the machine and trying to list various options of salvaging
  the data from the HDD. I was reading up on dd_rescue (had tried it on a
  couple of CDs earlier), foremost, and Sleuthkit. Does anyone have any
  recommendations on how to proceed in this case? Any live CD(PPC) which
  will be more helpful than the systemrescueCD (0.2.0 PPC)?
 
  
  Find a way to attach that drive to a functional system.  One way would
  be to use a 2.5 portable USB enclosure.  Then see if the functional
  system can dd it to an image file.  Then you can try fscking and
  mounting the image.  Copy the image file at each step.
 
 Got the enclosure but taking apart the G4 was a tough task. Could only
 accomplish it today. Will start working on the disk tomorrow. But
 wouldn't dd stall after some time as rsync did after transferring 350MB
 of data? Isn't dd_rescue a better choice in this case?

Perhaps, I've never needed to go that far.  The one time I thought I had
a hard drive go bad and put it into another computer, it didn't get any
errors on boot.  I just fsck'ed it and it was fine.  Turned out to be a
hardware problem on the origional computer.

My only experience with a laptop hard drive is on my IBM Thinkpad 600E.
On that, you don't have to tear apart the unit:  one screw releases a
cover and you slide out the hard drive.

So I've never actually needed dd_rescue so I don't know if it would be
better.  As long as its not worse, then just that.  The important thing
as I understand it is to get an image of the drive once then power off
the drive.  Do all your fixing on a copy of the filesystem image.  Once
you know what that needs, you can do it to the drive itself.

Doug.


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: OT: dying disk - data recovery recommendations

2008-01-09 Thread Jochen Schulz
KS:
 
 I have a friend's G4(PPC) which seems to have a dying disk. He had run
 the Apple disk utility and it reported and error with the IDE disk.

I am in exactly the same situation, currently. My approach is to use
dd_rescue (package name: ddrescue) to dump the disk's content and now I
am about to run testdisk on this dump to find the partition structure
and any file still intact.

Unfortunately, testdisk cannot write Mac partition tables itself, but I
plan to use parted for that, using the values found by testdisk. If it
works, I am going to run testdisk again to recover files from the
partitions. It already helped me recover a friend's friend's files from
an almost dead USB thumb drive, so I am quite optimistic that it will
help me out again.

J.
-- 
We are lining up to see you fall flat on your face.
[Agree]   [Disagree]
 http://www.slowlydownward.com/NODATA/data_enter2.html


signature.asc
Description: Digital signature


Re: OT: dying disk - data recovery recommendations

2008-01-09 Thread KS
Douglas A. Tutty wrote:
 On Tue, Jan 08, 2008 at 05:19:54PM -0500, KS wrote:
 I have a friend's G4(PPC) which seems to have a dying disk. He had run
 the Apple disk utility and it reported and error with the IDE disk. The
 machine just halts sometimes, with the disk trying to read something and
 the only way to shut down the machine was the power button.

 I tried doing an rsync to a remote directory and it made the hard disk
 busy after sending about 350MB (total home data is around 6GB). I have
 shut down the machine and trying to list various options of salvaging
 the data from the HDD. I was reading up on dd_rescue (had tried it on a
 couple of CDs earlier), foremost, and Sleuthkit. Does anyone have any
 recommendations on how to proceed in this case? Any live CD(PPC) which
 will be more helpful than the systemrescueCD (0.2.0 PPC)?

 
 Find a way to attach that drive to a functional system.  One way would
 be to use a 2.5 portable USB enclosure.  Then see if the functional
 system can dd it to an image file.  Then you can try fscking and
 mounting the image.  Copy the image file at each step.
 
 Doug.

Got the enclosure but taking apart the G4 was a tough task. Could only
accomplish it today. Will start working on the disk tomorrow. But
wouldn't dd stall after some time as rsync did after transferring 350MB
of data? Isn't dd_rescue a better choice in this case?

/KS


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: OT: dying disk - data recovery recommendations

2008-01-08 Thread KS
Ron Johnson wrote:
 On 01/08/08 16:19, KS wrote:
 Hi,

 I have a friend's G4(PPC) which seems to have a dying disk. He had run
 
 Linux or OSX?

OS X Tiger on the G4(PPC)

 the Apple disk utility and it reported and error with the IDE disk. The
 machine just halts sometimes, with the disk trying to read something and
 the only way to shut down the machine was the power button.

 I tried doing an rsync to a remote directory and it made the hard disk
 busy after sending about 350MB (total home data is around 6GB). I have
 
 Busy?  Isn't it *supposed* to be busily sending 6GB of data across the
 wire?
 
 Or does busy mean something else?

I agree 6GB will take time to transfer, but there was no change in the
size of the directory where I was dumping. Plus the activity monitor on
the G4 was not showing any network transfer. I did wait for about half
an hour though.

 shut down the machine and trying to list various options of salvaging
 the data from the HDD. I was reading up on dd_rescue (had tried it on a
 couple of CDs earlier), foremost, and Sleuthkit. Does anyone have any
 recommendations on how to proceed in this case? Any live CD(PPC) which
 will be more helpful than the systemrescueCD (0.2.0 PPC)?
 
 What happens when you fsck it?
 
Didn't try that yet. Will do that tomorrow morning.

Thanks,
/KS


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: OT: dying disk - data recovery recommendations

2008-01-08 Thread Ron Johnson

On 01/08/08 16:42, KS wrote:

Ron Johnson wrote:

On 01/08/08 16:19, KS wrote:

Hi,

I have a friend's G4(PPC) which seems to have a dying disk. He had run

Linux or OSX?


OS X Tiger on the G4(PPC)


the Apple disk utility and it reported and error with the IDE disk. The
machine just halts sometimes, with the disk trying to read something and
the only way to shut down the machine was the power button.

I tried doing an rsync to a remote directory and it made the hard disk
busy after sending about 350MB (total home data is around 6GB). I have

Busy?  Isn't it *supposed* to be busily sending 6GB of data across the
wire?

Or does busy mean something else?


I agree 6GB will take time to transfer, but there was no change in the
size of the directory where I was dumping. Plus the activity monitor on
the G4 was not showing any network transfer. I did wait for about half
an hour though.


So the drive light was lit, but nothing was happening?


shut down the machine and trying to list various options of salvaging
the data from the HDD. I was reading up on dd_rescue (had tried it on a
couple of CDs earlier), foremost, and Sleuthkit. Does anyone have any
recommendations on how to proceed in this case? Any live CD(PPC) which
will be more helpful than the systemrescueCD (0.2.0 PPC)?

What happens when you fsck it?


Didn't try that yet. Will do that tomorrow morning.


I'd also # tail -f /var/log/syslog (or the BSD equivalent) while 
you are trying the transfer.


--
Ron Johnson, Jr.
Jefferson LA  USA

I'm not a vegetarian because I love animals, I'm a vegetarian
because I hate vegetables!
unknown


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]




Re: OT: dying disk - data recovery recommendations

2008-01-08 Thread Ron Johnson

On 01/08/08 16:19, KS wrote:

Hi,

I have a friend's G4(PPC) which seems to have a dying disk. He had run


Linux or OSX?


the Apple disk utility and it reported and error with the IDE disk. The
machine just halts sometimes, with the disk trying to read something and
the only way to shut down the machine was the power button.

I tried doing an rsync to a remote directory and it made the hard disk
busy after sending about 350MB (total home data is around 6GB). I have


Busy?  Isn't it *supposed* to be busily sending 6GB of data across 
the wire?


Or does busy mean something else?


shut down the machine and trying to list various options of salvaging
the data from the HDD. I was reading up on dd_rescue (had tried it on a
couple of CDs earlier), foremost, and Sleuthkit. Does anyone have any
recommendations on how to proceed in this case? Any live CD(PPC) which
will be more helpful than the systemrescueCD (0.2.0 PPC)?


What happens when you fsck it?

--
Ron Johnson, Jr.
Jefferson LA  USA

I'm not a vegetarian because I love animals, I'm a vegetarian
because I hate vegetables!
unknown


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]




Re: OT: dying disk - data recovery recommendations

2008-01-08 Thread KS
Ron Johnson wrote:
 
 shut down the machine and trying to list various options of salvaging
 the data from the HDD. I was reading up on dd_rescue (had tried it on a
 couple of CDs earlier), foremost, and Sleuthkit. Does anyone have any
 recommendations on how to proceed in this case? Any live CD(PPC) which
 will be more helpful than the systemrescueCD (0.2.0 PPC)?
 
 What happens when you fsck it?
 

I have a feeling that Apple Hardware Diagnostic check utility CD might
have done that. But I will try it tomorrow before anything else.

/KS


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: OT: dying disk - data recovery recommendations

2008-01-08 Thread KS
Ron Johnson wrote:
 On 01/08/08 16:42, KS wrote:

 I agree 6GB will take time to transfer, but there was no change in the
 size of the directory where I was dumping. Plus the activity monitor on
 the G4 was not showing any network transfer. I did wait for about half
 an hour though.
 
 So the drive light was lit, but nothing was happening?
 

drive light? No light for it on the laptop. But it was spinning and
making some noise - regular spinning but a bit noisy. The noise didn't
have any clunk or really bad sound to tell that it was already in a bad
condition.

/KS


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: OT: dying disk - data recovery recommendations

2008-01-08 Thread Douglas A. Tutty
On Tue, Jan 08, 2008 at 05:19:54PM -0500, KS wrote:
 I have a friend's G4(PPC) which seems to have a dying disk. He had run
 the Apple disk utility and it reported and error with the IDE disk. The
 machine just halts sometimes, with the disk trying to read something and
 the only way to shut down the machine was the power button.
 
 I tried doing an rsync to a remote directory and it made the hard disk
 busy after sending about 350MB (total home data is around 6GB). I have
 shut down the machine and trying to list various options of salvaging
 the data from the HDD. I was reading up on dd_rescue (had tried it on a
 couple of CDs earlier), foremost, and Sleuthkit. Does anyone have any
 recommendations on how to proceed in this case? Any live CD(PPC) which
 will be more helpful than the systemrescueCD (0.2.0 PPC)?


Find a way to attach that drive to a functional system.  One way would
be to use a 2.5 portable USB enclosure.  Then see if the functional
system can dd it to an image file.  Then you can try fscking and
mounting the image.  Copy the image file at each step.

Doug.


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]