From owner-freebsd-questions Mon Jun 24 20:53:29 1996 Return-Path: owner-questions Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id UAA28583 for questions-outgoing; Mon, 24 Jun 1996 20:53:29 -0700 (PDT) Received: from palmer.demon.co.uk (palmer.demon.co.uk [158.152.50.150]) by freefall.freebsd.org (8.7.5/8.7.3) with ESMTP id UAA28431 for ; Mon, 24 Jun 1996 20:52:04 -0700 (PDT) Received: from palmer.demon.co.uk (localhost [127.0.0.1]) by palmer.demon.co.uk (sendmail/PALMER-2) with ESMTP id EAA28556 for ; Tue, 25 Jun 1996 04:51:39 +0100 (BST) Prev-Resent: Tue, 25 Jun 1996 04:51:37 +0100 Prev-Resent: "questions@freebsd.org " Received: from punt.demon.co.uk (punt.demon.co.uk [158.152.1.73]) by palmer.demon.co.uk (sendmail/PALMER-2) with SMTP id EAA28538 for ; Tue, 25 Jun 1996 04:49:28 +0100 (BST) Received: from punt-1.mail.demon.net by mailstore for gary@palmer.demon.co.uk id 835674547:20867:0; Tue, 25 Jun 96 04:49:07 BST Received: from ceres.brunel.ac.uk ([134.83.176.3]) by punt-1.mail.demon.net id aa20643; 25 Jun 96 4:48 +0100 Received: from freefall.freebsd.org by ceres.brunel.ac.uk with SMTP (PP); Tue, 25 Jun 1996 04:48:06 +0100 Received: from ccslinux.dlsu.edu.ph (gavin@linux1.dlsu.edu.ph [165.220.8.15]) by freefall.freebsd.org (8.7.5/8.7.3) with SMTP id UAA27366 for ; Mon, 24 Jun 1996 20:47:52 -0700 (PDT) Received: (from gavin@localhost) by ccslinux.dlsu.edu.ph (8.6.12/8.6.9) id LAA05424; Tue, 25 Jun 1996 11:51:54 +0800 Date: Tue, 25 Jun 1996 11:51:53 +0800 (GMT+0800) From: Gavin Chan Lim To: gpalmer@FreeBSD.ORG Subject: NFS Setup Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Resent-To: questions@FreeBSD.ORG Resent-Date: Tue, 25 Jun 1996 04:51:38 +0100 Resent-Message-ID: <28554.835674698@palmer.demon.co.uk> Resent-From: Gary Palmer Sender: owner-questions@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk I'm having some trouble setting up NFS in FreeBSD 2.1. Let's say my server's name is "promig1", and my client is named "promig2" Here's what promig1's exports file looks like: /usr -alldirs humprey /migrate humprey and here's promig2's fstab file: /dev/wd0s1b none swap sw 0 0 /dev/wd0a / ufs rw 1 1 proc /proc procfs rw 0 0 promig1:/usr /usr2 nfs rw 0 0 promig1:/migrate /migrate nfs rw 0 0 I hope you can take the time to answer the following questions: 1. Is there any proper booting sequence for the clients and the server when using NFS? My client seems to hang almost every time I boot up. 2. Promig1's /migrate directory contains subdirectories, how come these subdirectories can also be seen at promig2 even though I did not specify the -alldirs option? And if I do so, /migrate doesn't even mount! (WEIRD...?!?) 3. How should I manage access permissions of the involved directories in the server and the client? Should they have identical access permissions? 4. I have the same users on both computers, but they have different uid's and gid's. How do I manage this? Do I need to use NIS/yp? 5. I'm quite confused about the -maproot option. If I include this option, the directory doesn't evven mount. For example, Does "-maproot=ernie:staff" mean that if the client's root accesses NFS files, he'll have "ernie" as a user ID, and "staff" as gid? What about non-root users? 6. I only have read-only access to the NFS files in my client. How do I change this to read-write? I thought the default was already read-write. "-rw" doesn't seem to work. BTW, I've already read the man pages for "exports", "fstab", and "mount." Thanks!