Automount is not working any more

I’m using a nas. If I use yast to to mount the shared folders are inserted into fstab. Most of the time my nas is sleeping so starting my computer takes a long time an not all my shared folders are mounted.
So i tried to use automount to mount my shared folders.
I aktivated autofs and added to my auto.master the folowing line


/net	/etc/auto.net

also I added the folowing lines to auto.net


video	        -fstype=nfs,rw,soft,tcp,nosuid,nodev,intr  192.168.1.100:/volume1/video
Daten	-fstype=nfs,rw,soft,tcp,nosuid,nodev,intr  192.168.1.100:/volume1/Daten
musik	-fstype=nfs,rw,soft,tcp,nosuid,nodev,intr  192.168.1.100:/volume1/music
foto	        -fstype=nfs,rw,soft,tcp,nosuid,nodev,intr  192.168.1.100:/volume1/photo
dm800	-fstype=nfs,rw,soft,tcp,nosuid,nodev,intr  192.168.1.3:/media/hdd
usb	        -fstype=nfs,rw,soft,tcp,nosuid,nodev,intr  192.168.1.100:/volumeUSB1/usbshare

This worked in the privious Suse Version but not any more in 12.1

On 01/26/2012 03:06 PM, Goofy180173 wrote:
>
> I’m using a nas. If I use yast to to mount the shared folders are
> inserted into fstab. Most of the time my nas is sleeping so starting my
> computer takes a long time an not all my shared folders are mounted.
> So i tried to use automount to mount my shared folders.
> I aktivated autofs and added to my auto.master the folowing line
>
> Code:
> --------------------
>
> /net /etc/auto.net
>
> --------------------
>
> also I added the folowing lines to auto.net
>
> Code:
> --------------------
>
> video -fstype=nfs,rw,soft,tcp,nosuid,nodev,intr 192.168.1.100:/volume1/video
> Daten -fstype=nfs,rw,soft,tcp,nosuid,nodev,intr 192.168.1.100:/volume1/Daten
> musik -fstype=nfs,rw,soft,tcp,nosuid,nodev,intr 192.168.1.100:/volume1/music
> foto -fstype=nfs,rw,soft,tcp,nosuid,nodev,intr 192.168.1.100:/volume1/photo
> dm800 -fstype=nfs,rw,soft,tcp,nosuid,nodev,intr 192.168.1.3:/media/hdd
> usb -fstype=nfs,rw,soft,tcp,nosuid,nodev,intr 192.168.1.100:/volumeUSB1/usbshare
>
> --------------------
>
> This worked in the privious Suse Version but not any more in 12.1

I use the direct method to automount my NFS volumes with 12.1.

Is the autofs service running?

Check with


sudo /sbin/service autofs status

If not running, then


sudo /sbin/service autofs --full-restart

Those commands will work with either systemd and SystemV.

It’ s running


redirecting to systemctl
autofs.service - LSB: automatic mounting cdof filesystems
	  Loaded: loaded (/etc/init.d/autofs)
	  Active: active (running) since Fri, 27 Jan 2012 20:57:16 +0100; 10min ago
	 Process: 4276 ExecStart=/etc/init.d/autofs start (code=exited, status=0/SUCCESS)
	  CGroup: name=systemd:/system/autofs.service
		  └ 4307 /usr/sbin/automount -p /var/run/automount.pid


If I change to /net there are no more directories