Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 7 Sep 2001 11:19:29 +1100
From:      Vitaminoid <root@stmobile.ru>
To:        Paul Herman <pherman@frenchfries.net>
Cc:        freebsd-questions@FreeBSD.ORG
Subject:   Re: nfs; exports
Message-ID:  <auto-000001184974@cwst.ru>
In-Reply-To: <20010906162203.L8165-100000@tick.sc.omation.com>
References:  <auto-000001184896@cwst.ru> <20010906162203.L8165-100000@tick.sc.omation.com>

next in thread | previous in thread | raw e-mail | index | archive | help
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?
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..


------
Некоторые боялись Пью, некоторые - Билли Бонса.
Меня боялся сам Флинт.

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?auto-000001184974>