solved Autofs not mounting drives after update

Ask questions about Arch Linux ARM. Please search before making a new topic.

solved Autofs not mounting drives after update

Postby jeajea » Sun Nov 10, 2013 2:15 pm

After running pacman –Syu on my Zyxel NSA325 autofs/automount doesn’t create directories
with or without “—ghost” and doesn’t mount partitions.

$this->bbcode_second_pass_code('', '/etc/autofs.auto.master
[root@zy01 autofs]# cat auto.master
# 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 --ghost
# End')

$this->bbcode_second_pass_code('', '/etc/autofs.auto.media
[root@zy01 autofs]# cat auto.media
# 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

b1 -fstype=auto,async,nodev,nosuid :/dev/sdb1
b2 -fstype=auto,async,nodev,nosuid :/dev/sdb2
b3 -fstype=auto,async,nodev,nosuid :/dev/sdb3
c1 -fstype=auto,async,nodev,nosuid :/dev/sdc1
c2 -fstype=auto,async,nodev,nosuid :/dev/sdc2
c3 -fstype=auto,async,nodev,nosuid :/dev/sdc3
d1 -fstype=auto,async,nodev,nosuid :/dev/sdd1
d2 -fstype=auto,async,nodev,nosuid :/dev/sdd2
# cdrom -fstype=iso9660,ro,nodev,nosuid :/dev/cdrom
# floppy -fstype=auto,async,nodev,nosuid,umask=000 :/dev/fl
# usbstick -fstype=auto,async,nodev,nosuid,umask=000 :/dev/sda1
# END')

$this->bbcode_second_pass_code('', '[root@zy01 autofs]# mount
/dev/sda2 on / type ext4 (rw,relatime,data=ordered)
devtmpfs on /dev type devtmpfs (rw,relatime,size=255820k,nr_inodes=63955,mode=755)
proc on /proc type proc (rw,nosuid,nodev,noexec,relatime)
sysfs on /sys type sysfs (rw,nosuid,nodev,noexec,relatime)
securityfs on /sys/kernel/security type securityfs (rw,nosuid,nodev,noexec,relatime)
tmpfs on /dev/shm type tmpfs (rw,nosuid,nodev)
devpts on /dev/pts type devpts (rw,nosuid,noexec,relatime,gid=5,mode=620,ptmxmode=000)
tmpfs on /run type tmpfs (rw,nosuid,nodev,mode=755)
tmpfs on /sys/fs/cgroup type tmpfs (rw,nosuid,nodev,noexec,mode=755)
cgroup on /sys/fs/cgroup/systemd type cgroup (rw,nosuid,nodev,noexec,relatime,xattr,release_agent=/usr/lib/systemd/systemd-cgroups-agent,name=systemd)
cgroup on /sys/fs/cgroup/cpuset type cgroup (rw,nosuid,nodev,noexec,relatime,cpuset)
cgroup on /sys/fs/cgroup/cpu,cpuacct type cgroup (rw,nosuid,nodev,noexec,relatime,cpuacct,cpu)
cgroup on /sys/fs/cgroup/devices type cgroup (rw,nosuid,nodev,noexec,relatime,devices)
cgroup on /sys/fs/cgroup/freezer type cgroup (rw,nosuid,nodev,noexec,relatime,freezer)
cgroup on /sys/fs/cgroup/net_cls type cgroup (rw,nosuid,nodev,noexec,relatime,net_cls)
cgroup on /sys/fs/cgroup/blkio type cgroup (rw,nosuid,nodev,noexec,relatime,blkio)
cgroup on /sys/fs/cgroup/bfqio type cgroup (rw,nosuid,nodev,noexec,relatime,bfqio)
cgroup on /sys/fs/cgroup/perf_event type cgroup (rw,nosuid,nodev,noexec,relatime,perf_event)
debugfs on /sys/kernel/debug type debugfs (rw,relatime)
mqueue on /dev/mqueue type mqueue (rw,relatime)
systemd-1 on /proc/sys/fs/binfmt_misc type autofs (rw,relatime,fd=39,pgrp=1,timeout=300,minproto=5,maxproto=5,direct)
tmpfs on /tmp type tmpfs (rw)
/dev/sda1 on /boot type ext2 (rw,noatime,errors=continue,user_xattr)
/dev/sda3 on /a3-data type ext4 (rw,noatime,data=ordered)
/etc/autofs/auto.media on /media type autofs (rw,relatime,fd=7,pgrp=183,timeout=600,minproto=5,maxproto=5,indirect)
[root@zy01 autofs]# cd /media
[root@zy01 media]# ls
[root@zy01 media]#')
Last edited by jeajea on Thu Nov 21, 2013 1:30 pm, edited 1 time in total.
Jim Anderson
3 Dockstars, 3 Pogoplug V2 and a Zyxel NSA325
Treasure Island, Fl
jeajea
 
Posts: 121
Joined: Wed Aug 25, 2010 4:00 pm

Re: Autofs not mounting drives after update

Postby jeajea » Wed Nov 20, 2013 3:17 pm

If anyone has autofs working please post your configuration files
Jim Anderson
3 Dockstars, 3 Pogoplug V2 and a Zyxel NSA325
Treasure Island, Fl
jeajea
 
Posts: 121
Joined: Wed Aug 25, 2010 4:00 pm

Re: Autofs not mounting drives after update

Postby jeajea » Thu Nov 21, 2013 1:29 pm

I found the solution to the problem here.

https://lists.fedoraproject.org/piperma ... 28314.html

The auto.media map file was set to executable.
Jim Anderson
3 Dockstars, 3 Pogoplug V2 and a Zyxel NSA325
Treasure Island, Fl
jeajea
 
Posts: 121
Joined: Wed Aug 25, 2010 4:00 pm


Return to User Questions

Who is online

Users browsing this forum: No registered users and 29 guests