[SOLVED] Weird behavior with dedicated mounting

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

[SOLVED] Weird behavior with dedicated mounting

Postby wobo » Dec 7th, '11, 15:30

Mageia 1 i586, Gnome, updates up-to-date.

1. I have a 8Gb SD card, recognized as /dev/sdb, featuring one partition with ext3 file system. In diskdrake I mounted it permanently on /home/wobo/rpm - I accepted the matching entry in /etc/fstab. The line reads:
Code: Select all
UUID= 1234567...  /home/wobo/rpm  ext3  defaults 0 0
On reboot the sd card was automatically mounted on /home/wobo/rpm - in other words: success.

2. Then I added a USB harddisk (recognized as /dev/sdc), featuring one partition with ext3 filesystem. In diskdrake I mounted it permanently on /home/wobo/DATA - accepted the matching entry in /etc/fstab. The line reads
Code: Select all
UUID=1234567.....  home/wobo/DATA ext3 defaults 0 0
On reboot
- the USB hd partition was not mounted at all, it wasn't even shown as present in the filemanager (although /var/log/messages shows that it was recognized as /dev/sdc as before).
- the SD card was not mounted either but it was shown as device in the filemanager. Clicking on it as user showed an error message:
Code: Select all
Error mounting: mount exited with exit code 1: helper failed with:
mount: only root can mount /dev/sdb1 on /home/wobo/rpm
.

3. Now I unplugged the USB harddisk, commented out the matching line in fstab, in other words: went back to the status described in point #1. Rebooted and received the same problenm as described in the last part of point #2: the SD card was not mounted and showed the error that only root can mount it.

I did not alter anything regarding the SD card, did no updates in the meanwhile or anything else with the system than the steps I described above. Anybody with an idea that I can have at least one storage device available without having to become root after each restart? (I know that I can workaround by creating a script with a sudo command (mount -a) and place it on the desktop, so I have to click once).

BTW:
1. The USB harddisk mounts perfectly when I plug it in while the system is running, it shows under /media. Same with the SD card when I plug it in while the system is running, mounts under /media.
2. Both devices mount to their respective mount points when I do a 'mount -a' as root. So I added 'mount -a' to /etc/rc.d/rc.local - but no success.
Last edited by wobo on Dec 7th, '11, 15:54, edited 1 time in total.
wobo
---
And a new day will dawn for those who stand long
And the forests will echo with laughter
(Stairway to Heaven, Led Zeppelin)
User avatar
wobo
 
Posts: 1649
Joined: Mar 22nd, '11, 17:13

Re: Weird behavior with dedicated mounting

Postby wobo » Dec 7th, '11, 15:54

Sorry, problem solved (in the German forum).
I changed the entries in fstab from "default" to "rw,auto,users,exec" and both devices are mounted automatically at system start. Open remains the question why it worked at first with "default" for the SD card....

I mark this one as solved.
wobo
---
And a new day will dawn for those who stand long
And the forests will echo with laughter
(Stairway to Heaven, Led Zeppelin)
User avatar
wobo
 
Posts: 1649
Joined: Mar 22nd, '11, 17:13


Return to Basic support

Who is online

Users browsing this forum: No registered users and 1 guest