Working auto-mount?

Hi all,
I have a xfce4 desktop installed. I want an automount service. I tried autoFS, with the following settings:
auto.master
/media /etc/autofs/auto.custom --timeout=15
auto.custom
disc -fstype=auto,ro,nodev,nosuid :/dev/cdrom
Backup -fstype=auto,user,rw,async,umask=000,gid=users,noatime,nodiratime :/dev/disk/by-uuid/f569bba5-8007-40f5-8b3c-36960c5796d5
## Backup -fstype=ext4,user,rw,async,umask=000,gid=users,noatime,nodiratime :/dev/disk/by-uuid/f569bba5-8007-40f5-8b3c-36960c5796d5
Shared -fstype=ntfs-3g,user,rw,async,umask=000,gid=users,noatime,nodiratime :/d ev/disk/by-uuid/565AF3085AF2E421
ReaderCard -fstype=vfat,flush,user,rw,async,umask=000,gid=users,noatime,nodirat
ime :/dev/disk/by-uuid/0102-0304
##ReaderInt -fstype=auto,async,nodev,nosuid,umask=000,gid=users :
## Other medium here
# floppy -fstype=auto,async,nodev,nosuid,umask=000 :/dev/fl
The files are formatted following the instructions. The partition Backup, however, does not come up ("no such file or directory", even when root).
Backup is ext4 and it's kept on an external hard drive, the same of Shared. Mounting it manually works. I have tried with simpler options (as simple as
Backup -fstype=auto :/dev/disk/by-uuid/f569bba5-8007-40f5-8b3c-36960c5796d5
with no results. Autofs won't do.
As an alternative I have tried xfce volume manager, but that doesn't work with ANY external device.
Please help. Thank you.

That would be a solution - if it worked. I tried that too. The Arch wiki just glances on the setup, solving the whole question with a one liner "Thunar-volman's automount doesn't work currently because of the hal to udev switch, Sept 2010"
The section on udev is obscure, mentioning to check policykit to "properly start your session".
However the policykit page is also obscure, containing no mention about starting X session properly or even improperly for what matters.
The default setting produces no result at all.
Nowhere I was able to find a five-lines working example of set up. I have used Linux daily since 2000 (and I know it should not take more than 5 line explanation to setup an auto-mount).
I am really embittered by this interpretation of "the arch way". The documentation on certain core tools such as policykit is completely insufficient and the defaults do not solve basic problems (hours to set up a basic auto-mount? incomplete wiki pages referring each other?).
Arch could be a perfect desktop distribution with just a pinch of attention to put the obvious features, when correctly disabled by default, at easy reach through complete examples. (Shutdown buttons? Same story: one line reference to policykit, dbus and other 10 tools with not the barest explanation about how to use them in synergy for the purpose. Result? Manual shutdown for the moment).
If you could provide a working setup for thunar volume manager I'll be happy to use and add it to the wiki.
Thank you.

Similar Messages

  • Hello. I have a problem with OEL 6.5 and ocfs2. When I mount ocfs2 with mount -a command all ocfs2 partitions mount and work, but when I reboot no ocfs2 partitions auto mount. No error messages in log. I use DAS FC and iSCSI FC.

    Hello.
    I have a problem with OEL 6.5 and ocfs2.
    When I mount ocfs2 with mount -a command all ocfs2 partitions mount and work, but when I reboot no ocfs2 partitions auto mount. No error messages in log. I use DAS FC and iSCSI FC.
    fstab:
    UUID=32130a0b-2e15-4067-9e65-62b7b3e53c72 /some/4 ocfs2 _netdev,defaults 0 0
    #UUID=af522894-c51e-45d6-bce8-c0206322d7ab /some/9 ocfs2 _netdev,defaults 0 0
    UUID=1126b3d2-09aa-4be0-8826-0b2a590ab995 /some/3 ocfs2 _netdev,defaults 0 0
    #UUID=9ea9113d-edcf-47ca-9c64-c0d4e18149c1 /some/8 ocfs2 _netdev,defaults 0 0
    UUID=a368f830-0808-4832-b294-d2d1bf909813 /some/5 ocfs2 _netdev,defaults 0 0
    UUID=ee816860-5a95-493c-8559-9d528e557a6d /some/6 ocfs2 _netdev,defaults 0 0
    UUID=3f87634f-7dbf-46ba-a84c-e8606b40acfe /some/7 ocfs2 _netdev,defaults 0 0
    UUID=5def16d7-1f58-4691-9d46-f3fa72b74890 /some/1 ocfs2 _netdev,defaults 0 0
    UUID=0e682b5a-8d75-40d1-8983-fa39dd5a0e54 /some/2 ocfs2 _netdev,defaults 0 0

    What is the output of:
    # chkconfig --list o2cb
    # chkconfig --list ocfs2
    # cat /etc/ocfs2/cluster.conf

  • Auto mounting stoped working after last round of updates

    I run kde and I use testing, since the last time I used my usb stick auto mounting doesn't work. I get
    mount: can't find /dev/sdb1 in /etc/fstab or /etc/mtab
    I tried a DVD doesn't work anymore either
    I searched the forum didn't find anything. Any suggestions.

    Yes, the new kernel breaks HAL, it'll be fixed
    skottish wrote:It happened to quite few people including me. It's already mentioned in a few other threads so I'll bet the devs know. I just reverted for now.
    How do you revert back?

  • Auto mount for dvd dosent work (cd does work)

    hey,
    suddenly the dvd hasn't auto mount by HAl but the cd works fine.
    my fstab is
    # /etc/fstab: static file system information
    # <file system>        <dir>         <type>    <options>          <dump> <pass>
    none                   /dev/pts      devpts    defaults            0      0
    none                   /dev/shm      tmpfs     defaults            0      0
    #/dev/cdrom /mnt/cdrom   iso9660   ro,user,noauto,unhide   0      0
    #/dev/dvd /mnt/dvd   udf   ro,user,noauto,unhide   0      0
    #/dev/sda1 swap swap defaults 0 0
    /dev/sda2 / ext3 defaults 0 1
    /dev/sda3 /home ext3 defaults 0 1
    /dev/sda4 /media/data ext3 defaults 0 1
    and the groups are
    hal audio optical storage power vboxusers av
    any idea?
    Tanks.

    I think my disc-entry in fstab is this (OTOH):
    /dev/sr0     /mnt/disc     auto     ro,user,noauto,unhide     0     0
    I have seen entries where auto is replaced with 'iso9660,udf'.
    Zl.

  • [SOLVED] xfce 4.8 = auto mount doesn't work at boot

    Hi
    I installed arch linux with xfce as DE. auto mount doesn't work at boot. I read the wiki about policykit and I have
    ck-launch-session
    at my .xinitrc but still no luck. I have dbus running as a daemon and my user belong to appropriate groups (storage and ...)
    I don't want to use auto mount rules instead of xfce auto mount.
    thanks in advanced
    Last edited by sasy360 (2011-07-02 03:16:35)

    Jodell wrote:Do you have gvfs installed?
    Oh that was all. thanks!
    Did you read the wiki entry for Xfce?
    yes but it did not mention to install gvfs.

  • Auto-mounting USB storage devices doesn't work

    Hi all,
    I have some problems with the auto-mounting of USB storage devices. I already installed udisks and ntfs-3g.
    When I connect the external device (it's an external hard disk WD My Passport 500GB, but I have the same problem with a SanDisk USB stick 8GB) the auto-mount doesn't work. I see a shorcut in the left panel of Thunar but if I try to use it Thunar crash without any message error.
    I try with the manual mount and it works, but the left panel of Thunar continue to have the same problem.
    In the italian Arch forum a friend suggest me to open Thunar from bash and close it. If I do it I receive this error log:
    $ thunar
    thunar: symbol lookup error: /usr/lib/libstdc++.so.6: undefined symbol: _ZNSt14error_categoryD2Ev, version GLIBCXX_3.4.15
    and this is the reply of dmesg command:
    [ 340.826768] usb 1-1: new high speed USB device number 2 using ehci_hcd
    [ 341.591397] Initializing USB Mass Storage driver...
    [ 341.592166] scsi6 : usb-storage 1-1:1.0
    [ 341.592345] usbcore: registered new interface driver usb-storage
    [ 341.592349] USB Mass Storage support registered.
    [ 341.599805] usbcore: registered new interface driver uas
    [ 342.591094] scsi 6:0:0:0: Direct-Access WD My Passport 070A 1032 PQ: 0 ANSI: 4
    [ 342.591474] sd 6:0:0:0: Attached scsi generic sg1 type 0
    [ 342.592845] scsi 6:0:0:1: CD-ROM WD Virtual CD 070A 1032 PQ: 0 ANSI: 4
    [ 342.593048] scsi 6:0:0:1: Attached scsi generic sg2 type 5
    [ 342.594050] sd 6:0:0:0: [sdb] 975400960 512-byte logical blocks: (499 GB/465 GiB)
    [ 342.594814] scsi 6:0:0:2: Enclosure WD SES Device 1032 PQ: 0 ANSI: 4
    [ 342.595141] scsi 6:0:0:2: Attached scsi generic sg3 type 13
    [ 342.596546] sd 6:0:0:0: [sdb] Write Protect is off
    [ 342.596553] sd 6:0:0:0: [sdb] Mode Sense: 23 00 10 00
    [ 342.596557] sd 6:0:0:0: [sdb] Assuming drive cache: write through
    [ 342.599163] sd 6:0:0:0: [sdb] Assuming drive cache: write through
    [ 342.618228] sdb: sdb1
    [ 342.621039] sd 6:0:0:0: [sdb] Assuming drive cache: write through
    [ 342.621046] sd 6:0:0:0: [sdb] Attached SCSI disk
    [ 342.665174] sr0: scsi3-mmc drive: 51x/51x caddy
    [ 342.665180] cdrom: Uniform CD-ROM driver Revision: 3.20
    [ 342.665447] sr 6:0:0:1: Attached scsi CD-ROM sr0
    [ 342.665654] ses 6:0:0:2: Attached Enclosure device
    [ 349.105348] [b]Thunar[996]: segfault at 0 ip b6de1660 sp bfe586f4 error 4 in libglib-2.0.so.0.2800.8[b6d6f000+ed000][/b]
    Do you have any suggestion?
    Thank you very much,
    Gianluca

    Are you using [testing]? Partially updated system?
    The error looks like you have a different version of gcc-libs / glibc than the app was built against.
    Last edited by Mr.Elendig (2011-06-20 19:16:33)

  • How Do I find out what app is auto-mounting a network share and stop it?

    I have a new laptop, the 13" rMBP.  I installed Steam and wanted to use the network share on my server to store the game files.  Everything went OK.  I closed Steam, disconnected the share and shutdown my laptop.  When I opened my laptop later on at work, it started to try and mount the network share.It keeps on going it.  I removed the Steam app and all files related to Steam that I could find.  I've looked at fstab, auto_home, auto_master and a large list of other files and directories and I *still* cannot find the offending file that's auto-mounting the share.  It's really frustrating.
    The share auto-mounts when I am home but not on the desktop or in finder.  I find it by looking at /Volumes/ in terminal.  If I mount the share manually under /Volumes/ it shows as Games-1 and mounts on the desktop under Games.
    Does anyone have any ideas on where I should be looking to find the offending process/file/daemon?
    Thank you!
    Trevor

    thanks for the reply but are you sure about this? What difference would it make? Why 5 apps?
    Even if it does work, which I doubt, at some point, I will have to resync ALL my apps again and surely the same thing will happen again, and I will be none the wiser. I still won't know which app it is. There must be a way of finding this out.
    Any ideas?
    What is really freaking me out is how it is connecting to my carrier (who is charging me) with Cellular data switched off.......?
    Thanks again.

  • External hard drive and SD card won't auto mount

    I am using MBP with retina on Yosemite. MacBook Pro (Retina, 15-inch, Late 2013).
    On Maverick, all my external drives used to auto mount. The same was true just after Yosemite was installed. Lately, only my Time Machine hard drive auto mounts and others don't, e.g. my backup drive that I use with Super Duper! and my camera SD card. I have to go to disk utility and mount them manually. I did not see any option for auto mount in disk utility.
    Could you please guide me on how to get auto mount back?
    Thanks in advance

    I have been dealing with this same issue for the past several months. Running a Macbook Pro (Mid 2010) with OS X Yosemite 10.10.1. This problem occurs when I plug in Firewire, USB, or SD card. The external hardware appear to be working fine, it has to be either a setting, or a quirk that needs corrected with Yosemite. I have run all OS systems since Snow Leopard. Never had this problem. Anyone have any ideas?

  • How do I stop a CCC partition auto mounting in Lion

    I have an external USB drive with 2 partitions. The first partition has a CCC Clone of my drive before Lion. The second is used for Time Machine. This drive auto mounts on boot which is fine but the CCC partition causes problems with the App Store as it sees Apps that I installed in the Clone backup as installed on Lion. The easy way for me to fix this is just to eject the CCC partition but I have to do this every time I boot. Is there a way of just stopping this drive from auto mounting on boot and manually mounting if need be. Any help would be appreciated. Many Thanks in advance.

    I just upgraded to the latest version of Lion--I don't know why it didn't change the info. under my Apple icon.  And I know I can uncheck the box while signing off, but you have to do it each time--I'm looking for a way to uncheck it and recheck whenever I want, the way the dock options are supposed to work (although it doesn't for me anymore with Lion).
    Checked the Users and Groups--the only login items listed are basically 4 apps that I had back when I had my PC and I no longer have them--I may have had Growl for awhile but I deleted it.  There are yellow triangles by them.  No other apps listed there.
    I guess I'll have to uncheck the box each time I sign off.  Tedious, but that's the way it is.  Wish I had Snow Leopard back!
    Thanks for your suggestions though--just wish they worked.

  • Auto Mount in SAP LVM 2.0

    Hi All,
    We have installed SAP LVM 2.0 SP3 in our landscape and we are working on manage system configuration to utilize cloning futer in SAP LVM.
    During the configuration, we are not able to select auto mounter option in Instance  configuration.
    I request you to kindly suggest me on this.
    Thansk and Regards,
    Prasad

    Hello Dieter,
    Thank you, I have created a support ticket with SAP.
    Thanks and Regards,
    Prasad

  • [solved] USB drives won't auto mount

    When I plug in a drive, I get this error message:
    Rejected send message, 1 matched rules; type="method_call", sender=":1.24" (uid=1000 pid=4499 comm="exo-mount) interface="org.freedesktop.Hal.Device.Volume" member="Mount" error name="(unset)" requested_reply=0 destination="org.freedesktop.Hal" (uid=0 pid=3069 comm="/usr/sbin/hald)).
    2nd harddrive:
    Rejected send message, 1 matched rules; type="method_call", sender=":1.20" (uid=1000 pid=3537 comm="exo-mount) interface="org.freedesktop.Hal.Device.Volume" member="Mount" error name="(unset)" requested_reply=0 destination="org.freedesktop.Hal" (uid=0 pid=3058 comm="/usr/sbin/hald)).
    There are fixes in other forums, but they are all radically differnet, and the one's I tried aren't working.
    I have an eee pc with xfce and slim.
    I know this is a perimssion problems since auto mount works fine for root. Could anyone tell me the (probably simple) fix for this? Thanks.
    Last edited by Meskarune (2010-04-15 04:21:08)

    HAL:
    http://wiki.archlinux.org/index.php/HAL#Troubleshooting
    Also check your .xinitrc and make sure your lines matches this:
    exec ck-launch-session startxfce4
    Lastly, you can also use udev to automount your drives:
    http://wiki.archlinux.org/index.php/Ude … SB_devices

  • USB Auto-mounting Woes [SOLVED]

    Hi,
    I've been trying to get my USB sticks to auto-mount and grant all users permission to mount/unmount them.
    To achieve that I initially added the following to my sudoers using visudo:
    %wheel ALL=NOPASSWD: /bin/mount
    %wheel ALL=NOPASSWD: /bin/umount
    That however didn't solve my inability to (un)mount drives in PCMan FM.. so I headed towards the wiki. The wiki stated the following:
    You can easily automount and eject removable devices with the combination of pmount, udisks2 and spacefm. Note you have to run spacefm in daemon mode with spacefm -d & in your startup scripts, ~/.xinitrc or ~/.xsession, to get automounting.
    I wasn't too fussed about having to use spacefm and everything seemed to work just fine.. until I tried format a USB stick using gparted. Gparted fails because because seemingly half way through the formatting procedure the drive is mounted (my suspicion is that it's spacefm).
    mkdosfs: /dev/sdb1 contains a mounted file system.
    If i unmount and format manually using the CLI it works just fine.. but I quite like gparted
    I tried removing
    spacefm -d
    from my .xinitrc and that actually stops openbox from starting up. Uninstalling (and later re-installing when it didn't help) pmount didn't help either, spacefm just auto-mounts in a strange 'run' way..
    So now I'm stuck, anyone experienced similar issues with gparted and spacefm?
    Last edited by omgitsaheadcrab (2012-06-22 13:27:07)

    ck-list-sessions shows an active consokekit session, so that should be fine?
    Session1:
    unix-user = '1000'
    seat = 'Seat1'
    session-type = 'x11'
    active = TRUE
    x11-display = ':0.0'
    x11-display-device = '/dev/tty7'
    display-device = ''
    remote-host-name = ''
    is-local = TRUE
    on-since = '2012-06-22T12:24:47.734505Z'
    login-session-id = '3'
    The gparted error log is as follows:
    GParted 0.12.1
    Libparted 3.1
    Delete /dev/sdb1 (fat32, 7.37 GiB) from /dev/sdb 00:00:01 ( SUCCESS )
    calibrate /dev/sdb1 00:00:00 ( SUCCESS )
    path: /dev/sdb1
    start: 2048
    end: 15466495
    size: 15464448 (7.37 GiB)
    delete partition 00:00:01 ( SUCCESS )
    ========================================
    Create Primary Partition #1 (fat32, 7.37 GiB) on /dev/sdb 00:00:01 ( ERROR )
    create empty partition 00:00:00 ( SUCCESS )
    path: /dev/sdb1
    start: 2048
    end: 15466495
    size: 15464448 (7.37 GiB)
    set partition type on /dev/sdb1 00:00:01 ( SUCCESS )
    new partition type: fat32
    create new fat32 file system 00:00:00 ( ERROR )
    mkdosfs -F32 -v -n "PATRIOT" /dev/sdb1
    mkdosfs 3.0.12 (29 Oct 2011)
    mkdosfs: /dev/sdb1 contains a mounted file system.
    ========================================
    I still can't help but feel it's spacefm doing something funny (automounting when it shouldn't)
    Last edited by omgitsaheadcrab (2012-06-22 12:31:36)

  • Stop Auto Mount of SMB Home Folder

    For awhile, I tried SMB home folders for network users.  This worked poorly, so i went back to using AFP.
    However, for most users, their  network home folder is now getting auto mounted by SMB at login.
    I've checked WGM manager to make sure they have AFP homes and that no SMB home is assigned.
    I've checked the users control panel to see if there is an automount setup there.  Nothing.
    Where else could auto mount information be stored and how can I find it to wipe it out?

    Normally it would be a matter of changing the server to register the AFP share as an auto mount for user home directories, then you have to use Workgroup Manager to reconfigure each user to select the new share location which should now be listed in the Home tab in Workgroup Manager.
    If you only do the first step the user account will still be set to the original settings.
    Is this using Open Directory and a Mac file server? The process might be more complicated if your using Windows Active Directory, and typically a Windows server does not do AFP.

  • Difference with CD auto-mount between OL 5.7 and OEL 5.4

    Hello,
    I'm experiencing a difference when auto-mounting a CD between OL 5.7 and OEL 5.4 (x86_64).
    Under OEL 5.4, a CD does not have "execute" privileges.
    The mount command shows the following relevant entry:
    Oracle Linux 5.7:
    /dev/hdc on /media/Oracle_11gR2_x86-64 type udf (ro,nosuid,nodev,uid=0)Oracle Enterprise Linux 5.4
    /dev/hdc on /media/Oracle_11gR2_x86-64 type udf (ro,noexec,nosuid,nodev,uid=0)I also wonder why there is a difference when using Ubuntu. In Ubuntu Linux (11.04) I can address the problem by installing "autofs" and modifying /etc/auto.misc to include the "exec" mount option. For instance:
    cd              -fstype=iso9660,ro,nosuid,nodev,exec :/dev/cdromHowever, under Oracle Enterprise Linux, modifying /etc/auto.misc has no affect.
    I suspect the the differences are related to gnome-mount and HAL. I know how to work-around the problem, but I wonder if someone knows more details and when and what was changed regarding this issue between OEL 5.4 and OL 5.7
    Thanks and kind regards.

    Meanwhile I found the source of information:
    http://docs.redhat.com/docs/en-US/Red_Hat_Enterprise_Linux/5/html-single/5.6_Technical_Notes/index.html#hal
    5.6_Technical_Notes
    Prior to this update, the "noexec" option was enforced when mounting CDs, preventing scripts on that media from being run automatically. However, this also prevented applications that rely on executing from media from working correctly. Since the intended level of protection provided by this feature is minimal, and there are other ways to achieve it, the feature has been removed and the "noexec" option is no longer enforced.

  • [SOLVED]External HD: Auto-mount in read-only and only root can access

    So I followed the advice in http://bbs.archlinux.org/viewtopic.php? … 88#p583088 regarding using udev to auto-mount my external 60gb harddrive, and it works.  The only problem is, it is being mounted read-only and I can only view the contents via sudo or as the superuser.
    Can anyone guide me in the right direction I need to go to get this changed?  I have already once tried to recursively chown everything on the harddrive, but that didn't seem to work.  The syntax I used from that above article specifies "rw" as one of the options for the mount command, so I am stumped as to why this happened.
    Thanks
    Last edited by trann (2009-11-13 16:24:36)

    Wattanut wrote:
    Have you installed ntfs-3g?
    I think I've had that problem before.
    WoW, perfect solution.  This is why I love this distro. 

Maybe you are looking for