Auto-Mount

This forum is dedicated to basic help and support :

Ask here your questions about basic installation and usage of Mageia. For example you may post here all your questions about getting Mageia isos and installing it, configuring your printer, using your word processor etc.

Try to ask your questions in the right sub-forum with as much details as you can gather. the more precise the question will be, the more likely you are to get a useful answer

Auto-Mount

Postby drichard58 » Aug 5th, '12, 23:16

I am having a bit of a problem with mounting of partitions and, although some of the other posts are similar, none are quite what I am seeing (and the solutions suggested didn't seem to work).

When I open Nautilus (I am using Gnome) and select COMPUTER, it shows all of my partitions, but none are mounted (according to Nautilus). If I try to mount one, it simply says "Unable to mount location. Can't mount file". If I go to FILESYSTEM/MNT, I can see the mount points I set up in MCC and, for the most part, the partitions open. There are a variety of formats - Journalised FS - ext3, Journalised FS - ext 4, FAT 16 (USB Jump Drive).

I have checked the settings and they all are set to allow the user to mount/unmount the file system and everything looks OK. But Nautilus doesn't see the mount point names (it just gives the disk size as the name and unknown size, type, and date modified).

I also noticed that while I was able to install Mageia2 from the DVD, the DVD Drive also shows up as unknown and, unlike the HDD, if I go to /media/cdrom, it does not see any DVD/CD I put in the drive.

Any ideas?
drichard58
 
Posts: 42
Joined: May 26th, '12, 04:09

Re: Auto-Mount

Postby digigold » Aug 6th, '12, 07:15

First thing I would do is try mounting on the CL as root. e.g. '# mount /dev/sdbx /media/fxdrv'.

Post your fstab and mtab conf files as well.
"A mind that is stretched by a new experience can never go back to its old dimensions."
~Oliver Wendell Holmes, Jr.
User avatar
digigold
 
Posts: 150
Joined: May 9th, '12, 14:50
Location: Northern U.S.

Re: Auto-Mount

Postby drichard58 » Aug 9th, '12, 02:54

OK - I tried mounting the drives from root and it came back saying that the drives were already mounted.
Here is the output of the fstab:

# Entry for /dev/sda1 :
UUID=eb2ebd3e-5735-48b1-a4b4-d6d438eb920d / ext2 acl,relatime 1 1
# Entry for /dev/sda6 :
UUID=55456678-1d01-4b29-a6e1-665012b63048 /home ext2 acl,relatime 1 2
/dev/sr0 /media/cdrom auto umask=0,users,iocharset=utf8,noauto,ro,exec 0 0
# Entry for /dev/sdc1 :
UUID=bdfe9e8a-e40f-4fb2-a3f7-9c3964be7922 /mnt/backup ext2 acl,relatime 1 2
# Entry for /dev/sdb1 :
UUID=a0543313-e605-42cb-9494-840d32325ff3 /mnt/media ext2 acl,relatime 1 2
none /proc proc defaults 0 0
# Entry for /dev/sdd1 :
UUID=b2c9dd61-9e18-406d-a681-57d15ca382af /public ext4 acl,relatime 0 0
# Entry for /dev/sda5 :
UUID=9978fe48-d4e8-4eef-9a68-efc8bcf31659 swap swap defaults 0 0

Here is the output of the mtab:

ootfs / rootfs rw 0 0
proc /proc proc rw,relatime 0 0
sysfs /sys sysfs rw,nosuid,nodev,noexec,relatime 0 0
devtmpfs /dev devtmpfs rw,nosuid,relatime,size=3019856k,nr_inodes=754964,mode=755 0 0
devpts /dev/pts devpts rw,nosuid,noexec,relatime,gid=5,mode=620,ptmxmode=000 0 0
tmpfs /dev/shm tmpfs rw,nosuid,nodev,relatime 0 0
tmpfs /run tmpfs rw,nosuid,nodev,relatime,mode=755 0 0
/dev/sda1 / ext2 rw,relatime,errors=continue,user_xattr,acl 0 0
tmpfs /sys/fs/cgroup tmpfs rw,nosuid,nodev,noexec,relatime,mode=755 0 0
cgroup /sys/fs/cgroup/systemd cgroup rw,nosuid,nodev,noexec,relatime,release_agent=/lib/systemd/systemd-cgroups-agent,name=systemd 0 0
cgroup /sys/fs/cgroup/cpuset cgroup rw,nosuid,nodev,noexec,relatime,cpuset 0 0
cgroup /sys/fs/cgroup/cpu,cpuacct cgroup rw,nosuid,nodev,noexec,relatime,cpuacct,cpu 0 0
cgroup /sys/fs/cgroup/devices cgroup rw,nosuid,nodev,noexec,relatime,devices 0 0
cgroup /sys/fs/cgroup/freezer cgroup rw,nosuid,nodev,noexec,relatime,freezer 0 0
cgroup /sys/fs/cgroup/net_cls cgroup rw,nosuid,nodev,noexec,relatime,net_cls 0 0
cgroup /sys/fs/cgroup/blkio cgroup rw,nosuid,nodev,noexec,relatime,blkio 0 0
systemd-1 /proc/sys/fs/binfmt_misc autofs rw,relatime,fd=24,pgrp=1,timeout=300,minproto=5,maxproto=5,direct 0 0
systemd-1 /proc/bus/usb autofs rw,relatime,fd=17,pgrp=1,timeout=300,minproto=5,maxproto=5,direct 0 0
hugetlbfs /dev/hugepages hugetlbfs rw,relatime 0 0
securityfs /sys/kernel/security securityfs rw,relatime 0 0
mqueue /dev/mqueue mqueue rw,relatime 0 0
debugfs /sys/kernel/debug debugfs rw,relatime 0 0
/dev/sdh1 /public ext4 rw,relatime,user_xattr,acl,barrier=1,data=ordered 0 0
/dev/sda6 /home ext2 rw,relatime,errors=continue,user_xattr,acl 0 0
usbfs /proc/bus/usb usbfs rw,relatime,devgid=43,devmode=664 0 0
/dev/sdb1 /mnt/media ext2 rw,relatime,errors=continue,user_xattr,acl 0 0
/dev/sdc1 /mnt/backup ext2 rw,relatime,errors=continue,user_xattr,acl 0 0

And, just to be sure I was clear, if I click on PLACES on the Gnome Window (which starts up Nautilus), I see all the various drives, but no information about them and if I select them, it says that it cannot mount the drive.

computer:/// 80 GB Hard Disk.drive
computer:/// 250 GB Hard Disk.drive
computer:/// 324GB Hard Disk.drive
computer:/// 500 GB Hard Disk.drive
computer:/// CD/DVD Drive.drive
computer:/// CompactFlash Card Reader.drive
computer:/// MemoryStick Card Reader.drive
computer:/// SDCard Reader.drive
computer:/// SmartMedia Card Reader.drive

If I go to /mnt/backup or /mnt/media, I can see the directories & the files beneath. So it looks like it's just an "undocumented feature" (aka - a "bug") that won't let me see the information from the main "computer" screen.
computer:///root.link
drichard58
 
Posts: 42
Joined: May 26th, '12, 04:09

Re: Auto-Mount

Postby digigold » Aug 9th, '12, 05:45

Well I use KDE not GNOME, and don't really use MCC much as I prefer the CL. That said, here are some suggestions:

sdb1 from your fstab:
Code: Select all
# Entry for /dev/sdb1 :
UUID=a0543313-e605-42cb-9494-840d32325ff3 /mnt/media ext2 acl,relatime 1 2


sdb1 from my fstab:
Code: Select all
# Entry for /dev/sdb1 :
UUID=920E-AF06 /mnt/hd vfat umask=000,users,iocharset=utf8,noauto,exec 0 0


1- Assuming sdb1 is not a system mount (/, /home, etc.) why are you passing 1 2 to fsck? Try passing 0 0.
2- Removeable media should generally include the noauto option, unless you want them to automount. (I never do, but you may.)
3- The exec option allows the execution of programs on the mounted partition. Add it.
4- Finaly and probably most importantly, add the users option. This will allow any user (like the one running Nautilus) to mount and unmount the partition.

***PLEASE NOTE: These suggestions apply to removeable and NOT system partitions.

An example line from my mtab after mounting a flashdrv in KDE:

Code: Select all
/dev/sdc1 /run/media/dg/MISC vfat rw,nosuid,nodev,relatime,uid=500,gid=500,fmask=0022,dmask=0077,codepage=cp437,iocharset=iso8859-1,shortname=mixed,showexec,utf8,flush,errors=remount-ro 0 0


Let me know how things go.

Regards.
"A mind that is stretched by a new experience can never go back to its old dimensions."
~Oliver Wendell Holmes, Jr.
User avatar
digigold
 
Posts: 150
Joined: May 9th, '12, 14:50
Location: Northern U.S.


Return to Basic support

Who is online

Users browsing this forum: No registered users and 1 guest

cron