All of lore.kernel.org
 help / color / mirror / Atom feed
* autofs v4
@ 2003-10-23 16:05 Greg Bradner
  0 siblings, 0 replies; 5+ messages in thread
From: Greg Bradner @ 2003-10-23 16:05 UTC (permalink / raw)
  To: autofs

It is not making the mount  points for program mounts. Any ideas?

This is from /etc/auto_maps/autofs_host_mount.pl, my program for program 
mounts.
PARGS /usr/sbin/automount --timeout 60 /n program 
/etc/auto_maps/autofs_host_mount.pl vers=2,mountvers=2 
rsize=32768,wsize=32768
TEST = --timeout
TEST = 60
TEST = /n
BASEDIR = /n (2)
MOUNT OPTS: -o  vers=2,mountvers=2,rsize=32768,wsize=32768
am_mount -o  vers=2,mountvers=2,rsize=32768,wsize=32768 linn:/etc 
/n/linn/etc
am_mount -o  vers=2,mountvers=2,rsize=32768,wsize=32768 linn:/usr 
/n/linn/usr
am_mount -o  vers=2,mountvers=2,rsize=32768,wsize=32768 linn:/local/b 
/n/linn/local/b
am_mount -o  vers=2,mountvers=2,rsize=32768,wsize=32768 linn:/local/a 
/n/linn/local/a
/n/linn

[34] lid2:/# tail /var/log/messages
Oct 23 08:55:50 lid2 am_mount[11720]: am_mount /n/linn/usr
Oct 23 08:55:50 lid2 automount[2281]: attempting to mount entry /n/linn
Oct 23 08:55:50 lid2 am_mount[11725]: am_mount /n/linn/etc
Oct 23 08:55:50 lid2 am_mount[11726]: am_mount /n/linn/usr
Oct 23 08:55:50 lid2 am_mount[11727]: am_mount /n/linn/local/b
Oct 23 08:55:50 lid2 am_mount[11728]: am_mount /n/linn/local/a
Oct 23 08:55:50 lid2 automount[11722]: >> mount: wrong fs type, bad 
option, bad superblock on ,
Oct 23 08:55:50 lid2 automount[11722]: >>        or too many mounted 
file systems

^ permalink raw reply	[flat|nested] 5+ messages in thread

* autofs v4
@ 2003-10-23 16:08 Greg Bradner
  2003-10-24 13:16 ` Ian Kent
  0 siblings, 1 reply; 5+ messages in thread
From: Greg Bradner @ 2003-10-23 16:08 UTC (permalink / raw)
  To: autofs


It is not making the mount  points for program mounts. Any ideas?

This is from /etc/auto_maps/autofs_host_mount.pl, my program for program 
mounts.
PARGS /usr/sbin/automount --timeout 60 /n program 
/etc/auto_maps/autofs_host_mount.pl vers=2,mountvers=2 
rsize=32768,wsize=32768
TEST = --timeout
TEST = 60
TEST = /n
BASEDIR = /n (2)
MOUNT OPTS: -o  vers=2,mountvers=2,rsize=32768,wsize=32768
am_mount -o  vers=2,mountvers=2,rsize=32768,wsize=32768 linn:/etc 
/n/linn/etc
am_mount -o  vers=2,mountvers=2,rsize=32768,wsize=32768 linn:/usr 
/n/linn/usr
am_mount -o  vers=2,mountvers=2,rsize=32768,wsize=32768 linn:/local/b 
/n/linn/local/b
am_mount -o  vers=2,mountvers=2,rsize=32768,wsize=32768 linn:/local/a 
/n/linn/local/a
/n/linn

[34] lid2:/# tail /var/log/messages
Oct 23 08:55:50 lid2 am_mount[11720]: am_mount /n/linn/usr
Oct 23 08:55:50 lid2 automount[2281]: attempting to mount entry /n/linn
Oct 23 08:55:50 lid2 am_mount[11725]: am_mount /n/linn/etc
Oct 23 08:55:50 lid2 am_mount[11726]: am_mount /n/linn/usr
Oct 23 08:55:50 lid2 am_mount[11727]: am_mount /n/linn/local/b
Oct 23 08:55:50 lid2 am_mount[11728]: am_mount /n/linn/local/a
Oct 23 08:55:50 lid2 automount[11722]: >> mount: wrong fs type, bad 
option, bad superblock on ,
Oct 23 08:55:50 lid2 automount[11722]: >>        or too many mounted 
file systems

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: autofs v4
  2003-10-23 16:08 Greg Bradner
@ 2003-10-24 13:16 ` Ian Kent
  2003-10-24 20:48   ` Greg Bradner
  0 siblings, 1 reply; 5+ messages in thread
From: Ian Kent @ 2003-10-24 13:16 UTC (permalink / raw)
  To: Greg Bradner; +Cc: autofs

On Thu, 23 Oct 2003, Greg Bradner wrote:

Can you post the script or the output of it along with the imputs used 
please.

> 
> It is not making the mount  points for program mounts. Any ideas?
> 
> This is from /etc/auto_maps/autofs_host_mount.pl, my program for program 
> mounts.
> PARGS /usr/sbin/automount --timeout 60 /n program 
> /etc/auto_maps/autofs_host_mount.pl vers=2,mountvers=2 
> rsize=32768,wsize=32768
> TEST = --timeout
> TEST = 60
> TEST = /n
> BASEDIR = /n (2)
> MOUNT OPTS: -o  vers=2,mountvers=2,rsize=32768,wsize=32768
> am_mount -o  vers=2,mountvers=2,rsize=32768,wsize=32768 linn:/etc 
> /n/linn/etc
> am_mount -o  vers=2,mountvers=2,rsize=32768,wsize=32768 linn:/usr 
> /n/linn/usr
> am_mount -o  vers=2,mountvers=2,rsize=32768,wsize=32768 linn:/local/b 
> /n/linn/local/b
> am_mount -o  vers=2,mountvers=2,rsize=32768,wsize=32768 linn:/local/a 
> /n/linn/local/a
> /n/linn
> 
> [34] lid2:/# tail /var/log/messages
> Oct 23 08:55:50 lid2 am_mount[11720]: am_mount /n/linn/usr
> Oct 23 08:55:50 lid2 automount[2281]: attempting to mount entry /n/linn
> Oct 23 08:55:50 lid2 am_mount[11725]: am_mount /n/linn/etc
> Oct 23 08:55:50 lid2 am_mount[11726]: am_mount /n/linn/usr
> Oct 23 08:55:50 lid2 am_mount[11727]: am_mount /n/linn/local/b
> Oct 23 08:55:50 lid2 am_mount[11728]: am_mount /n/linn/local/a
> Oct 23 08:55:50 lid2 automount[11722]: >> mount: wrong fs type, bad 
> option, bad superblock on ,
> Oct 23 08:55:50 lid2 automount[11722]: >>        or too many mounted 
> file systems
> 
> 
> 
> 
> _______________________________________________
> autofs mailing list
> autofs@linux.kernel.org
> http://linux.kernel.org/mailman/listinfo/autofs
> 

-- 

   ,-._|\    Ian Kent
  /      \   Perth, Western Australia
  *_.--._/   E-mail: raven@themaw.net
        v    Web: http://themaw.net/

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: autofs v4
  2003-10-24 13:16 ` Ian Kent
@ 2003-10-24 20:48   ` Greg Bradner
  0 siblings, 0 replies; 5+ messages in thread
From: Greg Bradner @ 2003-10-24 20:48 UTC (permalink / raw)
  To: Ian Kent; +Cc: autofs


[-- Attachment #1.1: Type: text/plain, Size: 1834 bytes --]

I noticed what was going on after I sent the message. My program is 
outputing the wrong information.
Thanks.

Ian Kent wrote:

>On Thu, 23 Oct 2003, Greg Bradner wrote:
>
>Can you post the script or the output of it along with the imputs used 
>please.
>
>  
>
>>It is not making the mount  points for program mounts. Any ideas?
>>
>>This is from /etc/auto_maps/autofs_host_mount.pl, my program for program 
>>mounts.
>>PARGS /usr/sbin/automount --timeout 60 /n program 
>>/etc/auto_maps/autofs_host_mount.pl vers=2,mountvers=2 
>>rsize=32768,wsize=32768
>>TEST = --timeout
>>TEST = 60
>>TEST = /n
>>BASEDIR = /n (2)
>>MOUNT OPTS: -o  vers=2,mountvers=2,rsize=32768,wsize=32768
>>am_mount -o  vers=2,mountvers=2,rsize=32768,wsize=32768 linn:/etc 
>>/n/linn/etc
>>am_mount -o  vers=2,mountvers=2,rsize=32768,wsize=32768 linn:/usr 
>>/n/linn/usr
>>am_mount -o  vers=2,mountvers=2,rsize=32768,wsize=32768 linn:/local/b 
>>/n/linn/local/b
>>am_mount -o  vers=2,mountvers=2,rsize=32768,wsize=32768 linn:/local/a 
>>/n/linn/local/a
>>/n/linn
>>
>>[34] lid2:/# tail /var/log/messages
>>Oct 23 08:55:50 lid2 am_mount[11720]: am_mount /n/linn/usr
>>Oct 23 08:55:50 lid2 automount[2281]: attempting to mount entry /n/linn
>>Oct 23 08:55:50 lid2 am_mount[11725]: am_mount /n/linn/etc
>>Oct 23 08:55:50 lid2 am_mount[11726]: am_mount /n/linn/usr
>>Oct 23 08:55:50 lid2 am_mount[11727]: am_mount /n/linn/local/b
>>Oct 23 08:55:50 lid2 am_mount[11728]: am_mount /n/linn/local/a
>>Oct 23 08:55:50 lid2 automount[11722]: >> mount: wrong fs type, bad 
>>option, bad superblock on ,
>>Oct 23 08:55:50 lid2 automount[11722]: >>        or too many mounted 
>>file systems
>>
>>
>>
>>
>>_______________________________________________
>>autofs mailing list
>>autofs@linux.kernel.org
>>http://linux.kernel.org/mailman/listinfo/autofs
>>
>>    
>>
>
>  
>

[-- Attachment #1.2: Type: text/html, Size: 2385 bytes --]

[-- Attachment #2: Type: text/plain, Size: 140 bytes --]

_______________________________________________
autofs mailing list
autofs@linux.kernel.org
http://linux.kernel.org/mailman/listinfo/autofs

^ permalink raw reply	[flat|nested] 5+ messages in thread

* RE: autofs v4
@ 2003-11-17 18:03 peter.a.harris
  0 siblings, 0 replies; 5+ messages in thread
From: peter.a.harris @ 2003-11-17 18:03 UTC (permalink / raw)
  To: gregb; +Cc: autofs

Are you doing an ASCII sort on the showmount output?  I think the
automounter needs to mount the root file system first.  At least that is my
experience.

I ran into what I think is a similar problem awhile back with the standard
script that is sent out with (I think) both the 4.0 and 4.1 versions of
autofs.  It stems from the sort command and your locale.  Our locale is the
default Red Hat installation en_us...  Without changes, I would get:

showmount --no-headers -e lx4 | sort 
/boot       @ng_cse,@ng_tmecc
/localtmp   @ng_cse,@ng_tmecc
/           @ng_cse,@ng_tmecc
/usr        @ng_cse,@ng_tmecc
/var        @ng_cse,@ng_tmecc

With that I would not see all the mounts, because the early mounts were
being covered by the late mount of /.

I initially solved the problem by

showmount --no-headers -e lx4 | sort +0 -1
/           @ng_cse,@ng_tmecc
/boot       @ng_cse,@ng_tmecc
/localtmp   @ng_cse,@ng_tmecc
/usr        @ng_cse,@ng_tmecc
/var        @ng_cse,@ng_tmecc

and I have subsequently learned I could set LANG=C to get the expected ASCII
sort sequence.



Pete Harris
Central Engineering / Technical Computing
Phone:	1-503-627-3989
Fax:	1-503-627-5587

   __++__            ---------  ___,--. --+_._._:_    
  _|____|_ _________ |__|_|__| |_SP&S_| |_|_===__|    
   oo  oo ~ oo   oo ~ oo   oo ~ ooo ooo~ o OOOO =o\   
============================================================
Perform random acts of kindness and senseless beauty...


-----Original Message-----
From: Greg Bradner [mailto:gregb@rhythm.com] 
Sent: Thursday, October 23, 2003 09:06
To: autofs@linux.kernel.org
Subject: [autofs] autofs v4

It is not making the mount  points for program mounts. Any ideas?

This is from /etc/auto_maps/autofs_host_mount.pl, my program for program 
mounts.
PARGS /usr/sbin/automount --timeout 60 /n program 
/etc/auto_maps/autofs_host_mount.pl vers=2,mountvers=2 
rsize=32768,wsize=32768
TEST = --timeout
TEST = 60
TEST = /n
BASEDIR = /n (2)
MOUNT OPTS: -o  vers=2,mountvers=2,rsize=32768,wsize=32768
am_mount -o  vers=2,mountvers=2,rsize=32768,wsize=32768 linn:/etc 
/n/linn/etc
am_mount -o  vers=2,mountvers=2,rsize=32768,wsize=32768 linn:/usr 
/n/linn/usr
am_mount -o  vers=2,mountvers=2,rsize=32768,wsize=32768 linn:/local/b 
/n/linn/local/b
am_mount -o  vers=2,mountvers=2,rsize=32768,wsize=32768 linn:/local/a 
/n/linn/local/a
/n/linn

[34] lid2:/# tail /var/log/messages
Oct 23 08:55:50 lid2 am_mount[11720]: am_mount /n/linn/usr
Oct 23 08:55:50 lid2 automount[2281]: attempting to mount entry /n/linn
Oct 23 08:55:50 lid2 am_mount[11725]: am_mount /n/linn/etc
Oct 23 08:55:50 lid2 am_mount[11726]: am_mount /n/linn/usr
Oct 23 08:55:50 lid2 am_mount[11727]: am_mount /n/linn/local/b
Oct 23 08:55:50 lid2 am_mount[11728]: am_mount /n/linn/local/a
Oct 23 08:55:50 lid2 automount[11722]: >> mount: wrong fs type, bad 
option, bad superblock on ,
Oct 23 08:55:50 lid2 automount[11722]: >>        or too many mounted 
file systems


_______________________________________________
autofs mailing list
autofs@linux.kernel.org
http://linux.kernel.org/mailman/listinfo/autofs

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2003-11-17 18:03 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-10-23 16:05 autofs v4 Greg Bradner
  -- strict thread matches above, loose matches on Subject: below --
2003-10-23 16:08 Greg Bradner
2003-10-24 13:16 ` Ian Kent
2003-10-24 20:48   ` Greg Bradner
2003-11-17 18:03 peter.a.harris

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.