You are not logged in.

#1 2011-11-29 10:03:27

jai134
Member
Registered: 2008-11-26
Posts: 234

Can't mount Esata as user without booting with it inserted

When I plug in my NTFS-formatted eSATA drive it is not mounted. If I boot with it plugged in it's mounted but then I have problems during boot. My computer tries to do a filesystem check and it ends with "run fsck manually or press ctrl+D to continue. Not every time but often enough to be a problem.

I have Udisks installed and I followed this guide from the WIKI: https://wiki.archlinux.org/index.php/Udev

I have these rules in /etc/udev/rules.d/:
10-esata.rules  10-my-media-automount.rules  11-media-by-label-auto-mount.rules. Copied from the UDEV wiki.

If I use USB it's mounted instantly without problems. I am running a fully up to date install of Arch x86_64 with openbox.

Offline

#2 2011-11-29 10:17:16

.:B:.
Forum Fellow
Registered: 2006-11-26
Posts: 5,819
Website

Re: Can't mount Esata as user without booting with it inserted

Are you using it with a GUI file manager (like Thunar) or on the command line? If it's the former, have you tried without the rules?


Got Leenucks? :: Arch: Power in simplicity :: Get Counted! Registered Linux User #392717 :: Blog thingy

Offline

#3 2011-11-29 14:57:25

jai134
Member
Registered: 2008-11-26
Posts: 234

Re: Can't mount Esata as user without booting with it inserted

Sorry for the missleading title. The meaning is to have it automount when hotplugged during a session logged in as my user. It does that when I use USB but not when connecting with esata.

Offline

#4 2011-11-29 16:35:17

.:B:.
Forum Fellow
Registered: 2006-11-26
Posts: 5,819
Website

Re: Can't mount Esata as user without booting with it inserted

We'd need to see the contents of your eS-ATA rules. Also, run

# udevadm monitor

and post the output after you plugged in the drive.

Last edited by .:B:. (2011-11-29 18:46:23)


Got Leenucks? :: Arch: Power in simplicity :: Get Counted! Registered Linux User #392717 :: Blog thingy

Offline

#5 2011-11-29 18:40:01

jai134
Member
Registered: 2008-11-26
Posts: 234

Re: Can't mount Esata as user without booting with it inserted

OK. Here's my 10-esata.rules
[DEVPATH=="/devices/pci0000:00/0000:00:14.1/host4/*",
ENV{UDISKS_SYSTEM_INTERNAL}="0"/]

A here's the output of udevadm monitor
[root@htpc1 jan]# udevadm monitor
monitor will print the received events for:
UDEV - the event which udev sends out after rule processing
KERNEL - the kernel uevent

Seems like nothing happens. How long do I need to wait?
Same output with the disk plugged or not.

Last edited by jai134 (2011-11-30 10:24:21)

Offline

#6 2011-11-29 18:47:06

.:B:.
Forum Fellow
Registered: 2006-11-26
Posts: 5,819
Website

Re: Can't mount Esata as user without booting with it inserted

Please use [ code ] tags.

Udevadm should print lots of info about your disk after you connect it.

Try without your rules.


Got Leenucks? :: Arch: Power in simplicity :: Get Counted! Registered Linux User #392717 :: Blog thingy

Offline

#7 2011-11-29 19:51:02

jai134
Member
Registered: 2008-11-26
Posts: 234

Re: Can't mount Esata as user without booting with it inserted

Sorry. Don't know what [code/] tags means. In any case I'll try to figure it out.
Same output from #udevadm monitor when running without the rules. Did a reboot after moving them. I can see the disk in PCmanFm if I connect it with USB but I don't have permissions to mount it. But I can not see it when using eSATA.

Offline

Board footer

Powered by FluxBB