mount issue in ubuntu 12.10

Posted by Vipin Ms on Ask Ubuntu See other posts from Ask Ubuntu or by Vipin Ms
Published on 2012-10-21T14:10:38Z Indexed on 2012/10/21 17:20 UTC
Read the original article Hit count: 223

Filed under:
|

I'm having issue with latest Ubuntu 12.10. Let me make it more clear.

I'm having the following partitions in my Laptop.

  Device Boot      Start         End      Blocks   Id  System
/dev/sda1            2048    39997439    19997696   83  Linux 
/dev/sda2   *    40001850    81947564    20972857+  83  Linux
/dev/sda3        81947565   123877214    20964825   83  Linux
/dev/sda4       123887614   976773119   426442753    5  Extended
/dev/sda5       123887616   333602815   104857600   83  Linux
/dev/sda6       333604864   543320063   104857600   83  Linux
/dev/sda7       543322112   753037311   104857600   83  Linux
/dev/sda8       753039360   976773119   111866880   83  Linux

I have also two users named "ms" and abc. Here ms is for administrative tasks and abc for my friends. When I mount any drive under "abc" user, I cannot access it under my other user "ms". Same as in the case with "ms" user. I found possible reason behind the issue. When I mount any drive under "abc" user, Ubuntu will try to mount it under "/media/abc/volume_name" instead of "/media/volume_name" . Same as in the case with "ms" user.

# df -h
Filesystem      Size  Used Avail Use% Mounted on
/dev/sda1        19G   11G  7.5G  59% /
udev            1.5G  4.0K  1.5G   1% /dev
tmpfs           599M  896K  598M   1% /run
none            5.0M     0  5.0M   0% /run/lock
none            1.5G  620K  1.5G   1% /run/shm
none            100M   92K  100M   1% /run/user
/dev/sda2        20G  172M   19G   1% /media/abc/TEST
/dev/sdb1       466G  353G  114G  76% /media/abc/F088F74288F7063E
/dev/sdb2       466G  318G  148G  69% /media/abc/New Volume
/dev/sda5        99G   94G  323M 100% /media/abc/Songs
/dev/sda6        99G   31G   63G  34% /media/ms/Films

Here, you can see that "TEST" was mounted under "/media/abc/TEST". When I try to access the already mounted partition named '/media/abc/TEST" in my "ms" session I'm getting the following error.


Please check the image for error message


How to fix this error? Is it a bug? Is there any way to fix this without modifying the underlying file-system structure?

© Ask Ubuntu or respective owner

Related posts about mount

  • 12.10 update breaks NFS mount

    as seen on Ask Ubuntu - Search for 'Ask Ubuntu'
    I've just upgraded to the latest 12.10 beta. Rebooted twice. The problem is with the NFS folders not mounting, here's a verbose log. # mount -v myserver:/nfs_shared/tools /tools/ mount: no type was given - I'll assume nfs because of the colon mount.nfs: timeout set for Mon Oct 1 11:42:28 2012 mount… >>> More

  • Mount SMB / AFP 13.10

    as seen on Ask Ubuntu - Search for 'Ask Ubuntu'
    I cannot seem to get Ubuntu to mount a mac share via SMB or AFP. I've tried the following... AFP: apt-get install afpfs-ng-utils mount_afp afp://user:password@localip/share /mnt/share Error given: "Could not connect, never got a reponse to getstatus, Connection timed out". Which is odd as I can… >>> More

  • Mount Return Code for CIFS mount

    as seen on Server Fault - Search for 'Server Fault'
    When I run the following command (as root or via sudo) from a bash script I get an exit status (or return code in mount man page parlance) of 1: mount -v -t cifs //nasbox/volume /tmpdir/ --verbose -o credentials=/root/cifsid & /tmp/mylog It outputs the following into the myflog file: parsing… >>> More

  • Disable raid member check upon mount to mount damaged nvidia raid1 member

    as seen on Server Fault - Search for 'Server Fault'
    Hi, A friend of mine destroyed his Nvidia RAID1 array somehow and in trying to fix it, he ended up with a non-working array. Because of the RAID metadata, the actual disk data was stored at an offset from the beginning. I was able to identify this offset with dd and a hexeditor and then I used losetup… >>> More

  • Network shares do not mount.

    as seen on Super User - Search for 'Super User'
    My network shares were mounting fine yesterday.. suddenly they are not. They were mounting fine for the last two weeks or however long since I added them. When I run sudo mount -a I get the following error: topsy@monolyth:~$ sudo mount -a mount error(12): Cannot allocate memory Refer to the mount… >>> More

Related posts about 12.10