Autofs won't automount

Hello everyone,
I followed the wiki for autofs step by step (minus the things I don't care about, I only need usb and cd/dvds to automount) and when I was done I still couldn't get it to actually automounting.
What could I do to see where the error is?

*************EDIT: SOLVED**************
I had probably forgotten '1' at the end of sdb1, now my /etc/autofs/auto.misc looks like this:
flashb -fstype=auto,async,nodev,nosuid,umask=000,gid=disk :/dev/sdb1
I also removed --timeout option in auto.master, and autofs is working fine now.
I have exact same problem.
More info:
1. Flash drive has a 1gb ext4 partition and works perfectly elsewhere.
$ lsblk /dev/sdb
NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINT
sdb 8:16 1 954M 0 disk
└─sdb1 8:17 1 953M 0 part
$ sudo fdisk -l
Disk /dev/sdb: 1000 MB, 1000341504 bytes, 1953792 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x00056ce1
Device Boot Start End Blocks Id System
/dev/sdb1 2048 1953791 975872 83 Linux
2. Modprobe'd autofs4, but doesn't show up in lsmod, is this normal?
$ modprobe autofs4 && lsmod | grep autofs4
3. Autofs config files:
/etc/autofs/auto.master
# Sample auto.master file
# Format of this file:
# mountpoint map options
# For details of the format look at autofs(5).
/media/autofs /etc/autofs/auto.misc --timeout=1
/etc/autofs/auto.misc
# This is an automounter map and it has the following format
# key [ -mount-options-separated-by-comma ] location
# Details may be found in the autofs(5) manpage
usbstick -fstype=auto,async,nodev,nosuid,umask=000 :/dev/sdb
cdrom -fstype=iso9660,ro,nodev,nosuid :/dev/cdrom
#floppy -fstype=auto,async,nodev,nosuid,umask=000 :/dev/fl
/etc/conf.d/autofs
#localoptions='rsize=8192,wsize=8192'
# e.g. --timeout=60
daemonoptions=''
There is this line in /etc/nsswitch.conf
automount: files
4. Daemon looks ok
$ sudo systemctl status autofs
autofs.service - Automounts filesystems on demand
Loaded: loaded (/usr/lib/systemd/system/autofs.service; disabled)
Active: active (running) since Sun 2013-04-14 14:42:54 AMT; 28min ago
Process: 2405 ExecStart=/usr/sbin/automount $OPTIONS --pid-file /run/autofs.pid (code=exited, status=0/SUCCESS)
Main PID: 2407 (automount)
CGroup: name=systemd:/system/autofs.service
└─2407 /usr/sbin/automount --pid-file /run/autofs.pid
Apr 14 14:42:54 work2 systemd[1]: Started Automounts filesystems on demand.
5. Permissions of /etc/autofs/auto.master /etc/autofs/auto.media /etc/autofs/auto.misc /etc/conf.d/autofs are all 644 ( -rw-r--r-- ).
Any help appreciated.
Last edited by axper (2013-04-24 18:56:18)

Similar Messages

  • CD and USB won't automount

    Hello there! I bearly got arch linux installed in my machine. Managed to install most of my drivers so far, however I can't manage to make my USB automount and appear in the desktop. It won't automount the CDs that i put inside, or even show the icon of the cd/dvd rom in the computer place, i don't even know how to mount it manually. I do know how to manually mount the usb flash drive, but the icon does not appear in the desktop or the Computer place. I have GNOME. can someone please help me?

    # /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 /media/cdrom   auto    ro,user,noauto,unhide   0      0
    /dev/cdrom1 /media/cdrom1   auto    ro,user,noauto,unhide   0      0
    /dev/dvd /media/dvd   auto    ro,user,noauto,unhide   0      0
    UUID=0b888460-badc-4f9b-843d-f8d06d1635b3 swap swap defaults 0 0
    UUID=32c9d792-8bc1-4c75-b4fd-1541871c41a6 /boot ext2 defaults 0 1
    UUID=7381cc48-375e-4de3-945b-9dea6e62d61b / ext3 defaults,noatime,nodiratime 0 1
    UUID=e3a0b77b-cd81-447c-9590-02f27e98ec49 /home ext3 defaults,noatime,nodiratime 0 1
    DAEMONS=(syslog-ng network netfs crond alsa hal fam kdm3 cups)
    Last edited by windtalker (2008-12-19 09:20:40)

  • Autofs doesn't automount nfs4 shares

    I'm trying to automount NFS shares using autofs. All in all, NFS is configured correctly, as I can manually mount the share on the command line.
    user@client:~$ sudo mount -t nfs4 myserver:/home /mnt
    user@client:~$ mount | grep myserver
    myserver:/home on /mnt type nfs4 (rw,addr=192.168.9.20,clientaddr=192.168.9.8)
    user@client:~$ df | grep myserver
    myserver:/home 480719104 421950976 34348800 93% /mnt
    user@client:~$ sudo umount /mnt
    user@client:~$
    Following the instructions on the wiki, I install the autofs package, I add the required line in /etc/nsswitch.conf, and modprobe nfs4. Here is my /etc/autofs/auto.master file :
    # Sample auto.master file
    # Format of this file:
    # mountpoint map options
    # For details of the format look at autofs(5).
    #/media /etc/autofs/auto.media
    /net -hosts --timeout=60
    Finally, I start the autofs daemon as such :
    user@client:~$ sudo /etc/rc.d/autofs restart
    The daemon starts fine, but I can't access the NFS shares as I should :
    user@client:~$ cd /net
    user@client:/net$ ls -l
    total 0
    dr-xr-xr-x 2 root root 0 Aug 6 22:40 localhost.localdomain
    dr-xr-xr-x 2 root root 0 Aug 6 22:40 myserver
    user@client:/net$ cd myserver
    bash: cd: myserver: No such file or directory
    user@client:/net$
    What have I done wrong? What more must I do to use my NFS shares with autofs?
    Thanks.

    good luck.
    I'm having this problem since autofs5 came out. (which is a few years now), and no one knows the solution.
    see https://bbs.archlinux.org/viewtopic.php?id=79513

  • Udev/hal rules won't automount my ipod

    After following directions in the wiki articles on hal and udev to get my ipod to automount and generate the /dev/ipod device, I'm at a loss because nothing seems to work as explained. (I'm running Arch64 with LXDE)
    I've added the following rule to /etc/hal/fdi/policy/ipod.fdi:
    <?xml version="1.0" encoding="UTF-8"?>
    <device>
    <match key="@block.storage_device:storage.model" string="iPod">
    <merge key="volume.policy.desired_mount_point" type="string">ipod</merge>
    <merge key="volume.policy.mount_option.iocharset=iso8859-15" type="bool">true</merge>
    <merge key="volume.policy.mount_option.sync" type="bool">true</merge>
    </match>
    </device>
    I've added the following rule to /etc/udev/rules.d/60-ipod.rules
    BUS=="usb", ATTRS{manufacturer}=="Apple*", ATTRS{model}=="iPod*", KERNEL=="sd?2", SYMLINK+="ipod", NAME="%k", GROUP="storage"
    When I plug in the ipod, Pcmanfm will show 'Apple Ipod Music Player' in the left column with the other drives. When I click on it, it will properly mount the ipod to /media/{name of ipod}. I would like it to mount every ipod at /media/ipod, and create a link /dev/ipod. I haven't put anything in the fstab yet, but in any case, the /dev/ipod link is not created. I know the udev rules work, because it will create the correct link for /dev/pilot when I plug in my Palm.
    Help! I'm trying hard to wrap my brain around this, and I don't understand why it's not creating the /dev/ipod link. I've restarted the computer and restarted hal and reloaded udev rules multiple times with no changes.
    Thanks!
    Scott

    Ahhh....thank you!  If I take out the 'last_rule' option it does indeed show up on pcmanfm. However, I think it's happening somewhere outside the parsing of the udev rules (perhaps HAL???) because even if I moved the local rules to the very last (99-local.rules) but kept in the 'last_rule' option, it would still not show up.
    Now, second problem is trying to distinguish between flash drive and ipod. I thought you could use a != on an attribute. The rules below still result in /dev/sdb2 on the ipod getting mounted twice .... once to /media/ipod and once to /media/usbhd-sdb2.
    ## Automount usb drives
    #Prevent sd?1 of the ipod from being mounted
    KERNEL=="sd?1", ATTRS{manufacturer}=="Apple*", ATTRS{product}=="iPod*", OPTIONS="last_rule"
    KERNEL=="sd?2", ATTRS{manufacturer}=="Apple*", ATTRS{product}=="iPod*", SYMLINK+="ipod", NAME="%k", GROUP="storage"
    ACTION=="add", KERNEL=="sd?2", ATTRS{manufacturer}=="Apple*", ATTRS{product}=="iPod*", RUN+="/bin/mount -t vfat -o rw,noauto,shortname=mixed,flush,dirsync,quiet,noatime,nodiratime,uid=1000,utf8,umask=077,nodev,nosuid /dev/ipod /media/ipod"
    #Automount flash drives to /media/usbdh-sd??
    ACTION=="add", ATTRS{product}!="iPod*", KERNEL=="sd[b-z][0-9]", RUN+="/bin/mkdir -p /media/usbhd-%k"
    KERNEL=="sd[b-z]", ATTRS{product}!="iPod*", NAME="%k", SYMLINK+="usbhd-%k", GROUP="storage"
    ACTION=="add", KERNEL=="sd[b-z][0-9]", ATTRS{product}!="iPod*", SYMLINK+="usbhd-%k", GROUP="storage", NAME="%k"
    ACTION=="add", KERNEL=="sd[b-z][0-9]", ATTRS{product}!="iPod*", RUN+="/bin/mkdir -p /media/usbhd-%k"
    ACTION=="add", KERNEL=="sd[b-z][0-9]", ATTRS{product}!="iPod*", RUN+="/bin/ln -s /media/usbhd-%k /mnt/usbhd-%k"
    ACTION=="add", KERNEL=="sd[b-z][0-9]", ATTRS{product}!="iPod*", PROGRAM=="/lib/udev/vol_id -t %N", RESULT=="vfat", RUN+="/bin/mount -t vfat -o rw,noauto,flush,dirsync,quiet,nodev,nosuid,noatime,nodiratime,dmask=000,fmask=111 /dev/%k /media/usbhd-%k"
    ACTION=="add", KERNEL=="sd[b-z][0-9]", ATTRS{product}!="iPod*", RUN+="/bin/mount -t auto -o rw,noauto,async,dirsync,nodev,noatime /dev/%k /media/usbhd-%k"
    #Unmount everything on removal
    ACTION=="remove", KERNEL=="sd[a-z][0-9]", RUN+="/bin/rm -f /mnt/usbhd-%k"
    ACTION=="remove", KERNEL=="sd[a-z][0-9]", RUN+="/bin/umount -l /dev/%k"
    ACTION=="remove", KERNEL=="sd[a-z][0-9]", RUN+="/bin/rmdir /media/usbhd-%k"
    Any ideas?
    Thanks, Scott

  • [SOLVED] gnome / thunar won't automount MTP / USB

    Hello!
    I was able to figure out that things would mount correctly in Thunar when I did
    dbus-launch thunar
    but then everytime I start thunar with that the gvfs processes keep stacking and starting new ones over and over and I end up with like 200 of them running. so I guess how do I get it to just launch all of those once? I've probably broken everything trying to get this automount stuff to work...
    here is a list of all of my installed pacakges...
    adobe-source-code-pro-fonts
    audacious
    autoconf
    automake
    baobab
    bash
    binutils
    bzip2
    chromium
    coreutils
    cryptsetup
    device-mapper
    dhcpcd
    diffutils
    e2fsprogs
    eog
    evince
    fakeroot
    fbset
    file
    filesystem
    findutils
    flex
    gawk
    gcc
    gcc-libs
    gdm
    gettext
    gimp
    glibc
    gnome-backgrounds
    gnome-calculator
    gnome-control-center
    gnome-desktop
    gnome-disk-utility
    gnome-font-viewer
    gnome-icon-theme
    gnome-icon-theme-extras
    gnome-icon-theme-symbolic
    gnome-screenshot
    gnome-session
    gnome-settings-daemon
    gnome-shell
    gnome-shell-extensions
    gnome-system-log
    gnome-system-monitor
    gnome-terminal
    gnome-themes-standard
    gnome-tweak-tool
    gnome-user-docs
    gnome-user-share
    gptfdisk
    grep
    grilo-plugins
    groff
    gucharmap
    gvfs-afc
    gvfs-mtp
    gzip
    htop
    iftop
    inetutils
    iotop
    iproute2
    iputils
    jfsutils
    less
    libtool
    licenses
    linux
    logrotate
    lsof
    lvm2
    m4
    make
    man-db
    man-pages
    mdadm
    mesa
    minidlna
    mousetweaks
    mutter
    nano
    netctl
    ntfs-3g
    nvidia
    openvpn
    pacman
    patch
    pciutils
    pcmciautils
    perl
    pkg-config
    procps-ng
    psmisc
    pulseaudio
    pulseaudio-alsa
    reiserfsprogs
    s-nail
    sed
    shadow
    sushi
    sysfsutils
    syslinux
    systemd-sysvcompat
    tar
    texinfo
    thunar
    thunar-volman
    tracker
    transmission-qt
    ttf-dejavu
    ttf-droid
    unrar
    unzip
    usbutils
    util-linux
    vino
    vlc
    weston
    wget
    which
    xdg-user-dirs-gtk
    xfsprogs
    xonotic
    xorg-server
    xorg-server-utils
    xorg-twm
    xorg-xclock
    xorg-xinit
    yelp
    zsh
    EDIT: hmmmm and it just started working all on it's own so nevermind.........
    Last edited by Imaulle (2014-04-02 11:45:17)

    65kid wrote:Well, you could read the news on the front page regarding logind replacing ConsoleKit or use the search function to find the 9001 other threads discussing the same issue.
    I have (of course) but I find myself in a circular situation apparently. 'logind' is a systemd thing and as you can see from the above thread I'm trying to switch to systemd but am having problems. So until that issue is solved I could use other suggestions...

  • [SOLVED] USB memory won't automount

    Hi,
    I'm on a fresh (latest 2013/2) ARch/LXDE installation.
    Although PCManFM is configured to au tomount removable media, it isn't working (contrary to Wiki's declaration).
    As can be seen from the terminal below, when inserted, the system recognaizes the device, although mtab don't reflect the change.
    Please advise!
    Thanks
    ---------------copy of termial-----------------
    $ systemctl | grep sdb
    sys-devi...sdb-sdb1.device loaded active plugged Trans-It_Drive
    sys-devi...block-sdb.device loaded active plugged Trans-It_Drive
    $cat /etc/mtab | grep sdb
    $
    Last edited by mibadt (2013-02-23 12:08:05)

    Last time i played with PcmanFM, it required udisks to automount stuff and gvfs to handle trash. Look if it's still the case.

  • [SOLVED] KDE won't automount USB and optical devices

    After a recent update KDE stopped being willing to automount e.g. USB devices such as sticks, HDs, cameras, GPS etc.
    My ArchLinux is updated today and is thus on kernel 3.6.6, My wife's ArchLinux, which is still on kernel 3.5.5, has no problems automounting, so it must be due to a recent change, but which?
    When I insert e.g. a USB stick, I get the 'Available Devices' popup, but when I select 'Open with File Manager' I get the following message at the bottom of the popup: 'Could not mount the following device:  xxxxx' followed by 'An unspecified error has occurred.: Not Authorized'
    I'm still on sysvinit but would like to switch to systemd, because I have the haunch that switching to systemd would cure the problem. So far my attempts to switch to systemd has failed (see my woes in this thread https://bbs.archlinux.org/viewtopic.php … 6#p1193076
    I have tried to install 'udiskie' but that did not help.
    I could give many more details but which? I'll supply any information required as we go.
    Any help and/or pointer will be much appreciated.
    Bent
    Edit: URL to other thread added
    Last edited by BentB (2012-11-15 09:21:34)

    65kid wrote:Well, you could read the news on the front page regarding logind replacing ConsoleKit or use the search function to find the 9001 other threads discussing the same issue.
    I have (of course) but I find myself in a circular situation apparently. 'logind' is a systemd thing and as you can see from the above thread I'm trying to switch to systemd but am having problems. So until that issue is solved I could use other suggestions...

  • Oops with autofs [FIXED]

    I was trying to get my usb external drive to automount so I installed and configured autofs according to the instructions on the wiki.
    However, since autofs was configured to use /media and all my other devices were in /mnt, I configured autofs to use /mnt as well. Autofs wiped out all the directories in /mnt and inserted cdrom and usbstick directories. I uninstalled autofs and automounting is working fine now on my usbdisk ( I needed to add myself to the storage group and start hal and dbus ). However, my cdrom won't automount. If I mount it manually, I can view the contents in konquer by going to /mnt/cdrom but it won't show up under the media:/ (the storage media list).
    In addition, I can't remove the /mnt/cdrom and /mnt/usbdisk directories. I'm not sure if that means anything.
    [root@l33t1 mnt]# ls -al
    total 4
    drwxr-xr-x 4 root root 0 2007-04-28 10:29 .
    drwxr-xr-x 19 root root 4096 2007-04-27 00:56 ..
    drwxr-x--x 2 root root 0 2007-04-28 10:29 cdrom
    drwxr-x--x 2 root root 0 2007-04-28 10:29 usbstick
    [root@l33t1 mnt]# ls -R
    cdrom usbstick
    ls: cannot open directory ./cdrom: No such file or directory
    ls: cannot open directory ./usbstick: No such file or directory
    [root@l33t1 mnt]# rm -frv *
    [root@l33t1 mnt]# ls
    cdrom usbstick
    [root@l33t1 mnt]# rm -frv cdrom/
    [root@l33t1 mnt]# ls
    cdrom usbstick
    Here is my /etc/fstab file:
    # /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/fd0 /mnt/fd0 vfat user,noauto 0 0
    /dev/sda1 swap swap defaults 0 0
    /dev/sda2 / ext3 defaults 0 1
    /dev/sda3 /home ext3 defaults 0 1
    and my mtab file (when my cdrom is mounted):
    /dev/sda2 / ext3 rw 0 0
    none /proc proc rw 0 0
    none /sys sysfs rw 0 0
    none /proc/bus/usb usbfs rw 0 0
    none /dev/pts devpts rw 0 0
    none /dev/shm tmpfs rw 0 0
    /dev/sda3 /home ext3 rw 0 0
    automount(pid10235) /mnt autofs rw,fd=4,pgrp=10235,minproto=2,maxproto=4 0 0
    /dev/sr0 /mnt/cdrom iso9660 ro,noexec,nosuid,nodev,unhide 0 0
    Last edited by linuxlefty (2007-04-29 20:50:27)

    After a couple of reboots, it seemed to fix itself (*yay*)

  • Disable autofs?

    What is svc:/system/filesystem/autofs:default (from SMF)
    I am considering disabling it.
    Any information welcome.
    Thanks!

    Automount/autofs
    # svcs -l autofs
    fmri svc:/system/filesystem/autofs:default
    name automounter
    enabled true
    state online
    next_state none
    state_time Fri Apr 30 14:51:05 2010
    logfile /var/svc/log/system-filesystem-autofs:default.log
    restarter svc:/system/svc/restarter:default
    contract_id 63
    dependency require_all/none svc:/system/filesystem/local (online)
    dependency require_all/restart svc:/milestone/name-services (online)
    dependency optional_all/none svc:/network/nfs/client (online)
    dependency require_all/restart svc:/network/rpc/bind (online)

  • 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.

  • Ssh issues on a new solaris 10 install...

    Hello guys,
    I am having an issue starting SSH on a newly installed solaris 10 box.
    I attempted to run
    svcadm enable network/ssh
    and i was still offline. I think there are some autofs dependancies causing the issue because I looked through some forums before and was able to make it work once. after the restart I could no longer make it work. So I reinstalled...
    Same issue. both times I did a default install with the OEM packge and have tried two totally separate downloads and media.
    when I got it to work last time I think I ended up going down all the dependancies lists and turned them all on. Is there an easier way?
    Here is my SVC printouts...
    # svcadm enable /network/ssh
    # svcs -l ssh
    fmri svc:/network/ssh:default
    name SSH server
    enabled true
    state offline
    next_state none
    state_time Mon Aug 22 12:36:53 2005
    restarter svc:/system/svc/restarter:default
    dependency require_all/none svc:/system/filesystem/local (online)
    dependency optional_all/none svc:/system/filesystem/autofs (offline)
    dependency require_all/none svc:/network/loopback (online)
    dependency require_all/none svc:/network/physical (online)
    dependency require_all/none svc:/system/cryptosvc (online)
    dependency require_all/none svc:/system/utmp (online)
    dependency require_all/restart file://localhost/etc/ssh/sshd_config (online)
    # svcs -l autofs
    fmri svc:/system/filesystem/autofs:default
    name automounter
    enabled true
    state offline
    next_state none
    state_time Mon Aug 22 12:36:51 2005
    restarter svc:/system/svc/restarter:default
    dependency require_all/none svc:/system/filesystem/local (online)
    dependency require_all/restart svc:/milestone/name-services (offline)
    dependency optional_all/none svc:/network/nfs/client (offline)
    any ideas on what I should do next?
    Thanks

    Time to check the logfile(s). First that of the SMF entry itself (/var/svc/log/) and next the syslog or messages logfile (/var/log or /var/adm), only then will you get a good idea of whats going on.

  • Constant hard drive access

    Just built a new pc, and installed Arch on it. All sems fine except the hard drive seems to be constantly accessed. Ever few seconds the light comes on, and it chugs away.
    It's maddening! I can't figure out what's causing it, Can't seen any processes which would be causing this.
    I also have another strange problem which maybe related. Conky's network graph shows that I am constantly downloading ffrom the internet at 1-5 k/s
    Some process must be causing this. Can anyone suggest how I would find it out?
    Maybe something is writing to a log file somewhere. Does anyone know how to use find to report any files written to in the last few seconds?
    cheers

    soylent_green_is_hamster wrote:
    heh heh, no - it's not a laptop.
    also found the following process running:
    root      6344  6296  0 14:43 ?        00:00:01 hald-addon-storage: polling /dev/sr0 (every 2 sec)
    my dvd drive is device sr0, killing that stops the hard drive light blinking constantly (although now my cds/dvds obviously won't automount). That's really annoying, but I guess there's nothing I can do about that if I'm going to use a SATA dvd drive?
    No, no don't kill it like that. Use:
    hal-enable-polling --disable-polling /dev/sr0
    I know it's silly

  • [Solved] KDE4 doesn't do stuff when I plug in a drive or insert a CD

    When I plug in a USB drive or insert an audio CD, KDE4.3 won't automount it, or even ask me what to do with it. I'd like for it to at least automount USB drives. This says KDE4.3 can do that, but I can't find an option for it anywhere.
    I've followed this suggestion on the wiki but it had no effect.
    Thoughts?
    EDIT: I've no longer had this problem since upgrading to KDE 4.4.
    Last edited by Pikadude No. 1 (2010-04-03 10:07:41)

    Does this
    http://wiki.archlinux.org/index.php/KDE … utomounted
    help ?

  • How do I mount nfs conditionally?

    I have a file server with nfs shares and I've been mounting those shares with fstab entry.
    I recently discovered (via systemd-analyze) that my really slow boot times were a result of the file server not being available ( powered off.)
    The server will not always be online, so how do I change my fstab entry to only mount when the server is available?
    I do like having the ability to mount -a when I need to mount on the fly.
    I've attempted to search for this info, but found myself in a mess of fstab vs. systemd automount vs autofs posts.
    Thank you

    WonderWoofy wrote:
    Yes, autofs indeed.  I have the following additional mount options on my nfs share:
    ...noauto,x-systemd.automount,nofail,_netdev
    To avoid confusion, it's worth mentioning that autofs and systemd automount are two completely different beasts.
    WonderWoofy wrote:
    when I do get back onto my home network with the nfs share, I simply do
    $ mount /mount/point
    FYI, the presence of x-systemd.automount in your fstab means you don't have to issue the mount command - it will automount whenever you try to access it.

  • New storage harddrive has be mounted every boot ... SOLVED

    I put a new hard drive in as a slave for data.. used gparted to format it and label it.. but everytime i reboot.. the links to the various folders are empty.. as if its not there.. i have to back to gparted, unmount it, then close gparted and its there and i  have to re find the links for wallpapers, and my music to play music or to have switching wallpapers..
    any ideas??? I thought once you named it, formated it, via gparted, it was just "there" every reboot?
    am i missing something..
    I just checked fstab, and it's not there.. just alot of UUID numbers.. how do i add a hard drive??? iread the posts.. and i have no clue what is meant or how to do it???
    UUID=64cb2ee2-8132-4632-b1fd-661af630d315 / ext4 defaults 0 1
    UUID=8bef63b2-e0d2-42a5-b747-7ff8710883a8 /home ext4 defaults 0 1
    UUID=8ff88b2a-bc7b-42a8-8682-38d7f0c825f9 swap swap defaults 0 0
    UUID=fd64e00d-457d-4c99-8ba7-c790402d66fd /boot ext2 defaults 0 1
    I did the above by opening Kate and looking at fstab as a normal user..
    the harddrive is working.. i'm playing music from it now.. so i did this command and got the following
    -l /dev/disk/by-uuid
    total 0
    lrwxrwxrwx 1 root root 10 Jul 16 06:59 579a08ea-3bb0-450c-a88e-cf248488c29e -> ../../sdb1
    lrwxrwxrwx 1 root root 10 Jul 16 06:59 64cb2ee2-8132-4632-b1fd-661af630d315 -> ../../sda3
    lrwxrwxrwx 1 root root 10 Jul 16 06:59 8bef63b2-e0d2-42a5-b747-7ff8710883a8 -> ../../sda4
    lrwxrwxrwx 1 root root 10 Jul 16 06:59 8ff88b2a-bc7b-42a8-8682-38d7f0c825f9 -> ../../sda2
    lrwxrwxrwx 1 root root 10 Jul 16 06:59 fd64e00d-457d-4c99-8ba7-c790402d66fd -> ../../sda1
    now I have no idea what to do with this information above and how to add it to fstab ?
    do i just add (the sdb1 entry like this)  UUID=579a08ea-3bb0-450c-a88e-cf248488c29e / ext4 defaults 0 1
    to fstab? if "yes" , then do i put it at the top where it is with that command output, or on the bottom?
    its mounted in dolphin as /media/%mystuff  so will it look like this instead?
    UUID=579a08ea-3bb0-450c-a88e-cf248488c29e /media/%mystuff  ext4 defaults 0 1
    or
    UUID=579a08ea-3bb0-450c-a88e-cf248488c29e /%mystuff ext4 defaults 0 1
    i'm totally lost, and i dont want to have to thru mount -a or opening up gparted everything I want to use this data drive with pics, music, documents, etc on it
    I just installed autofs (said it automounts even those drives that dont show up in fstab) this didnt work..
    i had to open up dolphin and add entry and i hit cancel and everything then showed up?
    do i have to go thru this every reboot?
    I FIXED IT, by reading the wiki and googling.. added this entry to fstab
    UUID=579a08ea-3bb0-450c-a88e-cf248488c29e /media/%mystuff  ext4 defaults 0 1
    rebooted, voila.. i was about to have a meltdown.. i guess reading is funda-mental !!!
    thanks
    Last edited by binskipy2u (2010-07-16 14:25:12)

    binskipy2u wrote:
    should I have made that 1 a 2?? and why? just wondering?
    but it seems to all work now.. at reboot..
    2, you didn't read the wiki page I posted did you?
    binskipy2u wrote:
    i put the % there /media/%mystuff ext4 defaults 0 1
    I have NO idea how that % got in there.. but now I cant rename it to just /media/mystuff
    even in root..
    why? what's your default shell? in bash:
    mv /media/{%,}mystaff
    EDIT: of course you have to unmount /media/%mystaff first.
    Last edited by sisco311 (2010-07-16 23:17:16)

Maybe you are looking for