LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Hardware (http://www.linuxquestions.org/questions/linux-hardware-18/)
-   -   Mount usb drive, umount and mount another drive (http://www.linuxquestions.org/questions/linux-hardware-18/mount-usb-drive-umount-and-mount-another-drive-301367/)

arubin 03-14-2005 03:30 AM

Mount usb drive, umount and mount another drive
 
I can mount and umount and mount again my usb pendrive
I can mount and umount and mount again my usb hard drive
I can mount and umount and mount again my usb MP3 player

What I cannot do is mount one of them, umount them, then unplug it and plug in and mount one of the others. Once I have mounted one of them the only one that it will accept is the same device, unless I reboot.

This problem occurs whether root or user with
mount -t vfat /dev/sda1 /mnt/flash


I get bad block device errors.

What am I doing wrong

Thanks

Alan

oneandoneis2 03-14-2005 04:59 AM

Can you mount two at the same time?

arubin 03-14-2005 05:12 AM

I have never tried. My PC is old and short of ports but I will have a go.

If I mount them at the same time presumably the first would be sda1. What would the second be?

buffed317 03-14-2005 06:50 AM

fdisk -l should list what everything is, once they are plugged in

arubin 03-14-2005 02:02 PM

Thanks buffy. That shows sdb1. I think it is sorted. :-)

Ruler2112 03-14-2005 04:02 PM

I have this same problem on my RedHat 7.3 box, only I get no medium found instead of bad blocks. I found a workaround, but figure that the problem will go away when I have time to install a semi-recent distro on this machine.


My solution is:

Code:

<umount old drive, disconnect>
su -l
modprobe -r usb-storage
<wait ~5-10 seconds>
modprobe usb-storage
exit
<plug in new device>
mount /dev/sda1


buffed317 03-14-2005 04:22 PM

your problem may be that the module for usb storage doesnt load at boot. what you are doing is loading the module with the modprobe command. do you use hotplugging?

symbal_pecah 01-16-2007 10:22 PM

help me
 
sombody help,
i have problem, my usb flash not detected my slackware

sory i'm still newbie

thanks
bepe

mhpit 01-17-2007 02:52 AM

can't read supperblock
 
I'm using REL4 with kernel version 2.6.9.
When I mount my USB using command
root@REL # mount -t vfat /dev/sda /home/usb
it raise error
"can't read supperblock"
what should I do?

arubin 01-17-2007 03:46 AM

symbal pecah
Put in the usb flash. Wait 10 seconds, run dmesg from the console, post the last 20 lines here.

mhpit
You probably need sda1, not sda


All times are GMT -5. The time now is 03:17 AM.