From: Casper H.S. Dik on
Stefaan A Eeckels <hoendech(a)ecc.lu> writes:

>On Fri, 2 Apr 2010 21:21:33 +0000 (UTC)
>hume.spamfilter(a)bofh.ca wrote:

>>
>> Also, I don't think NFS mounting filesystems onto the same host is a
>> good idea. I believe there are situations where you can wedge the
>> system. Use lofs instead.

>Home directories are routinely automounted. There's no problem as long
>as you don't put them in /etc/vfstab (in which case you can wedge a
>machine at boot whatever the source of the filesystem).

Automount will always use lofs and not NFS when mounting a local
fielsystem.

Casper
--
Expressed in this posting are my opinions. They are in no way related
to opinions held by my employer, Sun Microsystems.
Statements on Sun products included here are not gospel and may
be fiction rather than truth.
From: Stefaan A Eeckels on
On 03 Apr 2010 07:48:44 GMT
Casper H.S. Dik <Casper.Dik(a)Sun.COM> wrote:

> Stefaan A Eeckels <hoendech(a)ecc.lu> writes:
>
> >On Fri, 2 Apr 2010 21:21:33 +0000 (UTC)
> >hume.spamfilter(a)bofh.ca wrote:
>
> >>
> >> Also, I don't think NFS mounting filesystems onto the same host is
> >> a good idea. I believe there are situations where you can wedge
> >> the system. Use lofs instead.
>
> >Home directories are routinely automounted. There's no problem as
> >long as you don't put them in /etc/vfstab (in which case you can
> >wedge a machine at boot whatever the source of the filesystem).
>
> Automount will always use lofs and not NFS when mounting a local
> fielsystem.

Thanks! I didn't know that.

As far as I remember, we had automounted home directories in the days
of SunOS 4.x, which had no such thing as lofs, and we never had any
problems. But we did work on automounting everything to avoid wedging
systems at boot.

A question that flows from this: does this actually mean that one should
not automount home directories from the global zone on zones on the
same host? I've always treated zones as if they were separate systems,
so users get their home directory mounted from a central location,
which could be the global zone of the machine they log on to. For
example, this is the /etc/auto_home from "news", which happens to be a
zone from "hulk", which hosts the home directories:

admin localhost:/export/home/admin
* hulk.ecc.lu:/data/home/&

so when I am logged onto "news" (through ssh), I see the following NFS
mount:

$ mount
....
swap 3.0G 4K 3.0G 1% /tmp
swap 3.0G 20K 3.0G 1% /var/run
hulk.ecc.lu:/data/home/sae
634G 156G 478G 25% /home/sae
/export/home/admin 478G 198M 478G 1% /home/admin

Can this lead to unstable systems?

--
Stefaan A Eeckels
--
A business that makes nothing but money is a poor kind of business.
-- Henry Ford
From: jay on
On Apr 3, 6:15 am, Stefaan A Eeckels <hoend...(a)ecc.lu> wrote:
> On 03 Apr 2010 07:48:44 GMT
> Casper H.S. Dik <Casper....(a)Sun.COM> wrote:
>
>
>
> > Stefaan A Eeckels <hoend...(a)ecc.lu> writes:
>
> > >On Fri, 2 Apr 2010 21:21:33 +0000 (UTC)
> > >hume.spamfil...(a)bofh.ca wrote:
>
> > >> Also, I don't think NFS mounting filesystems onto the same host is
> > >> a good idea.  I believe there are situations where you can wedge
> > >> the system. Use lofs instead.
>
> > >Home directories are routinely automounted. There's no problem as
> > >long as you don't put them in /etc/vfstab (in which case you can
> > >wedge a machine at boot whatever the source of the filesystem).
>
> > Automount will always use lofs and not NFS when mounting a local
> > fielsystem.
>
> Thanks! I didn't know that.
>
> As far as I remember, we had automounted home directories in the days
> of SunOS 4.x, which had no such thing as lofs, and we never had any
> problems. But we did work on automounting everything to avoid wedging
> systems at boot.
>
> A question that flows from this: does this actually mean that one should
> not automount home directories from the global zone on zones on the
> same host? I've always treated zones as if they were separate systems,
> so users get their home directory mounted from a central location,
> which could be the global zone of the machine they log on to. For
> example, this is the /etc/auto_home from "news", which happens to be a
> zone from "hulk", which hosts the home directories:
>
> admin   localhost:/export/home/admin
> *       hulk.ecc.lu:/data/home/&
>
> so when I am logged onto "news" (through ssh), I see the following NFS
> mount:
>
> $ mount
> ...
> swap                   3.0G     4K   3.0G     1%    /tmp
> swap                   3.0G    20K   3.0G     1%    /var/run
> hulk.ecc.lu:/data/home/sae
>                        634G   156G   478G    25%    /home/sae
> /export/home/admin     478G   198M   478G     1%    /home/admin
>
> Can this lead to unstable systems?
>
> --
> Stefaan A Eeckels
> --
> A business that makes nothing but money is a poor kind of business.
>                                                      -- Henry Ford

AAAUUGH!!! you were all right. it was name service.
i first tried the test John suggested and to my astonishment, it
worked.
i put the FQDN in /etc/hosts and now it's all happy.

thank you, thank you, thank you. you'd think i'd learn but ....

i'm sitting here spluttering. i guess that figures... i checked all
the
stuff i thought it could be so it makes complete sense that it would
be something i never expected. zounds.

j.
From: Volker Borchert on
Stefaan A Eeckels wrote:
> As far as I remember, we had automounted home directories in the days
> of SunOS 4.x, which had no such thing as lofs,

4.1.4 does.

--

"I'm a doctor, not a mechanic." Dr Leonard McCoy <mccoy(a)ncc1701.starfleet.fed>
"I'm a mechanic, not a doctor." Volker Borchert <v_borchert(a)despammed.com>
From: Winston on
Stefaan A Eeckels wrote:
>> As far as I remember, we had automounted home directories in the days
>> of SunOS 4.x, which had no such thing as lofs,

v_borchert(a)despammed.com (Volker Borchert) replied:
> 4.1.4 does.

I found a man page for lofs(4S) that said:

"Sun Release 4.1 Last change: 18 May 1989"

-WBE