From owner-freebsd-questions@FreeBSD.ORG Mon Jul 27 07:38:04 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 878BE106566B for ; Mon, 27 Jul 2009 07:38:04 +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 D846D8FC17 for ; Mon, 27 Jul 2009 07:38:03 +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:26:54 +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:26:24 +0200 Message-ID: X-MimeOLE: Produced By Microsoft MimeOLE V6.00.3790.4325 In-Reply-To: <20090608143609.GA5108@it.ca> X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: NFS : -alldirs requested but is not a filesystem mountpoint Thread-Index: AcnoRpyhlQHFt2AmQCy8623akhjyYAmQi/5g References: <4A2D0A5C.8010809@webrz.net> <20090608143609.GA5108@it.ca> From: "Aitor San Juan" To: Importance: normal Priority: normal X-OriginalArrivalTime: 27 Jul 2009 07:26:54.0741 (UTC) FILETIME=[9DFE4450:01CA0E8B] Subject: NFS : -alldirs requested but is not a filesystem mountpoint 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:38:04 -0000 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. *************************************************************************= *