Re: [opensuse] Losing NFS mounts on 11.1
- From: Manfred Hollstein <manfred@xxxxxxxxxxxxxxxxx>
- Date: Mon, 3 Aug 2009 17:01:14 +0200
Hi James,
On Mon, 03 Aug 2009, 16:38:32 +0200, James Pifer wrote:
This should look like:
storage -tcp,rw,hard,intr,rsize=32768,wsize=32768 192.168.0.22:/storage
mythtv -tcp,rw,hard,intr,rsize=32768,wsize=32768 192.168.0.16:/mythtv
With this map, you can access e.g. 192.168.0.22:/storage at
/home/user/shares/storage .
Of course, the "tcp", "rsize=" and "wsize=" options depend on your actual
network settings.
I tried this and if I make auto.shares NOT executable, then I get these
errors in the log file when I try to access the mount:
Aug 3 10:32:18 user-8710w automount[15947]: lookup_nss_mount: key "storage" not found in map.
Aug 3 10:32:19 user-8710w automount[15947]: lookup_nss_mount: key "mythtv" not found in map.
That's what I got before as well, and googled it. Came across someone
saying make it executable. That takes the errors away, but things still
don't work.
Dunno what you're doing wrong, but you must be doing something wrong
because I just tested this on my systems and it worked OK! There were
only two items I changed:
/etc/auto.master:
#+ I don't have this '+' entry; according to auto.master(5), the
# + [map-type,format:]map[options] can be "included from its source
# as if it were itself present in the master map; dunno if you have
# such a "source"...
/home/user/shares /etc/auto.shares # Use an absolute pathname for the mapfile
You can find all the details about the autofs *maps* in autofs(5).
Yeah, went through the man page and only got so far.
Thanks,
James
HTH, cheers.
l8er
manfred
--
To unsubscribe, e-mail: opensuse+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: opensuse+help@xxxxxxxxxxxx
- Follow-Ups:
- Re: [opensuse] Losing NFS mounts on 11.1
- From: James Pifer
- Re: [opensuse] Losing NFS mounts on 11.1
- References:
- Re: [opensuse] Losing NFS mounts on 11.1
- From: Ciro Iriarte
- Re: [opensuse] Losing NFS mounts on 11.1
- From: James Pifer
- Re: [opensuse] Losing NFS mounts on 11.1
- From: Manfred Hollstein
- Re: [opensuse] Losing NFS mounts on 11.1
- From: James Pifer
- Re: [opensuse] Losing NFS mounts on 11.1
- Prev by Date: Re: [opensuse] Losing NFS mounts on 11.1
- Next by Date: Re: [opensuse] User unknown in relay recipient table when sending mail to user alias
- Previous by thread: Re: [opensuse] Losing NFS mounts on 11.1
- Next by thread: Re: [opensuse] Losing NFS mounts on 11.1
- Index(es):
Relevant Pages
|