Linux - NewbieThis 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!
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Introduction to Linux - A Hands on Guide
This guide was created as an overview of the Linux Operating System, geared toward new users as an exploration tour and getting started guide, with exercises at the end of each chapter.
For more advanced trainees it can be a desktop reference, and a collection of the base knowledge needed to proceed with system and network administration. This book contains many real life examples derived from the author's experience as a Linux system and network administrator, trainer and consultant. They hope these examples will help you to get a better understanding of the Linux system and that you feel encouraged to try out things on your own.
Click Here to receive this Complete Guide absolutely free.
I would suggest plugging in the drive and right after typing 'dmesg' in a shell. There should be some output at the very end about 'sda:' or 'sdb:' on about 10-20 lines. That could tell us which kernel driver is grabbing the device - it could be using the USB 1.1 driver instead of the USB 2.0 driver (if it's a USB 2.0 drive).
Well most likely it detects the drive but does not mount it, perform the step from my message above after plugging in your drive and see if the kernel recognizes the device. Once the kernel sees the drive you should be able to mount it with a command along the lines of 'mount /dev/sda1 /mnt/usb_stick' (sda1 depends on the dmesg output, sometimes this can be sdb or sdc, but the 1(this is the partition number) should follow if you got a standard FAT32 drive with one partition).
Here are my first 4 usb related lines after plugging in my device, so if you could please post a few more lines above what you posted. To be specific I am interested in 'USB device using uhci_hcd' that is the driver that took it.
usb 4-2: new full speed USB device using uhci_hcd and address 2
scsi0 : SCSI emulation for USB Mass Storage devices
usb-storage: device found at 2
usb-storage: waiting for device to settle before scanning
Also please paste the output of 'hdparm -Tt /dev/sda' when the device is plugged in, this will run some read timing tests on the device. For example my output for a 1.1 usb drive using the uhci_hcd driver is:
Timing cached reads: 3280 MB in 2.00 seconds = 1638.61 MB/sec
Timing buffered disk reads: 4 MB in 4.41 seconds = 929.78 kB/sec
Is Suse automounting it? If so it might be using the sync option which is cool because it means if you rip the disk out mid-write you won't lose lots of data but it's bad in that it is so incredibly anal about how it does it's writes that it's super slow. I accidently had sync enabled on my iPod and copying a few GB over took hours, turn that off and it takes less than a minute.
Run this the the flash drive mounted and see if it says 'sync' anywhere in the parenthesis at the end:
Well now you know your problem at least. I don't know the answer though, I don't use any kind of automounter and from what I've heard, if you edit /etc/fstab it'll just revert itself next time you reboot. Ask on the Suse forums, you'll get a better answer. For a temporary solution, after the device has automounted then run this series of commands from a terminal as root to unmount and it remount it without the sync option. Find out from the Suse guys how to do it permenantly.
mount -o umask=0,rw /dev/sda1 /media/U-STORAGE