Computer Forums

Member Login

Remember Me? Sign Up! | Forgot Password
 
Slogan
 
Closed Thread
Old 06-26-2009, 08:17 AM   #1 (permalink)
office politics's Avatar
 
It's all just 1s and 0s

Join Date: Jan 2004

Location: in the lab

Posts: 4,410

office politics will become famous soon enough

Default dd backup fails

a dd backup is failing due to read write error. is there anything I can do to diagnose?

it should copy 3gb

Code:
sh-3.1# dd if=/dev/hda1 | gzip -c | split -b 2000m - /mnt/share/Data.dd.
dd: reading `/dev/hda1': Input/output error
1837792+0 records in
1837792+0 records out
940949504 bytes (941 MB) copied, 576.656 seconds, 1.6 MB/s
sh-3.1# dd if=/dev/hda | gzip -c | split -b 2000m - /mnt/share/Data.dd.
dd: reading `/dev/hda': Input/output error
1837792+0 records in
1837792+0 records out
940949504 bytes (941 MB) copied, 614.545 seconds, 1.5 MB/s

office politics is offline  
Old 06-26-2009, 09:04 AM   #2 (permalink)
 

Join Date: Jul 2005

Location: England

Posts: 2,158

kmote has a spectacular aura aboutkmote has a spectacular aura about

Default Re: dd backup fails

You have a /dev/hda? What OS is this?
__________________
MSI P43 Neo|Enermax Pro82+ 425W|E5200|silent 8500GT|250GB Samsung spinpoint F1|Samsung SATA DVD RW|4GB Corsair|Antec SOLO|openSUSE11


There are in order of increasing severity: lies, darn lies, statistics, and computer benchmarks. - diskinfo man page
kmote is offline  
Old 06-26-2009, 04:00 PM   #3 (permalink)
office politics's Avatar
 
It's all just 1s and 0s

Join Date: Jan 2004

Location: in the lab

Posts: 4,410

office politics will become famous soon enough

Default Re: dd backup fails

os installed on the machine is win 2k pro.

i'm running knoppix 5.1 when executing the commands above.

The overall goal is to create a image of the machine and save it to a windows share which is located in mount share.

i'm faily certain /dev/hda is there because it starts copying data from the disk; noted by bytes copied in the output


i think i'll try running chkdsk to hunt for disk problems.
office politics is offline  
Old 06-28-2009, 03:29 PM   #4 (permalink)
 
Monster Techie

Join Date: Sep 2005

Location: /home/jason

Posts: 1,821

Jayce will become famous soon enoughJayce will become famous soon enough

Send a message via AIM to Jayce
Default Re: dd backup fails

Run chkdsk and see what it does. fsck from within knoppix on the same drive wouldn't be a bad idea either.

I don't have much experience with DD from command line, but did you ever consider Clonezilla LiveCD?
Jayce is offline  
Old 06-29-2009, 10:29 AM   #5 (permalink)
office politics's Avatar
 
It's all just 1s and 0s

Join Date: Jan 2004

Location: in the lab

Posts: 4,410

office politics will become famous soon enough

Default Re: dd backup fails

chkdsk didn't report any problems.

ill try fsck sometime soon.


are there any logs of what happens on the disk. something like dmesg, but i think dmesg is just for boot output.

i could try clonezilla, can it save to a windows share?

Last edited by office politics; 06-29-2009 at 10:32 AM.
office politics is offline  
Old 06-30-2009, 11:01 AM   #6 (permalink)
 
Monster Techie

Join Date: Sep 2005

Location: /home/jason

Posts: 1,821

Jayce will become famous soon enoughJayce will become famous soon enough

Send a message via AIM to Jayce
Default Re: dd backup fails

Quote:
Originally Posted by office politics View Post
chkdsk didn't report any problems.

ill try fsck sometime soon.


are there any logs of what happens on the disk. something like dmesg, but i think dmesg is just for boot output.

i could try clonezilla, can it save to a windows share?
I'm not positive about that. I've always used it locally to an external hard drive. I do remember when you hit the screen to select where the image gets saved there are a few options. I remember seeing Samba Server, SSH Server, and 2 or 3 others. I always just chose the default (local drive) and shot the image over to that. It's worth a shot to check out though, after all it's a free ISO and 1 blank CD. Maybe you'll catch some luck with it.
Jayce is offline  
 
Closed Thread

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
FBackup Plugin Based Windows Backup Software Osiris Tips, Tricks & Tutorials 0 06-17-2009 10:10 AM
Backup Magic Osiris Tips, Tricks & Tutorials 0 05-31-2009 12:18 PM
Backup Advice Techno-Man Windows Operating Systems and Software 2 02-14-2009 03:37 PM
Google Chrome Backup Osiris Browser & General Internet Questions 0 09-15-2008 08:54 PM
Linux Software: Backup Solutions Osiris Linux Tips and Tricks 3 07-25-2008 01:04 AM