Re: automount on debian help

2005-03-19 Thread Derek Martin
On Fri, Mar 18, 2005 at 10:34:28PM -0500, Paul Lussier wrote:
 Derek Martin [EMAIL PROTECTED] writes:
 
  ...which is precisely what I wanted to know!  He seemed unsure which
  he was running...  The command I gave was tailor-made to determine
  that, and revealed that he was running autofs, but not amd.
 
  There's no point in looking at amd stuff, if he's not using it.  And
  it's important to know what's /supposed/ to be running, especially if
  it isn't.  Which it wasn't...
 
 Right, but he could have had it installed, and not configured to
 start, in which case, neither would have shown up in the rc3.d
 directory.

Which would have been very helpful to know, don't you think? =8^)


-- 
Derek D. Martinhttp://www.pizzashack.org/   GPG Key ID: 0xDFBEAD02
-=-=-=-=-
This message is posted from an invalid address.  Replying to it will result in
undeliverable mail.  Sorry for the inconvenience.  Thank the spammers.



pgpVoYCqfhyth.pgp
Description: PGP signature


Re: automount on debian help

2005-03-18 Thread Michael ODonnell


More info, please...

For starters, which automounter thingy are
you trying to use?   The amd?  autofs?

How do you configure automounting in your
environment?  NIS?  files?
 
___
gnhlug-discuss mailing list
gnhlug-discuss@mail.gnhlug.org
http://mail.gnhlug.org/mailman/listinfo/gnhlug-discuss


Re: automount on debian help

2005-03-18 Thread Derek Martin
On Fri, Mar 18, 2005 at 12:15:24PM -0500, Kenny Donahue wrote:
 Hi all,
 I just switched from RH 7.2 to the latest debian.
 Everything seems to be fine except that I can't seem to
 automount to the Solaris exported directories on our network.

So you're probably using autofs and NIS, right?

 Google searches have been useless. Tons of hits, zero content.  I
 have access to a machine with working automount so if I had a list
 of files that need to be changed, I could figure it out from there.

First, look at /etc/nsswitch.conf and check the entry for automount.
If you're using NIS, you'll probably have to insert nis at the
beginning of the line.  Of course, your system will need to be an NIS
client...

If you're relying on files, you'll need to copy /etc/auto.* from a
working machine.  It's been a long while since I supported autofs and
NIS, but I think that'll do it.

-- 
Derek D. Martinhttp://www.pizzashack.org/   GPG Key ID: 0xDFBEAD02
-=-=-=-=-
This message is posted from an invalid address.  Replying to it will result in
undeliverable mail.  Sorry for the inconvenience.  Thank the spammers.



pgpJyK0KoEsfC.pgp
Description: PGP signature


Re: automount on debian help

2005-03-18 Thread Kenny Donahue
I know diddly about network stuff so I'll do my best to answer.
I'm using NIS, autofs and amd (I think).
automounting is configured to use files.
Thanks,
Kenny
Michael ODonnell wrote:
More info, please...
For starters, which automounter thingy are
you trying to use?   The amd?  autofs?
How do you configure automounting in your
environment?  NIS?  files?
___
gnhlug-discuss mailing list
gnhlug-discuss@mail.gnhlug.org
http://mail.gnhlug.org/mailman/listinfo/gnhlug-discuss
 

___
gnhlug-discuss mailing list
gnhlug-discuss@mail.gnhlug.org
http://mail.gnhlug.org/mailman/listinfo/gnhlug-discuss


Re: automount on debian help

2005-03-18 Thread Kenny Donahue
Derek Martin wrote:
On Fri, Mar 18, 2005 at 12:15:24PM -0500, Kenny Donahue wrote:
 

Hi all,
I just switched from RH 7.2 to the latest debian.
Everything seems to be fine except that I can't seem to
automount to the Solaris exported directories on our network.
   

So you're probably using autofs and NIS, right?
 

u.ok...
 

Google searches have been useless. Tons of hits, zero content.  I
have access to a machine with working automount so if I had a list
of files that need to be changed, I could figure it out from there.
   

First, look at /etc/nsswitch.conf and check the entry for automount.
If you're using NIS, you'll probably have to insert nis at the
beginning of the line.  Of course, your system will need to be an NIS
client...
 

I have files nisplus nis for automount
If you're relying on files, you'll need to copy /etc/auto.* from a
working machine.  It's been a long while since I supported autofs and
NIS, but I think that'll do it.
 

That's what I did I even copied his /etc/nsswitch.conf.
No good.
Thanks,
Kenny
___
gnhlug-discuss mailing list
gnhlug-discuss@mail.gnhlug.org
http://mail.gnhlug.org/mailman/listinfo/gnhlug-discuss


Re: automount on debian help

2005-03-18 Thread Derek Martin
On Fri, Mar 18, 2005 at 02:00:37PM -0500, Kenny Donahue wrote:
 I know diddly about network stuff so I'll do my best to answer.
 I'm using NIS, autofs and amd (I think).

That seems really unlikely; autofs (automounter) and amd are two
different methods of accomplishing the same thing...  It would be
strange to be using both at the same time.  autofs is generally
considered to be the better of the two, so chances are that's what
you're using, not amd.

What is the output of the following command on both
boxes?  

  ls /etc/rc.d/rc3.d |egrep autofs|amd 

I don't have a debian box handy to check, but the path might be
/etc/rc3.d on Debian...  If the above gave you an error, try that
instead.

 automounting is configured to use files.

How was it configured on your old box?  Can you look in
/etc/nsswitch.conf on the old machine?

-- 
Derek D. Martinhttp://www.pizzashack.org/   GPG Key ID: 0xDFBEAD02
-=-=-=-=-
This message is posted from an invalid address.  Replying to it will result in
undeliverable mail.  Sorry for the inconvenience.  Thank the spammers.



pgp9hdXcHB3sC.pgp
Description: PGP signature


Re: automount on debian help

2005-03-18 Thread Derek Martin
On Fri, Mar 18, 2005 at 02:06:58PM -0500, Kenny Donahue wrote:
 If you're relying on files, you'll need to copy /etc/auto.* from a
 working machine.  It's been a long while since I supported autofs and
 NIS, but I think that'll do it.

 That's what I did I even copied his /etc/nsswitch.conf.
 No good.

Ok, let's backtrack a couple of steps...

Can you mount the exported filesystems manually?

Is automounter running on your system?

What is the output of this command:

  ps aux |grep '[a]utomounter'

What is the output of this command:

 ypwhich


We'll get it solved, eventually!

-- 
Derek D. Martinhttp://www.pizzashack.org/   GPG Key ID: 0xDFBEAD02
-=-=-=-=-
This message is posted from an invalid address.  Replying to it will result in
undeliverable mail.  Sorry for the inconvenience.  Thank the spammers.



pgpRKxHGM16lS.pgp
Description: PGP signature


Re: automount on debian help

2005-03-18 Thread Kenny Donahue
Derek Martin wrote:
On Fri, Mar 18, 2005 at 02:00:37PM -0500, Kenny Donahue wrote:
 

I know diddly about network stuff so I'll do my best to answer.
I'm using NIS, autofs and amd (I think).
   

That seems really unlikely; autofs (automounter) and amd are two
different methods of accomplishing the same thing...  It would be
strange to be using both at the same time.  autofs is generally
considered to be the better of the two, so chances are that's what
you're using, not amd.
What is the output of the following command on both
boxes?  

 ls /etc/rc.d/rc3.d |egrep autofs|amd 

 

S20autofs
Thanks,
Kenny
___
gnhlug-discuss mailing list
gnhlug-discuss@mail.gnhlug.org
http://mail.gnhlug.org/mailman/listinfo/gnhlug-discuss


Re: automount on debian help

2005-03-18 Thread Kenny Donahue
Derek Martin wrote:
On Fri, Mar 18, 2005 at 02:06:58PM -0500, Kenny Donahue wrote:
 

If you're relying on files, you'll need to copy /etc/auto.* from a
working machine.  It's been a long while since I supported autofs and
NIS, but I think that'll do it.
 

That's what I did I even copied his /etc/nsswitch.conf.
No good.
   

Ok, let's backtrack a couple of steps...
Can you mount the exported filesystems manually?
Is automounter running on your system?
What is the output of this command:
 ps aux |grep '[a]utomounter'
 

Nothing
What is the output of this command:
ypwhich
 

hades
Does this help?
Thanks,
Kenny
___
gnhlug-discuss mailing list
gnhlug-discuss@mail.gnhlug.org
http://mail.gnhlug.org/mailman/listinfo/gnhlug-discuss


Re: automount on debian help

2005-03-18 Thread Michael ODonnell


Try saying ypcat auto.master

___
gnhlug-discuss mailing list
gnhlug-discuss@mail.gnhlug.org
http://mail.gnhlug.org/mailman/listinfo/gnhlug-discuss


Re: automount on debian help

2005-03-18 Thread Michael ODonnell


To find out what's installed on a Debian
box, I often define this function:

   function dlgrep()  {
   # dpkg list grep
   COLUMNS=300 dpkg -l | tr -s '[:blank:]' ' ' | grep $*
   }

...which you could use thus:

   dlgrep -i autofs
   dlgrep -i amd


If you have NIS installed you should (by convention) be
able to say:

   ypcat auto.master

...to see which maps are available for your use.
 
___
gnhlug-discuss mailing list
gnhlug-discuss@mail.gnhlug.org
http://mail.gnhlug.org/mailman/listinfo/gnhlug-discuss


Re: automount on debian help

2005-03-18 Thread Kenny Donahue
Michael ODonnell wrote:
Try saying ypcat auto.master
___
gnhlug-discuss mailing list
gnhlug-discuss@mail.gnhlug.org
http://mail.gnhlug.org/mailman/listinfo/gnhlug-discuss
 

auto_usr   -bg
-host-bg
auto_home   -bg
auto_os   -bg
auto_web -bg
Thanks,
Kenny
___
gnhlug-discuss mailing list
gnhlug-discuss@mail.gnhlug.org
http://mail.gnhlug.org/mailman/listinfo/gnhlug-discuss


Re: automount on debian help

2005-03-18 Thread Michael ODonnell


 That seems really unlikely; autofs (automounter) and amd are two
 different methods of accomplishing the same thing...  It would be
 strange to be using both at the same time.  autofs is generally
 considered to be the better of the two, so chances are that's what
 you're using, not amd.


Although I'd agree it's an unnatural act, it's not unheard of for
both to be running - my current workplace is the second one where
I've see such weirdness.  We're officially an autofs-oriented
shop but we're running ClearCASE and the automounted-VOB trickery
relies on amd.  It seems like somebody ought be be able to sit down
and get ClearCASE to work with autofs but I don't think it'd be easy...
 
___
gnhlug-discuss mailing list
gnhlug-discuss@mail.gnhlug.org
http://mail.gnhlug.org/mailman/listinfo/gnhlug-discuss


Re: automount on debian help

2005-03-18 Thread Kenny Donahue
Derek Martin wrote:
On Fri, Mar 18, 2005 at 02:50:08PM -0500, Kenny Donahue wrote:
 

Ok, let's backtrack a couple of steps...
Can you mount the exported filesystems manually?
 

 

Sorry. yes, this works.

Which raises another point: do your mount points exist on your new
machine?  Autofs normally creates the last part of the path for you...
So if you have an automounted filesystem in /nfs/auto/blah, then on
your local system, /nfs/auto better exist.  If it doesn't, you're not
going to get your files.
 

does this mean I need to create /n and /h to mount /n and /h?
I'll try it.
Thanks
Kenny
 

___
gnhlug-discuss mailing list
gnhlug-discuss@mail.gnhlug.org
http://mail.gnhlug.org/mailman/listinfo/gnhlug-discuss


Re: automount on debian help

2005-03-18 Thread Paul Lussier
Michael ODonnell [EMAIL PROTECTED] writes:

 If you have NIS installed you should (by convention) be
 able to say:

ypcat auto.master

 ...to see which maps are available for your use.

Actually, the better way is 'ypwhich -m' I believe, as there may be
maps not in auto.master, or auto.master may not be NIS distributed,
but may be a local disk-based file.
-- 

Seeya,
Paul


pgpBhicksZ0ix.pgp
Description: PGP signature


Re: automount on debian help

2005-03-18 Thread Paul Lussier
Derek Martin [EMAIL PROTECTED] writes:

 What is the output of the following command on both
 boxes?  

   ls /etc/rc.d/rc3.d |egrep autofs|amd 

Hmm, personally I would have just done:

ls /etc/init.d/a*

especially since an ls of /etc/rc3.d is likely to reveal only a bunch
of symlinks, which may or may not exist for either autofs or amd
depending upon whether they're configured for that run level.  Whereas
/etc/init.d always contains the actual start-up script which is the
target of the symlinks in the /etc/rcX.d directories.

--
Seeya,
Paul


pgpoJxpOTsjDd.pgp
Description: PGP signature


Re: automount on debian help

2005-03-18 Thread Derek Martin
On Fri, Mar 18, 2005 at 09:27:58PM -0500, Paul Lussier wrote:
 Derek Martin [EMAIL PROTECTED] writes:
 
  What is the output of the following command on both
  boxes?  
 
ls /etc/rc.d/rc3.d |egrep autofs|amd 
 
 Hmm, personally I would have just done:
 
 ls /etc/init.d/a*
 
 especially since an ls of /etc/rc3.d is likely to reveal only a bunch
 of symlinks, which may or may not exist for either autofs or amd
 depending upon whether they're configured for that run level.  

...which is precisely what I wanted to know!  He seemed unsure which
he was running...  The command I gave was tailor-made to determine
that, and revealed that he was running autofs, but not amd.

There's no point in looking at amd stuff, if he's not using it.  And
it's important to know what's /supposed/ to be running, especially if
it isn't.  Which it wasn't...


-- 
Derek D. Martinhttp://www.pizzashack.org/   GPG Key ID: 0xDFBEAD02
-=-=-=-=-
This message is posted from an invalid address.  Replying to it will result in
undeliverable mail.  Sorry for the inconvenience.  Thank the spammers.



pgpFamsmyV7vi.pgp
Description: PGP signature


Re: automount on debian help

2005-03-18 Thread Paul Lussier
Derek Martin [EMAIL PROTECTED] writes:

 ...which is precisely what I wanted to know!  He seemed unsure which
 he was running...  The command I gave was tailor-made to determine
 that, and revealed that he was running autofs, but not amd.

 There's no point in looking at amd stuff, if he's not using it.  And
 it's important to know what's /supposed/ to be running, especially if
 it isn't.  Which it wasn't...

Right, but he could have had it installed, and not configured to
start, in which case, neither would have shown up in the rc3.d
directory.
-- 

Seeya,
Paul


pgp7w0TQEV2zW.pgp
Description: PGP signature