Re: [opensuse] Losing NFS mounts on 11.1



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



Relevant Pages

  • Re: Populate a hash from a list elegantly
    ... Gunnar Hjalmarsson wrote: ... I dunno... ... # keys are userid's, ... my %user = map ...
    (comp.lang.perl.misc)
  • Re: Planned Weekend Gaming (PWG 07-06-13)
    ... the whole map is now open to scour. ... Still only on the mid 40% mark. ... On the 360, dunno - bored of it, even though I have loads of untouched ...
    (uk.games.video.misc)
  • Re: Large Drive CBM DOS Mapping Proposals
    ... hmmm I dunno. ... will understand how to set a partition via name, ... Maybe we implement this via a new command, ... the user to map a metadirectory to a number. ...
    (comp.sys.cbm)
  • Re: Populate a hash from a list elegantly
    ... I dunno... ... my %user = map ... According perldoc -f split, use of split in scalar context is deprecated. ...
    (comp.lang.perl.misc)
  • Re: fstab vs autofs
    ... Tim wrote: ... but I've been unable to find any explanation of this. ... it- self present in the master map by including a line of the form: ...
    (Fedora)