From owner-freebsd-net Thu Apr 1 17:18:16 1999 Delivered-To: freebsd-net@freebsd.org Received: from duke.cs.duke.edu (duke.cs.duke.edu [152.3.140.1]) by hub.freebsd.org (Postfix) with ESMTP id 0E6DC14F98 for ; Thu, 1 Apr 1999 17:17:43 -0800 (PST) (envelope-from gallatin@cs.duke.edu) Received: from grasshopper.cs.duke.edu (grasshopper.cs.duke.edu [152.3.145.30]) by duke.cs.duke.edu (8.9.1/8.9.1) with ESMTP id UAA17201 for ; Thu, 1 Apr 1999 20:17:23 -0500 (EST) Received: (from gallatin@localhost) by grasshopper.cs.duke.edu (8.9.3/8.9.1) id UAA70511; Thu, 1 Apr 1999 20:17:08 -0500 (EST) (envelope-from gallatin@cs.duke.edu) From: Andrew Gallatin MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Date: Thu, 1 Apr 1999 20:17:07 -0500 (EST) To: freebsd-net@freebsd.org Subject: Re: Diskless, please please! In-Reply-To: <37041918.B7E52891@netshell.com.br> References: <37041918.B7E52891@netshell.com.br> X-Mailer: VM 6.43 under 20.4 "Emerald" XEmacs Lucid Message-ID: <14084.6443.591013.898926@grasshopper.cs.duke.edu> Sender: owner-freebsd-net@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org User Grios writes: > Hi, i am trying to get my diskless system working with FBSD, but the > following error occurs: > > > Loading freebsd.192.168.0.2... > rootfs 192.168.0.1:/usr/export/slave > swapfs 192.168.0.1:/usr/export/swapfs > swapsize 32000 > hostname slave > *** RPC Error: (0,0,0): > Unable to mount SWAP file system: Permission denied In mountd(8), it states that you must use the -r arg to mountd and export your entire filesystem with -alldirs. Have you done both? -r Allow mount RPCs requests for regular files to be served. Al- though this seems to violate the mount protocol specification, some diskless workstations do mount requests for their swapfiles and expect them to be regular files. Since a regular file cannot be specified in /etc/exports, the entire file system in which the swapfiles resides will have to be exported with the -alldirs flag. BTW - mail to ... Host unknown (Name server: gabriel.netshell.com.br.: host not found) Cheers, ------------------------------------------------------------------------------ Andrew Gallatin, Sr Systems Programmer http://www.cs.duke.edu/~gallatin Duke University Email: gallatin@cs.duke.edu Department of Computer Science Phone: (919) 660-6590 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-net" in the body of the message