LinuxQuestions.org
Share your knowledge at the LQ Wiki.
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-14-2005, 03:30 AM   #1
arubin
Senior Member
 
Registered: Mar 2004
Location: Middx UK
Distribution: Slackware64 14.1 (multilib)
Posts: 1,209

Rep: Reputation: 55
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
 
Old 03-14-2005, 04:59 AM   #2
oneandoneis2
Senior Member
 
Registered: Nov 2003
Location: London, England
Distribution: Ubuntu
Posts: 1,460

Rep: Reputation: 46
Can you mount two at the same time?
 
Old 03-14-2005, 05:12 AM   #3
arubin
Senior Member
 
Registered: Mar 2004
Location: Middx UK
Distribution: Slackware64 14.1 (multilib)
Posts: 1,209

Original Poster
Rep: Reputation: 55
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?
 
Old 03-14-2005, 06:50 AM   #4
buffed317
Member
 
Registered: Jun 2004
Location: New Jersey, USA
Distribution: Slackware 11
Posts: 191

Rep: Reputation: 31
fdisk -l should list what everything is, once they are plugged in
 
1 members found this post helpful.
Old 03-14-2005, 02:02 PM   #5
arubin
Senior Member
 
Registered: Mar 2004
Location: Middx UK
Distribution: Slackware64 14.1 (multilib)
Posts: 1,209

Original Poster
Rep: Reputation: 55
Thanks buffy. That shows sdb1. I think it is sorted. :-)
 
Old 03-14-2005, 04:02 PM   #6
Ruler2112
Member
 
Registered: Oct 2004
Location: Michigan, US
Distribution: Redhat 7.3, 9.0; Slackware 10, 10.1, 10.2, 11; FreeBSD 7.0; KnoppMyth 5.5
Posts: 125

Rep: Reputation: 16
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
 
Old 03-14-2005, 04:22 PM   #7
buffed317
Member
 
Registered: Jun 2004
Location: New Jersey, USA
Distribution: Slackware 11
Posts: 191

Rep: Reputation: 31
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?
 
Old 01-16-2007, 10:22 PM   #8
symbal_pecah
LQ Newbie
 
Registered: Jan 2007
Posts: 1

Rep: Reputation: 0
help me

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

sory i'm still newbie

thanks
bepe
 
Old 01-17-2007, 02:52 AM   #9
mhpit
LQ Newbie
 
Registered: Jan 2007
Posts: 1

Rep: Reputation: 0
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?
 
Old 01-17-2007, 03:46 AM   #10
arubin
Senior Member
 
Registered: Mar 2004
Location: Middx UK
Distribution: Slackware64 14.1 (multilib)
Posts: 1,209

Original Poster
Rep: Reputation: 55
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
 
  


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
USB drive mount double mount issue pazzport Ubuntu 3 10-10-2005 08:28 PM
Can't mount usb drive esanchez Linux - Hardware 9 10-10-2004 10:39 PM
USB drive - cannot mount Wynd Linux - Hardware 2 05-01-2004 06:58 PM
USB drive won't mount. Borg Swarm DamnSmallLinux 1 02-07-2004 09:25 AM
mount usb module then mount usb hard drive guanyu Linux - Hardware 1 10-08-2003 11:50 AM


All times are GMT -5. The time now is 03:09 PM.

Main Menu
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