unable to mount external USB drives after upgrade to 12.10

Asked by James

Both my external HDD and my thumb drive give me an error Unable to mount Adding read ACL for uid 1002 to '/media/admin' failed: operation not supported.

It may be important to note that my ext HDD and Thumb Drive both appear in my device list, but when I click on them it says 'unable to mount'

When I used terminal, typing in sudo df -ah, I got the following information.

Filesystem Size Used Avail Use% Mounted on
/dev/sda1 226G 121G 94G 57% /
proc 0 0 0 - /proc
sysfs 0 0 0 - /sys
none 0 0 0 - /sys/fs/fuse/connections
none 0 0 0 - /sys/kernel/debug
none 0 0 0 - /sys/kernel/security
udev 998M 4.0K 998M 1% /dev
devpts 0 0 0 - /dev/pts
tmpfs 404M 1.1M 403M 1% /run
none 5.0M 0 5.0M 0% /run/lock
none 1009M 252K 1009M 1% /run/shm
none 100M 52K 100M 1% /run/user
binfmt_misc 0 0 0 - /proc/sys/fs/binfmt_misc
gvfsd-fuse 0.0K 0.0K 0.0K - /run/user/admin/gvfs
Filesystem Size Used Avail Use% Mounted on
/dev/sda1 226G 121G 94G 57% /
proc 0 0 0 - /proc
sysfs 0 0 0 - /sys
none 0 0 0 - /sys/fs/fuse/connections
none 0 0 0 - /sys/kernel/debug
none 0 0 0 - /sys/kernel/security
udev 998M 4.0K 998M 1% /dev
devpts 0 0 0 - /dev/pts
tmpfs 404M 1.1M 403M 1% /run
none 5.0M 0 5.0M 0% /run/lock
none 1009M 252K 1009M 1% /run/shm
none 100M 52K 100M 1% /run/user
binfmt_misc 0 0 0 - /proc/sys/fs/binfmt_misc
gvfsd-fuse 0.0K 0.0K 0.0K - /run/user/admin/gvfs

Thank all for any help in this matter

Question information

Language:
English Edit question
Status:
Solved
For:
Ubuntu util-linux Edit question
Assignee:
No assignee Edit question
Solved by:
schollsky
Solved:
Last query:
Last reply:
Revision history for this message
James (jimimack-fl) said :
#1

Sorry for the double paste :(

Revision history for this message
Subin Hutton (djlynux) said :
#2

Hi James, can you provide the out put of the following command

ll /media/

Revision history for this message
Warren Hill (warren-hill) said :
#3

Hi James

Subin's command will tell us if the drives are mounted in the expected place but will not help us find them if they aren't

Can you give us the output of the following command please

lsb_release -a; sudo fdisk -l; mount | grep ^'/dev';ls -la /media/

Revision history for this message
James (jimimack-fl) said :
#4

In response to:
 ll /media/

total 20
drwxr-xr-x 5 root root 4096 Oct 30 08:44 ./
drwxr-xr-x 23 root root 4096 Oct 25 16:45 ../
lrwxrwxrwx 1 root root 6 Apr 21 2009 cdrom -> cdrom0/
drwxr-xr-x 2 root root 4096 Apr 21 2009 cdrom0/
drwxr-xr-x 2 root root 4096 Apr 21 2009 cdrom1/
lrwxrwxrwx 1 root root 7 Apr 21 2009 floppy -> floppy0/
drwxr-xr-x 2 root root 4096 Apr 21 2009 floppy0/
-rw-r--r-- 1 root root 0 Aug 8 09:31 .hal-mtab

In response to:
 lsb_release -a; sudo fdisk -l; mount | grep ^'/dev';ls -la /media/

No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 12.10
Release: 12.10
Codename: quantal
[sudo] password for admin:
/dev/sda1 on / type ext3 (rw,relatime,errors=remount-ro)
total 20
drwxr-xr-x 5 root root 4096 Oct 30 08:44 .
drwxr-xr-x 23 root root 4096 Oct 25 16:45 ..
lrwxrwxrwx 1 root root 6 Apr 21 2009 cdrom -> cdrom0
drwxr-xr-x 2 root root 4096 Apr 21 2009 cdrom0
drwxr-xr-x 2 root root 4096 Apr 21 2009 cdrom1
lrwxrwxrwx 1 root root 7 Apr 21 2009 floppy -> floppy0
drwxr-xr-x 2 root root 4096 Apr 21 2009 floppy0
-rw-r--r-- 1 root root 0 Aug 8 09:31 .hal-mtab
admin@dave-desktop:~$ lsb_release -a; sudo fdisk -l; mount | grep ^'/dev';ls -la /media/
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 12.10
Release: 12.10
Codename: quantal
[sudo] password for admin:

Disk /dev/sda: 250.1 GB, 250059350016 bytes
255 heads, 63 sectors/track, 30401 cylinders, total 488397168 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x0006dd04

   Device Boot Start End Blocks Id System
/dev/sda1 * 63 476632484 238316211 83 Linux
/dev/sda2 476632485 488392064 5879790 5 Extended
/dev/sda5 476632548 488392064 5879758+ 82 Linux swap / Solaris

Disk /dev/sdb: 200.0 GB, 200049647616 bytes
255 heads, 63 sectors/track, 24321 cylinders, total 390721968 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x06b4ed26

   Device Boot Start End Blocks Id System
/dev/sdb1 63 12594959 6297448+ 12 Compaq diagnostics
/dev/sdb2 * 12594960 390716864 189060952+ 7 HPFS/NTFS/exFAT

Disk /dev/sdg: 40.0 GB, 40020664320 bytes
255 heads, 63 sectors/track, 4865 cylinders, total 78165360 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x05590558

   Device Boot Start End Blocks Id System
/dev/sdg1 * 63 78156224 39078081 7 HPFS/NTFS/exFAT
/dev/sda1 on / type ext3 (rw,relatime,errors=remount-ro)
total 20
drwxr-xr-x 5 root root 4096 Oct 30 08:44 .
drwxr-xr-x 23 root root 4096 Oct 25 16:45 ..
lrwxrwxrwx 1 root root 6 Apr 21 2009 cdrom -> cdrom0
drwxr-xr-x 2 root root 4096 Apr 21 2009 cdrom0
drwxr-xr-x 2 root root 4096 Apr 21 2009 cdrom1
lrwxrwxrwx 1 root root 7 Apr 21 2009 floppy -> floppy0
drwxr-xr-x 2 root root 4096 Apr 21 2009 floppy0
-rw-r--r-- 1 root root 0 Aug 8 09:31 .hal-mtab

Revision history for this message
Best schollsky (schollsky) said :
#5

Hi James,

you're most probably having this bug: #1048059 Adding ACLs to /media/$user does not work.

What you can do is the following:

1. Open a terminal window

2. Type in the following commands (whithout comment lines):

# Add a folder
sudo mkdir /media/USERNAME

# assign the folder to my user
sudo chown USERNAME.USERNAME /media/USERNAME

Automounting volumes should then work again.

Does it help?

Kind regards,

Stefan

Revision history for this message
James (jimimack-fl) said :
#6

I am not certain if USERNAME should be jimi or dave-desktop. Both are admin accounts, I'm signed on as jimi.
But as you see something is still amiss. The thumb drive and ext. HDD still appear but give the same error as before.

the following is what happened when I tried it:

admin@dave-desktop:~$ sudo mkdir /media/jimi
[sudo] password for admin:
admin@dave-desktop:~$ sudo chown jimi.jimi /media/jimi
chown: invalid user: `jimi.jimi'
admin@dave-desktop:~$ sudo mkdir /media/jimi
mkdir: cannot create directory `/media/jimi': File exists
admin@dave-desktop:~$ sudo chown jimi.jimi/media/jimi
chown: missing operand after `jimi.jimi/media/jimi'
Try `chown --help' for more information.

Revision history for this message
schollsky (schollsky) said :
#7

Hi James,

your posting clearly reflects that your computer name is dave-desktop and your username is admin. Please try:

1. sudo mkdir /media/admin

2. sudo chown admin.admin /media/

Revision history for this message
James (jimimack-fl) said :
#8

Thanks that solved it.

I sign in as jimi and it has always appeared as "admin@dave-desktop.

I want to thank you for clearing this up for me.

Revision history for this message
James (jimimack-fl) said :
#9

Thanks Stefan Czinczoll, that solved my question.

Revision history for this message
arumugamnadar (magmura) said :
#10

I too faced the same problem. Thank u for solving it so easily.

M. Arumugam