LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices


Reply
  Search this Thread
Old 03-24-2008, 09:57 PM   #1
tschima
Member
 
Registered: Apr 2006
Location: Arizona
Distribution: LinuxMint, knoppix, FreeBSD
Posts: 109

Rep: Reputation: 15
Transfer time has slowed down to ext HDD with dd


Hi,

I'm using Knoppix 5.1.1 on a medion laptop w/2GB ram, 160 GB HDD and have been backing up to an external Maxtor OneTouch Plus 4. I boot knoppix with the cheat code "laptop" and that's all. I first used firewire, then usb. Initially, I could dd my whole 160 gb in about 2 hours. But the last time it seems to be taking about 50 times as long. It hasn't finished yet. I started this backup about 17:00 and here at almost 22:00, the file is only about 18,901M. I use the same command to backup it up:

sudo dd if=/dev/sda of=/location/of/extHDD/filename.img bs=8192.

The source point is NOT mounted, the target is.

The only thing I can think of is that over the weekend, I installed Solaris Express (using the whole hdd), and then restored it from the earlier (fast) backup. Could Solaris have done something weird to the hard drive in the laptop? Or has the Maxtor taken a nose dive? (It's barely two weeks old). This Maxtor was a replacement to the first one I got. The firewire connection on the first one died. This really doesn't make sense. Any ideas? Thanks.

Terry
 
Old 03-25-2008, 01:38 AM   #2
Bruce Hill
HCL Maintainer
 
Registered: Jun 2003
Location: McCalla, AL, USA
Distribution: Arch, Gentoo
Posts: 6,939

Rep: Reputation: 129Reputation: 129
Have you checked if DMA is enabled? As root:
Code:
hdparm -i /dev/sda
and look for UDMA:
Code:
UDMA modes: udma0 udma1 udma2 udma3 udma4 udma5 *udma6
What about hdparm for your source?

I won't tell you about dd, but you can check some things here.

Is your byte size of 8192 correct?

There are several things.
 
Old 03-25-2008, 10:38 PM   #3
tschima
Member
 
Registered: Apr 2006
Location: Arizona
Distribution: LinuxMint, knoppix, FreeBSD
Posts: 109

Original Poster
Rep: Reputation: 15
Transfer time has slowed down to ext HDD with dd Reply to Thread

I didn't check dma this particular boot of knoppix, however, it was always enabled before without me having to specify it on the boot line.

However, hdparm -i /dev/sda returns some error. I forget which. So that makes me think the ext drive is bad in some way. But hdparm also returns an error with my laptop's hdd. I don't recall it doing that before. I got the 8192 from checking what hdparm said (before the errors). 8192 was the biggest I could use for both drives. Anyway, now I can't even recheck that.

As I said, it worked fine last week. Only took 2 hours to do 160 GB.

Thanks,
Terry
 
Old 03-25-2008, 10:41 PM   #4
tschima
Member
 
Registered: Apr 2006
Location: Arizona
Distribution: LinuxMint, knoppix, FreeBSD
Posts: 109

Original Poster
Rep: Reputation: 15
Transfer time has slowed down to ext HDD with dd Reply to Thread

I didn't check dma this particular boot of knoppix, however, it was always enabled before without me having to specify it on the boot line.

However, hdparm -i /dev/sda returns some error. I forget which. So that makes me think the ext drive is bad in some way. But hdparm also returns an error with my laptop's hdd. I don't recall it doing that before. I got the 8192 from checking what hdparm said (before the errors). 8192 was the biggest I could use for both drives. Anyway, now I can't even recheck that.

As I said, it worked fine last week. Only took 2 hours to do 160 GB.

I hooked the ext drive to another cpu (a desktop) and started a file copy with Midnight Commander. The file is 117 GB. It started out copying about 16-17 MB/second. A couple of hours later, I returned to check it, and it was down to 1.46 MB/sec. Later, I returned to check, and it was down to 1 MB/second, so I canceled it.

Thanks,
Terry
 
Old 03-25-2008, 10:48 PM   #5
Bruce Hill
HCL Maintainer
 
Registered: Jun 2003
Location: McCalla, AL, USA
Distribution: Arch, Gentoo
Posts: 6,939

Rep: Reputation: 129Reputation: 129
Terry,

I'd get the manufacturer's utility and check those drives.
 
Old 03-26-2008, 11:45 AM   #6
tschima
Member
 
Registered: Apr 2006
Location: Arizona
Distribution: LinuxMint, knoppix, FreeBSD
Posts: 109

Original Poster
Rep: Reputation: 15
Transfer time has slowed down to ext HDD with dd

The hard drive manufacturers utility. Why couldn't I think of something simple like that? It's not like I didn't know they existed. Thanks.

Terry
 
Old 03-27-2008, 01:27 AM   #7
cyberfishee
Member
 
Registered: Mar 2005
Distribution: Debian Testing
Posts: 133

Rep: Reputation: 15
Smells like a harddrive failure. I am not sure how Linux deals with this, but I have seen Windows gradually degrading transfer mode as I/O errors are detected (udma5 udma4 ... pio).
 
  


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
ext. usb HDD mounts read only for non root accounts logname Linux - Hardware 14 02-27-2006 04:17 PM
Safely removing ext hdd nanoprobe Linux - Hardware 1 07-24-2005 07:34 PM
ext hdd mounting read/write issue Jestrik Linux - Hardware 1 06-12-2004 08:46 AM
Unable to edit fstab... problems with ext. usb hdd removal gardyloo Linux - Newbie 1 12-27-2003 06:35 PM
Toshiba boot problems - USB ext HDD - new install wtriver Linux - Newbie 5 11-02-2003 04:38 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware

All times are GMT -5. The time now is 01:40 AM.

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
Open Source Consulting | Domain Registration