LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
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 10-27-2016, 02:49 PM   #1
newtuxuser
LQ Newbie
 
Registered: Mar 2005
Posts: 28

Rep: Reputation: 0
Opensuse 13.2 - usb disks not mounting after upgrade


Hi all,

My ever-thrustworthy linux desktop no longer mounts usb disks after todays upgrade.

See below :
.653524] usb-storage 2-5.4:1.0: USB Mass Storage device detected
[ 3907.653731] scsi27 : usb-storage 2-5.4:1.0
[ 3912.540629] scsi 27:0:0:0: Direct-Access TOSHIBA External USB 3.0 5438 PQ: 0 ANSI: 6
[ 3912.541992] sd 27:0:0:0: Attached scsi generic sg4 type 0
[ 3912.544445] sd 27:0:0:0: [sde] 3907029164 512-byte logical blocks: (2.00 TB/1.81 TiB)
[ 3912.545989] sd 27:0:0:0: [sde] Write Protect is off
[ 3912.545996] sd 27:0:0:0: [sde] Mode Sense: 23 00 00 00
[ 3912.548136] sd 27:0:0:0: [sde] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA
[ 3912.563098] sde: sde1
[ 3912.575810] sd 27:0:0:0: [sde] Attached SCSI disk
[ 3936.300512] SFW2-INext-DROP-DEFLT IN=enp2s0 OUT= MAC=d4:3d:7e:31:b3:e7:00:13:ce:71:a5:87:08:00 SRC=192.168.1.10 DST=192.168.1.9 LEN=44 TOS=0x00 PREC=0x00 TTL=128 ID=1278 PROTO=UDP SPT=1167 DPT=8612 LEN=24
[ 3965.197449] SFW2-INext-DROP-DEFLT IN=enp2s0 OUT= MAC=d4:3d:7e:31:b3:e7:00:13:ce:71:a5:87:08:00 SRC=192.168.1.10 DST=192.168.1.9 LEN=44 TOS=0x00 PREC=0x00 TTL=128 ID=1305 PROTO=UDP SPT=1170 DPT=8612 LEN=24
[ 3994.531729] SFW2-INext-DROP-DEFLT IN=enp2s0 OUT= MAC=d4:3d:7e:31:b3:e7:00:13:ce:71:a5:87:08:00 SRC=192.168.1.10 DST=192.168.1.9 LEN=44 TOS=0x00 PREC=0x00 TTL=128 ID=1332 PROTO=UDP SPT=1173 DPT=8612 LEN=24
[ 4023.467946] SFW2-INext-DROP-DEFLT IN=enp2s0 OUT= MAC=d4:3d:7e:31:b3:e7:00:13:ce:71:a5:87:08:00 SRC=192.168.1.10 DST=192.168.1.9 LEN=44 TOS=0x00 PREC=0x00 TTL=128 ID=1359 PROTO=UDP SPT=1176 DPT=8612 LEN=24
[ 4052.298344] SFW2-INext-DROP-DEFLT IN=enp2s0 OUT= MAC=d4:3d:7e:31:b3:e7:00:13:ce:71:a5:87:08:00 SRC=192.168.1.10 DST=192.168.1.9 LEN=44 TOS=0x00 PREC=0x00 TTL=128 ID=1392 PROTO=UDP SPT=1180 DPT=8612 LEN=24
[ 4081.147450] SFW2-INext-DROP-DEFLT IN=enp2s0 OUT= MAC=d4:3d:7e:31:b3:e7:00:13:ce:71:a5:87:08:00 SRC=192.168.1.10 DST=192.168.1.9 LEN=44 TOS=0x00 PREC=0x00 TTL=128 ID=1419 PROTO=UDP SPT=1183 DPT=8612 LEN=24
[ 4109.980697] SFW2-INext-DROP-DEFLT IN=enp2s0 OUT= MAC=d4:3d:7e:31:b3:e7:00:13:ce:71:a5:87:08:00 SRC=192.168.1.10 DST=192.168.1.9 LEN=44 TOS=0x00 PREC=0x00 TTL=128 ID=1446 PROTO=UDP SPT=1186 DPT=8612 LEN=24
marc@linux-7fi6:~> ^C


I used multiple disks , but all are unable to mount .

Any ideas how to get this working again ?

Wit best regards,
Marc
 
Old 10-27-2016, 03:36 PM   #2
designator
Member
 
Registered: Jun 2003
Location: California, USA
Distribution: OpenSUSE Tumbleweed
Posts: 219

Rep: Reputation: 37
Have you tried mounting by hand?
fdisk -l
mount /dev/sdXN /mnt/tmp

Last edited by designator; 10-27-2016 at 03:52 PM.
 
Old 10-27-2016, 03:46 PM   #3
newtuxuser
LQ Newbie
 
Registered: Mar 2005
Posts: 28

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by designator View Post
Have you tried mounting by hand?
fdisk -l
mount /mnt/tmp /dev/sdXN
not working either

fdisk -l shows this :


Device Boot Start End Sectors Size Id Type
/dev/sdd1 2048 3907027115 3907025068 1,8T 7 HPFS/NTFS/exFAT

Partitietabel-items are not in disk order.
Schijf /dev/sdd: 1,8 TiB, 2000398931968 bytes, 3907029164 sectoren
Eenheid: sectoren van 1 * 512 = 512 bytes
Sectorgrootte (logisch/fysiek): 512 bytes / 512 bytes
In-/uitvoergrootte (minimaal/optimaal): 512 bytes / 512 bytes
Schijflabeltype: dos
Schijf-ID: 0x7e929ae8




Before todays upgrade , the system could mount every usb-stick flawlessly

Last edited by newtuxuser; 10-27-2016 at 03:53 PM.
 
Old 10-27-2016, 03:48 PM   #4
designator
Member
 
Registered: Jun 2003
Location: California, USA
Distribution: OpenSUSE Tumbleweed
Posts: 219

Rep: Reputation: 37
What's the error message running command below?
mount /dev/sdd1 /mnt/tmp # replace /mnt/tmp with a real dir where you want to mount it.
 
Old 10-27-2016, 04:16 PM   #5
newtuxuser
LQ Newbie
 
Registered: Mar 2005
Posts: 28

Original Poster
Rep: Reputation: 0
It gives no error message



but it doesn't mount in the map I used : /home/me/usbdisk (I can't see any files there)

there has been an error when adressing 'GARFIELD', the system gives the following erro: An unspecified error has occurred: Adding read ACL for uid 0 to `/run/media/root' failed: Invalid argument

Garfield = my usb-disk

Last edited by newtuxuser; 10-27-2016 at 04:44 PM.
 
Old 10-27-2016, 04:50 PM   #6
designator
Member
 
Registered: Jun 2003
Location: California, USA
Distribution: OpenSUSE Tumbleweed
Posts: 219

Rep: Reputation: 37
Show me the complete output of
sudo fdisk -l

Sounds like you're trying to mount a wrong partition.
 
Old 10-27-2016, 05:03 PM   #7
TB0ne
LQ Guru
 
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 26,634

Rep: Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965
Quote:
Originally Posted by newtuxuser View Post
It gives no error message
but it doesn't mount in the map I used : /home/me/usbdisk (I can't see any files there)
Nope, it won't mount there any longer. It was 'fixed'/updated in 13.2. See this:
http://www.linuxquestions.org/questi...ix-4175540206/

...to reset it to something easier to find/remember.
Quote:
there has been an error when adressing 'GARFIELD', the system gives the following erro: An unspecified error has occurred: Adding read ACL for uid 0 to `/run/media/root' failed: Invalid argument
Garfield = my usb-disk
It seems it's seeing the device as /dev/sde, with a partion of /dev/sde1. Did you try to manually mount THAT? Are you trying to mount as root? What desktop GUI are you running? Are you trying to mount via GUI (applet, file manager, etc.), or via CLI (mount command)
 
1 members found this post helpful.
Old 10-27-2016, 05:15 PM   #8
newtuxuser
LQ Newbie
 
Registered: Mar 2005
Posts: 28

Original Poster
Rep: Reputation: 0
Meanwhile I have managed to mount an old 8GB Vfat usb-disk using : mount /dev/sdd1 /home/me/UsbDisk but this one refuses to mount automatically

The NTFS-disk /dev/sde1 does not work using this command. (it has been defragmented, so that's no issue )

This is the output of sudo fdisk -l

Schijf /dev/sda: 149,1 GiB, 160040803840 bytes, 312579695 sectoren
Eenheid: sectoren van 1 * 512 = 512 bytes
Sectorgrootte (logisch/fysiek): 512 bytes / 512 bytes
In-/uitvoergrootte (minimaal/optimaal): 512 bytes / 512 bytes
Schijflabeltype: dos
Schijf-ID: 0xe29be29b

Device Boot Start End Sectors Size Id Type
/dev/sda1 2048 4304895 4302848 2,1G 82 Linux swap / Solaris
/dev/sda2 * 4304896 312578047 308273152 147G 83 Linux

Schijf /dev/sdb: 1,8 TiB, 2000398934016 bytes, 3907029168 sectoren
Eenheid: sectoren van 1 * 512 = 512 bytes
Sectorgrootte (logisch/fysiek): 512 bytes / 4096 bytes
In-/uitvoergrootte (minimaal/optimaal): 4096 bytes / 4096 bytes
Schijflabeltype: dos
Schijf-ID: 0x00048d02

Device Boot Start End Sectors Size Id Type
/dev/sdb1 88100864 3907028991 3818928128 1,8T 83 Linux
/dev/sdb2 2048 35246079 35244032 16,8G 83 Linux
/dev/sdb3 35246080 88100863 52854784 25,2G 83 Linux

Partitietabel-items liggen niet in schijfvolgorde.
Schijf /dev/sdd: 7,5 GiB, 8036285952 bytes, 15695871 sectoren
Eenheid: sectoren van 1 * 512 = 512 bytes
Sectorgrootte (logisch/fysiek): 512 bytes / 512 bytes
In-/uitvoergrootte (minimaal/optimaal): 512 bytes / 512 bytes
Schijflabeltype: dos
Schijf-ID: 0x00000000

Device Boot Start End Sectors Size Id Type
/dev/sdd1 44 15679439 15679396 7,5G b W95 FAT32
/dev/sdd3 24897 24897 0 0B 0 Empty

Schijf /dev/sde: 1,8 TiB, 2000398931968 bytes, 3907029164 sectoren
Eenheid: sectoren van 1 * 512 = 512 bytes
Sectorgrootte (logisch/fysiek): 512 bytes / 512 bytes
In-/uitvoergrootte (minimaal/optimaal): 512 bytes / 512 bytes
Schijflabeltype: dos
Schijf-ID: 0x7e929ae8

Device Boot Start End Sectors Size Id Type
/dev/sde1 2048 3907027115 3907025068 1,8T 7 HPFS/NTFS/exFAT


I can mount /dev/sdd1 (the Vfat) manually

Mounting /dev/sde1 (NTFS) remains impossible

Is there a way to make any of both work automatically again ?


This is the output of the NTFS :
linux-7fi6:/home/marc # mount /dev/sde1 /home/marc/UsbDisk-Toshiba
The disk contains an unclean file system (0, 0).
The file system wasn't safely closed on Windows. Fixing.

Last edited by newtuxuser; 10-27-2016 at 05:18 PM.
 
Old 10-28-2016, 12:17 PM   #9
designator
Member
 
Registered: Jun 2003
Location: California, USA
Distribution: OpenSUSE Tumbleweed
Posts: 219

Rep: Reputation: 37
Quote:
Originally Posted by newtuxuser View Post
This is the output of the NTFS :
linux-7fi6:/home/marc # mount /dev/sde1 /home/marc/UsbDisk-Toshiba
The disk contains an unclean file system (0, 0).
The file system wasn't safely closed on Windows. Fixing.
The easiest solution to this is to plug this drive into a Windows machine (or VM,) allow it to clean/mark the FS clean and then plug it back into Linux. Don't forget to use safe eject on Windows.

Last edited by designator; 10-28-2016 at 12:18 PM.
 
Old 10-28-2016, 01:44 PM   #10
rnturn
Senior Member
 
Registered: Jan 2003
Location: Illinois (SW Chicago 'burbs)
Distribution: openSUSE, Raspbian, Slackware. Previous: MacOS, Red Hat, Coherent, Consensys SVR4.2, Tru64, Solaris
Posts: 2,800

Rep: Reputation: 550Reputation: 550Reputation: 550Reputation: 550Reputation: 550Reputation: 550
Quote:
Originally Posted by newtuxuser View Post
I can mount /dev/sdd1 (the Vfat) manually

Mounting /dev/sde1 (NTFS) remains impossible

Is there a way to make any of both work automatically again ?
I've also had "upgrades" to my 13.2 system and I'm having a similar problem. SD card was barely even getting detected upon insertion into the reader. Running "journalctl -f" showed that the USB subsystem was detecting something but it wasn't mounting it. Running "fdisk -l" didn't show it was present. Under KDE, clicking on the USB icon in the tray didn't show anything.

After a reboot, the device was showing up in journalctl output but it wasn't getting mounted. The USB icon in the KDE tray showed it was there -- it knew what the volume label was, showed me the standard three options of what I could do, etc. -- but trying any of those options just resulted in a message telling me it couldn't mount it. Running "fdisk -l" after the reboot showed it was there. I could mount it by hand as root. Then I could click on the USB tray icon and start a Dolphin session to copy files off of it.

This smells like some permissions screw-up was included with one of the recent patches as an unannounced "feature". I can attempt to umount the SD card using the tray icon but a pop-up dialog (unsurprisingly) informs me that someone else (that "root" fellow) mounted it. I'll post any fix if I come up with one.

I miss the days when you got release notes that you could read before you embarked on a patch session. They didn't warn you of 100% of what the patches were for but you at least had some idea of why the patches were being applied when you said "go" and when something went wrong you had an idea that it might be related to one of the patches.
 
Old 10-28-2016, 03:26 PM   #11
jimonlinux
LQ Newbie
 
Registered: Dec 2009
Posts: 20

Rep: Reputation: 0
I am having the same problem. I upgraded today, and the computer recognizes the usb stick and also the portable drive. Both were shut down correctly.
Error msg is:
Could not mount the following device .....
An unspecified error has occurred: Adding read ACL for uid 0 to `/run/media/root' failed: Invalid argument.

There are problems with this upgrade.
From root, a new desktop, and including my working desktop and all with the same results,
Need a fix for this problem.
 
Old 10-28-2016, 03:42 PM   #12
rnturn
Senior Member
 
Registered: Jan 2003
Location: Illinois (SW Chicago 'burbs)
Distribution: openSUSE, Raspbian, Slackware. Previous: MacOS, Red Hat, Coherent, Consensys SVR4.2, Tru64, Solaris
Posts: 2,800

Rep: Reputation: 550Reputation: 550Reputation: 550Reputation: 550Reputation: 550Reputation: 550
Quote:
Originally Posted by rnturn View Post
I'll post any fix if I come up with one.
Not my fix: TB0ne's link above did the trick. BTW, I noticed that all of the udev rules files in /usr/lib/udev/rules.d were dated "Oct 5" so that's either the date the patch team put together the "fix" or when I got around to downloading the patches.

At any rate: Note the warning at the top of the file referenced in the link. I found that placing the fix at the above link into a separate file works just fine:
Code:
# cd /etc/udev/rules.d
# vi 81-udisks2-local.rules
i
# Use /media, not /run/media/<username>
ENV{ID_FS_USAGE}=="filesystem|other|crypto", ENV{UDISKS_FILESYSTEM_SHARED}="1"
<ESC>
wq
# udevadm control --reload
Putting the fix under /etc makes it far, far less likely that you'll have redo the fix should a future patch replace files in /usr/lib/udev/rules.d.

Hope this helps...

Last edited by rnturn; 10-28-2016 at 03:44 PM.
 
2 members found this post helpful.
Old 10-30-2016, 03:47 AM   #13
docrob
LQ Newbie
 
Registered: Oct 2016
Posts: 2

Rep: Reputation: Disabled
This thread was very useful and informative, but as a relative newcomer, I find the rules file a bit opaque and I don't like "tinkering" unless I understand what I'm doing.

For those of similar mind, please note that the problem was fixed this morning by an update to the kernel desktop.
 
Old 10-30-2016, 09:09 PM   #14
rnturn
Senior Member
 
Registered: Jan 2003
Location: Illinois (SW Chicago 'burbs)
Distribution: openSUSE, Raspbian, Slackware. Previous: MacOS, Red Hat, Coherent, Consensys SVR4.2, Tru64, Solaris
Posts: 2,800

Rep: Reputation: 550Reputation: 550Reputation: 550Reputation: 550Reputation: 550Reputation: 550
Quote:
Originally Posted by docrob View Post
This thread was very useful and informative, but as a relative newcomer, I find the rules file a bit opaque and I don't like "tinkering" unless I understand what I'm doing.
I agree. documentation for some of these things is sparce and what's out there is a bit confusing to anyone not on the team that wrote the code. I learned a bit about the udev rules when writing my own rules for mounting cameras, CF/SD cards, etc. But I was putting things in "local" rules files the /etc/udev tree to avoid fooling around with the vendor-shipped files. And to avoid having them over-written by an update. If I screw something up, I merely "hide" the "local" file and reload the rules to undo my error.

Quote:
For those of similar mind, please note that the problem was fixed this morning by an update to the kernel desktop.
Q: Do you still having working sound? I've lost that feature on my main desktop system due (I think) to a recent patch. (Edit: never mind about this one. It appears that one of the patches may have muted my sound but running alsamixer and resetting the level cured the problem.)

Last edited by rnturn; 10-30-2016 at 11:44 PM.
 
  


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
plugdev group mounting usb pen disks and sd cards problems Laodiceans Slackware 6 07-15-2012 02:19 PM
[SOLVED] Success: Mounting USB Hard disks with partition table error ayteebee Linux - Software 1 03-03-2011 07:44 PM
mounting ntfs usb disks with utf8 sloteel Linux - Hardware 4 07-13-2008 03:57 AM
Weird USB mounting issue on OpenSuse. 10.2 Larry42 Linux - General 1 03-16-2007 02:38 PM
External USB HD Issues--Mounting w/OpenSuSE 10.2 Dieselashi Linux - Hardware 8 02-05-2007 01:28 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware

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