Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 7 Sep 2001 08:28:32 -0800
From:      Beech Rintoul <akbeech@anchoragerescue.org>
To:        Vitaminoid <root@stmobile.ru>, Paul Herman <pherman@frenchfries.net>
Cc:        freebsd-questions@FreeBSD.ORG
Subject:   Re: nfs; exports
Message-ID:  <20010907162833.3D49B115@nebula.anchoragerescue.org>
In-Reply-To: <auto-000001184974@cwst.ru>
References:  <auto-000001184896@cwst.ru> <20010906162203.L8165-100000@tick.sc.omation.com> <auto-000001184974@cwst.ru>

next in thread | previous in thread | raw e-mail | index | archive | help
On Thursday 06 September 2001 04:19 pm, Vitaminoid wrote:
> On Thu, 6 Sep 2001 16:26:07 -0700 (PDT)
> Paul Herman <pherman@frenchfries.net> wrote:
>
> PH> On Fri, 7 Sep 2001, Vitaminoid wrote:
> >> I've got some strange stuff with the nfs mounting.
> >> Here is my exports file:
> >>
> >> root@moitd07# cat /etc/exports
> >> /usr/ports/distfiles    -ro     moitd01
> >> /usr/bin                -ro     moitd01
> >> /var                    -ro     moitd01
> >> /usr/local/bin          -ro     moitd01
> >> /usr/local/lib          -ro     moitd01
> >> /home/vitaminoid        -ro     moitd01
>
> PH> I've found that putting all exports belonging to the same
> PH> filesystem onto the same line solves most of my problems.
>
> Hmm! This seems to be uncomfortable!
> What if i want to share different mountpoints on the same filesystem with
> different attributes? 
You can't! Read man exports.


Now i try to do it this way:
>
> /usr/local/lib /usr/bin /usr/local/bin /usr/ports/distfiles     -ro    
> moitd01 /var                    -ro     moitd01
> /home/vitaminoid        -ro     moitd01
>
> and it tells me that
>
> Sep  7 11:17:11 moitd07 mountd[71803]: bad exports list line /usr/local/lib
> /usr/bin /usr/local/bin /usr/ports/distfiles
>
> root@moitd07# mountd -rd
> mountd: getting export list
> mountd: got line /usr/local/lib /usr/bin /usr/local/bin
> /usr/ports/distfiles    -ro     moitd01 mountd: making new ep
> fs=0x3ad24d04,0x76b199e1
> mountd: got line /var                   -ro     moitd01
> mountd: making new ep fs=0x3ad24d15,0x26e2ad4a
> mountd: doing opt -ro   moitd01
> mountd: got host moitd01.stm
> mountd: got line /home/vitaminoid       -ro     moitd01
> mountd: making new ep fs=0x3ad24c72,0x6503b5b5
> mountd: doing opt -ro   moitd01
> mountd: got host moitd01.stm
> mountd: getting mount list
> mountd: here we go
>
> so, your advice don't work..
>
>
> ------
> Некоторые боялись Пью, некоторые - Билли Бонса.
> Меня боялся сам Флинт.

Beech
-- 
Micro$oft: "Where can we make you go today?"
-------------------------------------------------------------------
     Beech Rintoul - IT Manager - Instructor - akbeech@anchoragerescue.org
/"\   ASCII Ribbon Campaign  | Anchorage Gospel Rescue Mission
\ / - NO HTML/RTF in e-mail  | P.O. Box 230510
 X  - NO Word docs in e-mail | Anchorage, AK 99523-0510
/ \ -----------------------------------------------------------------












To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20010907162833.3D49B115>