LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 04-05-2016, 09:27 PM   #1
PeterW2
LQ Newbie
 
Registered: Mar 2016
Location: Germany, Muenster
Distribution: Opensuse 64bit Leap 42.1
Posts: 12

Rep: Reputation: Disabled
Can't mount nor unmount USB stick


I use Slackware 14.1 64 bit and several file managers (Dolphin, Konqueror, ...) I use Dolphin for this example.

I use several USB sticks. But when I plugged in an USB stick today, it showed two USB sticks in the left side of the file manager. When I click on the "old" one (which isn't plugged in anymore; it's name is "Fedora...") I get an error (see below). When I click on the "new" one (which is currently plugged in) I get the contents of the old one!

Quote:
An error occurred while accessing 'Fedora-Live-WS-i686-23-10', the system responded: The kernel driver for this filesystem type is not available.: Error mounting: mount: /dev/sdb1 already mounted or /media/Fedora-Live-WS-i686-23-10_ busy
After rebooting the whole PC it is still the same!

EDIT: I use the huge kernel.

What can I do to fix this?

Last edited by PeterW2; 04-05-2016 at 09:29 PM.
 
Old 04-05-2016, 09:46 PM   #2
frankbell
LQ Guru
 
Registered: Jan 2006
Location: Virginia, USA
Distribution: Slackware, Ubuntu MATE, Mageia, and whatever VMs I happen to be playing with
Posts: 19,323
Blog Entries: 28

Rep: Reputation: 6141Reputation: 6141Reputation: 6141Reputation: 6141Reputation: 6141Reputation: 6141Reputation: 6141Reputation: 6141Reputation: 6141Reputation: 6141Reputation: 6141
Try deleting those two bookmarks from Dolphin and then inserting and mounting a thumbdrive and let us know what happens.
 
Old 04-06-2016, 12:19 AM   #3
PeterW2
LQ Newbie
 
Registered: Mar 2016
Location: Germany, Muenster
Distribution: Opensuse 64bit Leap 42.1
Posts: 12

Original Poster
Rep: Reputation: Disabled
I can't delete them, only hide.
And that doesn't change a lot.
Now I can access the current USB stick by clicking on the old one. And clicking the new one gets the same error as before.
 
Old 04-06-2016, 06:14 AM   #4
aragorn2101
Member
 
Registered: Dec 2012
Location: Mauritius
Distribution: Slackware
Posts: 567

Rep: Reputation: 301Reputation: 301Reputation: 301Reputation: 301
Try to see if there are several partitions on the usb stick. Please list the contents of the /dev/disk/ inner directories before and after you plug in the stick.
 
Old 04-06-2016, 06:26 AM   #5
PeterW2
LQ Newbie
 
Registered: Mar 2016
Location: Germany, Muenster
Distribution: Opensuse 64bit Leap 42.1
Posts: 12

Original Poster
Rep: Reputation: Disabled
Before:

Quote:
/dev/disk:
insgesamt 0
drwxr-xr-x 2 root root 200 Apr 6 07:40 by-id
drwxr-xr-x 2 root root 80 Apr 6 07:40 by-uuid

/dev/disk/by-id:
insgesamt 0
lrwxrwxrwx 1 root root 9 Apr 6 07:12 ata-HL-DT-ST_DVDRAM_GH24NS95_K8NCB3G4438 -> ../../sr0
lrwxrwxrwx 1 root root 9 Apr 6 07:12 ata-ST500DM002-1BD142_Z3T1SP7Y -> ../../sda
lrwxrwxrwx 1 root root 10 Apr 6 07:12 ata-ST500DM002-1BD142_Z3T1SP7Y-part1 -> ../../sda1
lrwxrwxrwx 1 root root 10 Apr 6 07:12 ata-ST500DM002-1BD142_Z3T1SP7Y-part2 -> ../../sda2
lrwxrwxrwx 1 root root 9 Apr 6 07:12 wwn-0x5000c5004dde166f -> ../../sda
lrwxrwxrwx 1 root root 10 Apr 6 07:12 wwn-0x5000c5004dde166f-part1 -> ../../sda1
lrwxrwxrwx 1 root root 10 Apr 6 07:12 wwn-0x5000c5004dde166f-part2 -> ../../sda2
lrwxrwxrwx 1 root root 9 Apr 6 07:12 wwn-0x5001480000000000 -> ../../sr0

/dev/disk/by-uuid:
insgesamt 0
lrwxrwxrwx 1 root root 10 Apr 6 07:12 4aa67423-fd68-456b-a64c-71da92e3e5ad -> ../../sda2
lrwxrwxrwx 1 root root 10 Apr 6 07:12 DE4E-DEA8 -> ../../sda1

After:

Quote:
/dev/disk:
insgesamt 0
drwxr-xr-x 2 root root 240 Apr 6 13:24 by-id
drwxr-xr-x 2 root root 60 Apr 6 13:24 by-label
drwxr-xr-x 2 root root 80 Apr 6 13:24 by-path
drwxr-xr-x 2 root root 100 Apr 6 13:24 by-uuid

/dev/disk/by-id:
insgesamt 0
lrwxrwxrwx 1 root root 9 Apr 6 07:12 ata-HL-DT-ST_DVDRAM_GH24NS95_K8NCB3G4438 -> ../../sr0
lrwxrwxrwx 1 root root 9 Apr 6 07:12 ata-ST500DM002-1BD142_Z3T1SP7Y -> ../../sda
lrwxrwxrwx 1 root root 10 Apr 6 07:12 ata-ST500DM002-1BD142_Z3T1SP7Y-part1 -> ../../sda1
lrwxrwxrwx 1 root root 10 Apr 6 07:12 ata-ST500DM002-1BD142_Z3T1SP7Y-part2 -> ../../sda2
lrwxrwxrwx 1 root root 9 Apr 6 13:24 usb-SanDisk_Cruzer_Edge_20043514011D72333EAB-0:0 -> ../../sdb
lrwxrwxrwx 1 root root 10 Apr 6 13:24 usb-SanDisk_Cruzer_Edge_20043514011D72333EAB-0:0-part1 -> ../../sdb1

lrwxrwxrwx 1 root root 9 Apr 6 07:12 wwn-0x5000c5004dde166f -> ../../sda
lrwxrwxrwx 1 root root 10 Apr 6 07:12 wwn-0x5000c5004dde166f-part1 -> ../../sda1
lrwxrwxrwx 1 root root 10 Apr 6 07:12 wwn-0x5000c5004dde166f-part2 -> ../../sda2
lrwxrwxrwx 1 root root 9 Apr 6 07:12 wwn-0x5001480000000000 -> ../../sr0

/dev/disk/by-label:
insgesamt 0
lrwxrwxrwx 1 root root 10 Apr 6 13:24 Fedora-Live-WS-i686-23-10 -> ../../sdb1

/dev/disk/by-path:
insgesamt 0
lrwxrwxrwx 1 root root 9 Apr 6 13:24 pci-0000:00:13.2-usb-0:3:1.0-scsi-0:0:0:0 -> ../../sdb
lrwxrwxrwx 1 root root 10 Apr 6 13:24 pci-0000:00:13.2-usb-0:3:1.0-scsi-0:0:0:0-part1 -> ../../sdb1

/dev/disk/by-uuid:
insgesamt 0
lrwxrwxrwx 1 root root 10 Apr 6 13:24 4CB1-8BAE -> ../../sdb1
lrwxrwxrwx 1 root root 10 Apr 6 07:12 4aa67423-fd68-456b-a64c-71da92e3e5ad -> ../../sda2
lrwxrwxrwx 1 root root 10 Apr 6 07:12 DE4E-DEA8 -> ../../sda1

Last edited by PeterW2; 04-06-2016 at 12:07 PM.
 
Old 04-06-2016, 10:39 AM   #6
Gerard Lally
Senior Member
 
Registered: Sep 2009
Location: Leinster, IE
Distribution: Slackware, NetBSD
Posts: 2,177

Rep: Reputation: 1761Reputation: 1761Reputation: 1761Reputation: 1761Reputation: 1761Reputation: 1761Reputation: 1761Reputation: 1761Reputation: 1761Reputation: 1761Reputation: 1761
Quote:
Originally Posted by PeterW2 View Post
I use several USB sticks. But when I plugged in an USB stick today, it showed two USB sticks in the left side of the file manager. When I click on the "old" one (which isn't plugged in anymore; it's name is "Fedora...") I get an error (see below). When I click on the "new" one (which is currently plugged in) I get the contents of the old one!
Have you an entry for /dev/sdb1 in /etc/fstab?
 
Old 04-06-2016, 11:50 AM   #7
PeterW2
LQ Newbie
 
Registered: Mar 2016
Location: Germany, Muenster
Distribution: Opensuse 64bit Leap 42.1
Posts: 12

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by gezley View Post
Have you an entry for /dev/sdb1 in /etc/fstab?
No, I haven't. AFAIK it would be a bad idea to have such an entry because then I had to mount it manually. But maybe I'm wrong about that.

Just for test purposes I added such an entry and mounting manually worked fine.
 
Old 04-06-2016, 11:55 AM   #8
bassmadrigal
LQ Guru
 
Registered: Nov 2003
Location: West Jordan, UT, USA
Distribution: Slackware
Posts: 8,792

Rep: Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656
Not sure if this is related, but it might be a bit (although, since you said it persisted through a reboot, I'm doubtful)... But I actually used a DVD a few weeks ago (I know, right? It'd been several years since I last used one, and that was a Slackware install disc). I had the drive open in konqueror and ejected the drive manually using the eject button on the drive itself. I then replaced that disc with another and tried to access it. I kept getting the folder contents of the previous disc. I then realized that I failed to unmount the drive before ejecting, so I had to close the open processes and then unmount the drive before I could then mount and use the other disc.

Maybe this can be helpful for future occurrences.

As for the fstab entry, I wouldn't use it. I think gezley asked that to verify you didn't have one that was causing this issue. For removable media, I would keep them out of the fstab (except for possibly external harddrives, if you have specific locations you want them mounted).
 
Old 04-08-2016, 06:09 AM   #9
aragorn2101
Member
 
Registered: Dec 2012
Location: Mauritius
Distribution: Slackware
Posts: 567

Rep: Reputation: 301Reputation: 301Reputation: 301Reputation: 301
Your USB stick looks healthy. When you plug it in, it is recognized as device /dev/sdb and it only contains one partition which is sdb1. The problem might be related with what bassmadrigal pointed out. Maybe the previous USB drive is not unmounted properly before you plug in the second one.
 
Old 04-08-2016, 09:13 AM   #10
PeterW2
LQ Newbie
 
Registered: Mar 2016
Location: Germany, Muenster
Distribution: Opensuse 64bit Leap 42.1
Posts: 12

Original Poster
Rep: Reputation: Disabled
Solved by using a different distro.
 
  


Reply



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 Camera mount and unmount, like Android jhdalben Linux - Hardware 1 04-19-2013 05:14 PM
How to stop USB stick to mount automatically and mount it manually. gardenair Linux - Hardware 1 01-26-2011 10:04 PM
usb in mount/unmount loop vishesh Linux - Kernel 1 04-09-2009 06:28 AM
usb mount and unmount vishesh Linux - Newbie 5 12-05-2008 03:57 AM
mount/umount usb stick - PQI Intelligent Stick 2.0 sandbag Linux - Software 5 05-06-2005 11:12 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 04:33 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