[closed] Arch won't mount my usb drives this time

You like a certain distro? Tell us why here

Moderators: b1o, jkerr82508

Forum rules
Try to avoid "fanboyism" Spam is strictly forbidden. The general rules apply: viewtopic.php?f=8&t=568
User avatar
dedanna1029
Sound-Berserk
Posts: 8780
Joined: 14 Mar 2010, 20:29
Contact:

[closed] Arch won't mount my usb drives this time

Postby dedanna1029 » 21 Mar 2010, 03:52

When I try to mount them in Nautilus, it's telling me that only root can mount them, but then when I try as root from Nautilus, it says that Nautilus doesn't handle "computers" folder... ugggh.

Then, I remembered I hadn't installed autofs, and have installed it now. If this doesn't do it after a reboot, any clue what I'm looking at here? I need to get to my usb drives; that's where my backups are from last time. And now also, one of them has disappeared from Nautilus.

Edit: According to mount, at least one of them is mounted, but when I try to open its folder I get that message again... sigh.

Code: Select all

# mount
/dev/sda3 on / type reiserfs (rw)
udev on /dev type tmpfs (rw,nosuid,relatime,size=10240k,mode=755)
none on /proc type proc (rw,relatime)
none on /sys type sysfs (rw,relatime)
devpts on /dev/pts type devpts (rw)
shm on /dev/shm type tmpfs (rw,nosuid,nodev)
/dev/sda1 on /boot type ext2 (rw)
/dev/sda4 on /home type reiserfs (rw)
gvfs-fuse-daemon on /home/dedanna/.gvfs type fuse.gvfs-fuse-daemon (rw,nosuid,nodev,user=dedanna)
/dev/sdb1 on /media type reiserfs (rw)

(This is the stuff I'm not good with)

Thanks.
I'd rather be a free person who fears terrorists, than be a "safe" person who fears the government.
No gods, no masters.
"A druid is by nature anarchistic, that is, submits to no one."
http://uk.druidcollege.org/faqs.html

User avatar
dedanna1029
Sound-Berserk
Posts: 8780
Joined: 14 Mar 2010, 20:29
Contact:

Re: Arch won't mount my usb drives this time

Postby dedanna1029 » 21 Mar 2010, 05:39

Have been cruising the wiki, and posts about this. Going to try something which seems the most plausible, third post down here:

Code: Select all

su -
gedit /etc/udev/rules.d/010.udev.rules

Make the file contain:

Code: Select all

KERNEL=="sd[b-z]", NAME:="%k", SYMLINK+="usbhd-%k", GROUP:="users", OPTIONS="last_rule"
ACTION=="add", KERNEL=="sd[b-z][0-9]", SYMLINK+="usbhd-%k", GROUP:="users", NAME:="%k"
ACTION=="add", KERNEL=="sd[b-z][0-9]", RUN+="/bin/mkdir -p /media/usbhd-%k"
ACTION=="add", KERNEL=="sd[b-z][0-9]", RUN+="/bin/ln -s /media/usbhd-%k /mnt/usbhd-%k"
ACTION=="add", KERNEL=="sd[b-z][0-9]", PROGRAM=="/lib/udev/vol_id -t %N", RESULT=="vfat", RUN+="/bin/mount -t vfat -o rw,noauto,flush,dirsync,noexec,nodev,noatime,dmask=000,fmask=111 /dev/%k /media/usbhd-%k", OPTIONS="last_rule"
ACTION=="add", KERNEL=="sd[b-z][0-9]", RUN+="/bin/mount -t auto -o rw,noauto,async,dirsync,noexec,nodev,noatime /dev/%k /media/usbhd-%k", OPTIONS="last_rule"
ACTION=="remove", KERNEL=="sd[b-z][0-9]", RUN+="/bin/rm -f /mnt/usbhd-%k"
ACTION=="remove", KERNEL=="sd[b-z][0-9]", RUN+="/bin/umount -l /media/usbhd-%k"
ACTION=="remove", KERNEL=="sd[b-z][0-9]", RUN+="/bin/rmdir /media/usbhd-%k", OPTIONS="last_rule"

Reboot.
I'd rather be a free person who fears terrorists, than be a "safe" person who fears the government.
No gods, no masters.
"A druid is by nature anarchistic, that is, submits to no one."
http://uk.druidcollege.org/faqs.html

User avatar
dedanna1029
Sound-Berserk
Posts: 8780
Joined: 14 Mar 2010, 20:29
Contact:

Re: Arch won't mount my usb drives this time

Postby dedanna1029 » 21 Mar 2010, 09:10

Okay, got AutoFS configured, but still in AutoFS permissions I have an issue. The permissions are wrong, as they are in /media. I can't remember how to set those permissions to 0644. :\

In /var/log/daemon.log I've got:

Code: Select all

Mar 21 02:03:35 dedanna automount[7374]: mount_autofs_indirect: failed to read map for /media
Mar 21 02:03:35 dedanna automount[7374]: handle_mounts: mount of /media failed!
Mar 21 02:03:35 dedanna automount[7374]: master_do_mount: failed to startup mount
Mar 21 02:04:58 dedanna automount[7411]: mount_autofs_indirect: failed to read map for /media
Mar 21 02:04:58 dedanna automount[7411]: handle_mounts: mount of /media failed!
Mar 21 02:04:58 dedanna automount[7411]: master_do_mount: failed to startup mount


Image Image
I'd rather be a free person who fears terrorists, than be a "safe" person who fears the government.
No gods, no masters.
"A druid is by nature anarchistic, that is, submits to no one."
http://uk.druidcollege.org/faqs.html

User avatar
dedanna1029
Sound-Berserk
Posts: 8780
Joined: 14 Mar 2010, 20:29
Contact:

Re: Arch won't mount my usb drives this time

Postby dedanna1029 » 21 Mar 2010, 10:16

I'm getting 'er down there... got the drives to mount after a reboot, but they kind of "doubled up" in a way. They didn't mount by label in /media; they mounted by usbhd-sdb1 and usbhd-sdc1. I'm wondering how to modify that above so that they mount by label? It's wierd because there's an option in Nautilus for My Book and FreeAgent Drive, but they don't do anything when I try to mount them that way. Nothing at all:

Image

You can see above where four drives are "there" to mount, but there should be only two: My Book and FreeAgent_Drive, and when I click on them, they should mount, but the two more wierdly-labeled ones are the real McCoy, far as this system's concerned.

Eh, well, at least I got them to mount at all. :P It's after 3 AM here. Time for sleep finally.

If anyone has any clue how to modify the /etc/udev/rules.d/010.udev.rules file to make them mount correctly, by label, please let me know.

Good night (er, morning), and thanks a bunch.
I'd rather be a free person who fears terrorists, than be a "safe" person who fears the government.
No gods, no masters.
"A druid is by nature anarchistic, that is, submits to no one."
http://uk.druidcollege.org/faqs.html

User avatar
viking60
Über-Berserk
Posts: 9351
Joined: 14 Mar 2010, 16:34

Re: Arch won't mount my usb drives this time

Postby viking60 » 21 Mar 2010, 18:11

I am not very good at this so I can only offer you a peek at my rc.conf - I always like to peek at a functioning rc.conf when working with arch
GNU nano 2.2.3 File: /etc/rc.conf

#
# This now requires the netcfg package
#
#NETWORKS=(main)

# -----------------------------------------------------------------------
# DAEMONS
# -----------------------------------------------------------------------
#
# Daemons to start at boot-up (in this order)
# - prefix a daemon with a ! to disable it
# - prefix a daemon with a @ to start it up in the background
#
DAEMONS=(syslog-ng network netfs crond portmap fam hal rc.vboxadd alsa)






^G Get Help ^O WriteOut ^R Read File ^Y Prev Page ^K Cut Text ^C Cur Pos
^X Exit ^J Justify ^W Where Is ^V Next Page ^U UnCut Text^T To Spell
GNU nano 2.2.3 File: /etc/rc.conf

#
# This now requires the netcfg package
#
#NETWORKS=(main)

# -----------------------------------------------------------------------
# DAEMONS
# -----------------------------------------------------------------------
#
# Daemons to start at boot-up (in this order)
# - prefix a daemon with a ! to disable it
# - prefix a daemon with a @ to start it up in the background
#
DAEMONS=(syslog-ng network netfs crond portmap fam hal rc.vboxadd alsa)

l

I am running arch with "dual" boot option between Gnome and KDE Here is my /etc/inittab
GNU nano 2.2.3 File: /etc/inittab

#
# /etc/inittab
#

# Runlevels:
# 0 Halt
# 1(S) Single-user
# 2 Not used
# 3 Multi-user
# 4 Not used
# 5 X11
# 6 Reboot

## Only one of the following two lines can be uncommented!
# Boot to console
#id:3:initdefault:
# Boot to X11
id:5:initdefault:
Manjaro 64bit on the main box -Intel(R) Core(TM) i7 CPU 920 @ 2.67GHz and nVidia Corporation GT200b [GeForce GTX 275] (rev a1. + Centos on the server - Arch on the laptop.
"There are no stupid questions - Only stupid answers!"

User avatar
dedanna1029
Sound-Berserk
Posts: 8780
Joined: 14 Mar 2010, 20:29
Contact:

Re: Arch won't mount my usb drives this time

Postby dedanna1029 » 21 Mar 2010, 20:40

One thing about the second time around with things. You always notice things that weren't there before. I'm finding packages in this thing that I never found in other distros, that I didn't find before. Makes for an interesting trip on it.

Unfortunately, the answer to this one isn't in rc.conf. :( I wish it were that simple. I've added autofs and a host of other things to mine, but that's not where it is. :( Thanks though Viking, it's much appreciated.

There's another file in the wiki I'm going to try, see if it helps. It's one to mount by label (supposedly). Hope it works.
I'd rather be a free person who fears terrorists, than be a "safe" person who fears the government.
No gods, no masters.
"A druid is by nature anarchistic, that is, submits to no one."
http://uk.druidcollege.org/faqs.html

User avatar
dedanna1029
Sound-Berserk
Posts: 8780
Joined: 14 Mar 2010, 20:29
Contact:

Re: Arch won't mount my usb drives this time

Postby dedanna1029 » 22 Mar 2010, 01:37

Never mind. Thanks anyway!
I'd rather be a free person who fears terrorists, than be a "safe" person who fears the government.
No gods, no masters.
"A druid is by nature anarchistic, that is, submits to no one."
http://uk.druidcollege.org/faqs.html

User avatar
dedanna1029
Sound-Berserk
Posts: 8780
Joined: 14 Mar 2010, 20:29
Contact:

Re: [closed] Arch won't mount my usb drives this time

Postby dedanna1029 » 01 Apr 2010, 14:40

Hunh. Why had I locked this? It's unlocked now.
I'd rather be a free person who fears terrorists, than be a "safe" person who fears the government.
No gods, no masters.
"A druid is by nature anarchistic, that is, submits to no one."
http://uk.druidcollege.org/faqs.html

User avatar
viking60
Über-Berserk
Posts: 9351
Joined: 14 Mar 2010, 16:34

Re: [closed] Arch won't mount my usb drives this time

Postby viking60 » 01 Apr 2010, 14:42

:D Just enjoying the freedom of being able to post again.
Manjaro 64bit on the main box -Intel(R) Core(TM) i7 CPU 920 @ 2.67GHz and nVidia Corporation GT200b [GeForce GTX 275] (rev a1. + Centos on the server - Arch on the laptop.
"There are no stupid questions - Only stupid answers!"

User avatar
dedanna1029
Sound-Berserk
Posts: 8780
Joined: 14 Mar 2010, 20:29
Contact:

Re: [closed] Arch won't mount my usb drives this time

Postby dedanna1029 » 01 Apr 2010, 14:46

I'm thinking maybe I thought there wouldn't really be anything more to post to this thread? I dunno?
I'd rather be a free person who fears terrorists, than be a "safe" person who fears the government.
No gods, no masters.
"A druid is by nature anarchistic, that is, submits to no one."
http://uk.druidcollege.org/faqs.html

User avatar
viking60
Über-Berserk
Posts: 9351
Joined: 14 Mar 2010, 16:34

Re: [closed] Arch won't mount my usb drives this time

Postby viking60 » 01 Apr 2010, 14:49

It's your decision one way or the other - But exactly what you are thinking of will take me some more time to figure out (gimme an hour or so and I'll get back to ya with an answer) :D
Manjaro 64bit on the main box -Intel(R) Core(TM) i7 CPU 920 @ 2.67GHz and nVidia Corporation GT200b [GeForce GTX 275] (rev a1. + Centos on the server - Arch on the laptop.
"There are no stupid questions - Only stupid answers!"

User avatar
dedanna1029
Sound-Berserk
Posts: 8780
Joined: 14 Mar 2010, 20:29
Contact:

Re: [closed] Arch won't mount my usb drives this time

Postby dedanna1029 » 01 Apr 2010, 14:53

Oh, it's gonna take you a helluva lot longer than that! :lol:

C'ya! Work calls, unfortunately. :\
I'd rather be a free person who fears terrorists, than be a "safe" person who fears the government.
No gods, no masters.
"A druid is by nature anarchistic, that is, submits to no one."
http://uk.druidcollege.org/faqs.html


Return to “Distro talk”