From owner-freebsd-questions Fri Feb 26 8:20:49 1999 Delivered-To: freebsd-questions@freebsd.org Received: from as5200-01-254.no.neosoft.com (as5200-01-254.no.neosoft.com [206.27.167.254]) by hub.freebsd.org (Postfix) with ESMTP id 78EE014FD5 for ; Fri, 26 Feb 1999 08:20:28 -0800 (PST) (envelope-from conrads@as5200-01-254.no.neosoft.com) Received: (from conrads@localhost) by as5200-01-254.no.neosoft.com (8.9.2/8.8.7) id KAA03358; Fri, 26 Feb 1999 10:17:57 -0600 (CST) (envelope-from conrads) Message-ID: X-Mailer: XFMail 1.3 [p0] on FreeBSD X-Priority: 3 (Normal) Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 8bit MIME-Version: 1.0 In-Reply-To: Date: Fri, 26 Feb 1999 10:17:56 -0600 (CST) Reply-To: conrads@neosoft.com From: Conrad Sabatier To: Jeroen Ruigrok/Asmodai Subject: RE: NFS help needed Cc: questions@freebsd.org Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On 24-Feb-99 Jeroen Ruigrok/Asmodai wrote: > On 23-Feb-99 Conrad Sabatier wrote: >> >> Could someone provide an example exports file that would allow either >> machine to mount any part of the other's file system (as user root would >> be fine)? I'd be *most* grateful. > > Shouldn't be that hard: > > /etc/exports > > /dir1 machine1 > /dir2 machine2 > /dir3/dir4 machine2 > > That's basically it for the exports file. > > Watch out for this though: > > /dir1 machine1 > /dir2 machine2 > /dir2/blah machine2 > /dir2/bleh machine2 > > this will _NOT_ work since it has to be like this: > > /dir1 machine1 > /dir2 /dir2/blah /dir2/bleh machine2 > > If ye need more ideas about how to set it up, just ask =) Still having problems, I'm afraid. I've managed to get rid of the "permission denied" errors, but still no success otherwise. I've setup the exports files like so: On cougar: / -alldirs -mapall=root dolphin 206.27.167.254 On dolphin: / -alldirs -mapall=root cougar 206.27.167.253 The IP addresses are good, by the way. We use a bit of ppp negotiation trickery to always obtain the same dynamic IPs on connecting to our ISP. I'm running mountd with the flags "-l -r -n", and nfsd with the flags "-r -u -t -n 4". Anyway, mountd on the server machine reports successful mounts from the client, but the client simply hangs, never returning to the shell prompt. I've tried various comands to do the mount (/testnfs is a small directory I created for testing purposes): mount -t nfs cougar:/testnfs /mnt mount_nfs -T -i cougar:/testnfs /mnt and so on and so forth. Same results each time. Frankly, I'm baffled. -- Conrad Sabatier Swahili, n.: The language used by the National Enquirer to print their retractions. -- Johnny Hart To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message