LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 12-09-2003, 08:15 PM   #1
devershetty
LQ Newbie
 
Registered: Jun 2003
Location: Gangavathi, Karnataka(state), INDIA
Distribution: Redhat 7.3
Posts: 28

Rep: Reputation: 15
Question IO error with dd command


Hi guys,

i have problem like this
my fdisk shows

# /sbin/fdisk -l /dev/hda

Disk /dev/hda: 20.4 GB, 20416757760 bytes
255 heads, 63 sectors/track, 2482 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

Device Boot Start End Blocks Id System
/dev/hda1 * 1 13 104391 83 Linux
/dev/hda2 14 144 1052257+ 83 Linux
/dev/hda3 145 275 1052257+ 83 Linux
/dev/hda4 276 2482 17727727+ f Win95 Ext'd (LBA)
/dev/hda5 276 1058 6289416 83 Linux
/dev/hda6 1059 1580 4192933+ 83 Linux
/dev/hda7 1581 1645 522081 82 Linux swap
/dev/hda8 1646 1707 497983+ 8e Linux LVM
/dev/hda9 1708 1832 1004031 83 Linux
/dev/hda10 1833 1957 1004031 83 Linux
/dev/hda11 1958 2082 1004031 83 Linux
/dev/hda12 2083 2207 1004031 83 Linux
/dev/hda13 2208 2482 2208906 8e Linux LVM


when i do dd as follows , I get IO error.

# dd if=/dev/hda9 of=/dev/hda10 bs=512
dd: reading `/dev/hda9': Input/output error
2008056+0 records in
2008056+0 records out

I think the problem of this error is somewhere '+' in partitioning.

any help I greatly appreciate.


__________________
-Kotresh.
 
Old 12-09-2003, 09:23 PM   #2
jailbait
LQ Guru
 
Registered: Feb 2003
Location: Blue Ridge Mountain
Distribution: Debian Jessie, Linux Mint 17
Posts: 7,750

Rep: Reputation: 271Reputation: 271Reputation: 271
"dd: reading `/dev/hda9': Input/output error"

There may be a bad block on /dev/hda9. umount /dev/hda9 and run fsck.fstype against it, where fstype is the filesystem type. For example:

umount /dev/hda9
fsck.ext2 /dev/hda9


___________________________________
Be prepared. Create a LifeBoat CD.
http://users.rcn.com/srstites/LifeBo...home.page.html

Steve Stites
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Ed command error hpaixao Programming 9 02-17-2005 03:26 PM
c++ command not found error... ? Cheka Linux - Newbie 2 01-29-2005 04:43 PM
CVS command error welson_sun Linux - Software 1 09-21-2004 11:16 PM
Error Using rm Command suchi_s Linux - General 15 05-29-2004 01:33 AM
command line > error mrtwice Linux - General 1 06-03-2003 05:47 PM


All times are GMT -5. The time now is 02:48 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration