From owner-freebsd-questions@FreeBSD.ORG Mon Jul 27 07:48:31 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 756431065670 for ; Mon, 27 Jul 2009 07:48:31 +0000 (UTC) (envelope-from asanjuan@bolsabilbao.es) Received: from correo-1.bolsabilbao.es (correo-1.bolsabilbao.es [212.8.77.215]) by mx1.freebsd.org (Postfix) with ESMTP id 924788FC08 for ; Mon, 27 Jul 2009 07:48:30 +0000 (UTC) (envelope-from asanjuan@bolsabilbao.es) Received: from correo_4.bolsabilbao.es ([10.33.5.204]) by correo-1.bolsabilbao.es with Microsoft SMTPSVC(6.0.3790.3959); Mon, 27 Jul 2009 09:48:28 +0200 Content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Date: Mon, 27 Jul 2009 09:47:53 +0200 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.3790.4325 Message-ID: In-Reply-To: X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: NFS : -alldirs requested but is not a filesystem mountpoint - SOLVED Thread-Index: AcnoRpyhlQHFt2AmQCy8623akhjyYAmQi/5gAAFjLaA= References: <4A2D0A5C.8010809@webrz.net> <20090608143609.GA5108@it.ca> From: "Aitor San Juan" To: Importance: normal Priority: normal X-OriginalArrivalTime: 27 Jul 2009 07:48:28.0300 (UTC) FILETIME=[A103B4C0:01CA0E8E] Subject: RE: NFS : -alldirs requested but is not a filesystem mountpoint - SOLVED X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 27 Jul 2009 07:48:31 -0000 Solved: "-alldirs" was unnecessary Thanks. -----Mensaje original----- De: owner-freebsd-questions@freebsd.org [mailto:owner-freebsd-questions@freebsd.org] En nombre de Aitor San Juan Enviado el: lunes, 27 de julio de 2009 9:26 Para: freebsd-questions@freebsd.org Asunto: NFS : -alldirs requested but is not a filesystem mountpoint Hello List, I have a FreeBSD 5.4 (yes a bit old), and I'm just using it as a NFS server. The server has got a filesystem located at /data This local filesystem has several subdirectories, and I'd like these subdirectories to be visible to a client host, but not all as a whole. This is the hierarchy at /data: /data/bulletins/nfs_bulls /data/bulletins/etc/ftpmotd <-- this is only for FTP's ftpchroot config /data/taxes/docs /data/taxes/etc/ftpmotd <-- this is only for FTP's ftpchroot config The data to be visible is under /data/bulletins/nfs_bulls (and all its subdirectories) and /data/taxes/docs (and all its subdirectories) As the content of both directories has nothing to do with each other, I'd like them to be "independently" exported. Thus, a client needing access to these data should issue 2 mount's for each data. I don't want both directories to be visible with just one mount. This is what I've coded in my /etc/exports /data/bulletins/nfs_bulls -alldirs -ro -network MyNet -mask 255.255.255.0 /data/taxes/docs -alldirs -ro -network MyNet -mask 255.255.255.0 And this is what syslog says: -alldirs requested but /data/bulletins/nfs_bulls is not a filesystem mountpoint bad exports list line /data/bulletins/nfs_bulls -alldirs -ro -network MyNet -mask 255.255.255.0 -alldirs requested but /data/taxes/docs is not a filesystem mountpoint bad exports list line /data/taxes/docs -alldirs -ro -network MyNet -mask 255.255.255.0 Reading through etc/exports(5) and having seen those error messages, I think I should create another separate filesystem on my server. However, I haven't got any space left for another slice. Is it possible to somehow accomplish what I want in this scenario? Many thanks in advance. ************ LEGEZKO OHARRA / AVISO LEGAL / LEGAL ADVICE *************=20 Mezu honek isilpeko informazioa gorde dezake, edo jabea duena, edota = legez babestuta dagoena. Zuri zuzendua ez bada, bidali duenari esan eta = ezabatu, inori berbidali edo gorde gabe, legeak debekatzen duelako = mezuak erabiltzea baimenik gabe.=20 -------------------------------------------------------------------------= - Este mensaje puede contener informacion confidencial, en propiedad o = legalmente protegida. Si usted no es el destinatario, le rogamos lo = comunique al remitente y proceda a borrarlo, sin reenviarlo ni = conservarlo, ya que su uso no autorizado esta prohibido legalmente. -------------------------------------------------------------------------= - This message may contain confidential, proprietary or legally privileged = information. If you are not the intended recipient of this message, = please notify it to the sender and delete without resending or backing = it, as it is legally prohibited. *************************************************************************= *