From owner-freebsd-questions@FreeBSD.ORG Tue May 11 19:47:41 2004 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id D093A16A4CE for ; Tue, 11 May 2004 19:47:41 -0700 (PDT) Received: from hobbiton.shire.net (hobbiton.shire.net [206.71.64.250]) by mx1.FreeBSD.org (Postfix) with ESMTP id 6DA0143D2D for ; Tue, 11 May 2004 19:47:41 -0700 (PDT) (envelope-from chad@shire.net) Received: from [67.161.247.57] (helo=[192.168.99.66]) by hobbiton.shire.net with asmtp (TLSv1:RC4-SHA:128) (Exim 4.10) id 1BNjmW-000NNQ-00 for freebsd-questions@freebsd.org; Tue, 11 May 2004 20:47:40 -0600 Mime-Version: 1.0 (Apple Message framework v613) Message-Id: To: freebsd-questions@freebsd.org Questions From: "Chad Leigh -- Shire.Net LLC" Date: Tue, 11 May 2004 20:47:36 -0600 X-Mailer: Apple Mail (2.613) Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset=US-ASCII; format=flowed X-Spam-Checker-Version: SpamAssassin 2.63 (2004-01-11) on hobbiton.shire.net X-Spam-Status: No, hits=0.0 required=5.0 tests=none autolearn=no version=2.63 X-Spam-Level: Subject: nfs help X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 12 May 2004 02:47:41 -0000 Hi I have a 5.2-CURRENT (as of about 2 weeks ago) machine that I want to serve some filesystem from to itself using localhost. Ie, % mount localhost:/path/to/shared/dir /other/path I have it working on a 5.2.1-RELEASE-p6 machine, but cannot get it working on the -CURRENT machine. I run mountd with -d -r and it gives the following on startup (shoes the exports file as well so I won't list it separately) mountd: getting export list mountd: got line #The following examples export /usr to 3 machines named after ducks, mountd: got line #/usr/src and /usr/ports read-only to machines named after trouble makers mountd: got line #/home and all directories under it to machines named after dead rock stars mountd: got line #and, /a to a network of privileged machines allowed to write on it as root. mountd: got line #/usr huey louie dewie mountd: got line #/usr/src /usr/obj -ro calvin hobbes mountd: got line #/home -alldirs janice jimmy frank mountd: got line #/a -maproot=0 -network 10.0.1.0 -mask 255.255.248.0 mountd: got line # mountd: got line # You should replace these lines with your actual exported filesystems. mountd: got line # Note that BSDs export synatx is host-centric vs. Suns "FS-centric" one. mountd: got line /local -ro -alldirs localhost mountd: making new ep fs=0x408a2abc,0x6b00a39c mountd: doing opt -ro -alldirs localhost mountd: doing opt -alldirs localhost got host localhost got host localhost mountd: can't change attributes for /local mountd: got line / -alldirs localhost mountd: making new ep fs=0x40901b7c,0x64fc8edf mountd: doing opt -alldirs localhost got host localhost got host localhost mountd: can't change attributes for / mountd: getting mount list mountd: here we go What is the "can't change attributes for /local" and "/" mean? Usually when trying to mount I get the first mount working OK but subsequent mounts fail with permission denied. ie, I can do mount -r localhost:/local/jails/master/usr /local/2/somejail/usr but then mount -r localhost:/local/jails/master/bin /local/2/somejail/bin and subsequent ones fail. It doesn't matter which one I do first, it usually works, and then the follow ons don't. (ie, usr could be first and work or bin could be first and work, that doesn't matter). Thanks Chad