LinuxQuestions.org
Go Job Hunting at the LQ Job Marketplace
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-09-2007, 12:41 PM   #1
rgaelzer
LQ Newbie
 
Registered: Mar 2007
Posts: 4

Rep: Reputation: 0
Slow file transfer for USB external drive


Since I upgraded to FC5, HAL/hotplug have been behaving strangely. The same behavior I'm having now with Fedora 6.

When I stick in my external USB HDD, it is recognized, a mount point is created (at /media/disk/ ) and it is automatically mounted, all right.
When I copy files FROM the external HD, I get the expected USB 2.0 transfer speed of up to ~10 MBps. However, when I transfer files TO the external HD, the speed drops to ~ 200 kBps (VERY SLOW, slower than USB 1.1). Does anyone know the reason for this?

On the other hand, if I mount manually the drive (with mount -t ext3 /dev/sda1 /mnt/usbext3) as root, I get the same speed (for USB 2.0) in both directions. What could be happening here?

Another bizarre behaviour that I get with either the external HDD or with a DVD is that if I close the session, the drives are unmounted and the mount point is removed. Well, this could be a reasonable behaviour, but I don't want it... I want to keep the drives mounted even if I close KDE. Where do I look for a configuration file (or configuration GUI) to change this feature?
 
Old 03-10-2007, 06:44 AM   #2
Lenard
Senior Member
 
Registered: Dec 2005
Location: Indiana
Distribution: RHEL/CentOS/SL 5 i386 and x86_64 pata for IDE in use
Posts: 4,790

Rep: Reputation: 56
Modify the /etc/fstab file for the external drives to be mounted/unmounted at your command, examples below;

Code:
/dev/sdb1               /media/usb1             auto    noauto,users,rw 0 0
/dev/sdb2               /media/usb2             auto    noauto,users,rw 0 0
/dev/sdb3               /media/usb3             auto    noauto,users,rw 0 0
/dev/scd1               /media/usb4             auto    noatime,noauto,users,rw 0 0
KDE menu--> Control Center--> Desktop--Behavior--> Device Icons Tab
Uncheck Show device icons: or uncheck the ones you do not want to use/show

You will have to add any device icon to the KDE Desktop you want by right clicking on an empty spot on the Desktop;

Create New --> Link to Device

.

Last edited by Lenard; 03-10-2007 at 06:46 AM.
 
Old 03-15-2007, 12:18 PM   #3
rgaelzer
LQ Newbie
 
Registered: Mar 2007
Posts: 4

Original Poster
Rep: Reputation: 0
Not useful.

Thanks for the tip, but this is what I've been doing all my life...

Now I'd like to be able to use the flexibility of the HAL/hotplug system without speed concerns. True, I could mount manually my external hdd or follow your suggestion, which is almost the same procedure.

The problem with doing that happens when I mount manually my hdd and then I insert a pen drive, for example, or in the reverse order. If I edit the /etc/fstab to mount the hdd on the /dev/sda1 device, then this device has to be available at mount time. I'm gonna have an error message if the device was previously taken by the pen drive.

The solution IMHO, would be one of the two following possibilities: either I can use HAL/hotplug with full USB 2.0 speeds (which I don't) or I could configure the system to reserve certain devices (as /dev/sda1) for a given hardware (as the hdd) and force the pen drive to mount on another device.

Does anyone have any idea about it?
 
  


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
FC6: In Rescue mode, how can i copy file to either external USB or to XP share drive? RMS1981 Fedora 11 01-19-2007 03:19 AM
USB Drive Transfer Rate Slow After Updating kenninaz Fedora 3 09-01-2005 04:46 AM
USB external drive very slow when reading file neranjana Linux - Hardware 8 03-07-2005 11:27 PM
External USB2 Drive: Large File Transfer Stalls randomi Linux - Newbie 3 08-20-2004 03:57 AM
USB external hard drive too slow TheShemeta Slackware 3 12-02-2003 04:33 PM


All times are GMT -5. The time now is 04:19 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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration