From owner-freebsd-hackers Tue Apr 21 14:28:17 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id OAA28459 for freebsd-hackers-outgoing; Tue, 21 Apr 1998 14:28:17 -0700 (PDT) (envelope-from owner-freebsd-hackers@FreeBSD.ORG) Received: from shrimp.dataplex.net (shrimp.dataplex.net [208.2.87.3]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id VAA28269 for ; Tue, 21 Apr 1998 21:27:38 GMT (envelope-from rkw@Dataplex.NET) Received: from [208.2.87.6] (user6.dataplex.net [208.2.87.6]) by shrimp.dataplex.net (8.8.8/8.8.8) with ESMTP id QAA19954; Tue, 21 Apr 1998 16:27:24 -0500 (CDT) (envelope-from rkw@dataplex.net) X-Sender: rkw@mail.dataplex.net Message-Id: Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Date: Tue, 21 Apr 1998 16:27:18 -0500 To: hackers@FreeBSD.ORG From: Richard Wackerbarth Subject: Help! Booting a diskless client. Cc: Mike Smith , Terry Lambert Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG I've read, and reread, Mike's application notes. Obviously, I'm missing something here. Can someone point out my error? What I really want to do is get a kernel to this machine. mount shows: /dev/sd0s1a on / (NFS exported, local, writes: sync 55568 async 78717)) /dev/sd0s1f on /usr (NFS exported, local, writes: sync 279374 async 261826)) /dev/sd1f on /diskless/swapfiles (asynchronous, NFS exported, local, writes: sync 14 async 1)) /etc/exports shows: /diskless/root -maproot=0 -network 208.2.87.0 -mask 255.255.255.224 /usr -maproot=0 -ro -network 208.2.87.0 -mask 255.255.255.224 /diskless/swapfiles -alldirs -maproot=0 -network 208.2.87.0 -mask 255.255.255.224 ps shows: root 19881 0.0 0.5 468 336 ?? Is 3:56PM 0:00.02 /sbin/mountd -l -r ls shows: /diskless: total 4 drwxrwxr-x 2 root wheel 512 Apr 21 13:05 root drwxr-xr-x 2 root wheel 512 Apr 21 15:40 swapfiles /diskless/swapfiles: total 2064 -rw-rw-r-- 1 root wheel 1048576 Apr 21 14:56 swap.208.2.87.13 syslog shows: Apr 21 15:56:53 shrimp mountd[19881]: mount request succeeded from 208.2.87.13 for /diskless/swapfiles Apr 21 15:56:53 shrimp mountd[19881]: umountall request from 208.2.87.3 from unprivileged port Apr 21 15:57:05 shrimp mountd[19881]: umountall request from 208.2.87.3 from unprivileged port The diskless client gets its info from dhcp. It is assigned IP = 208.2.87.13. It fetches (tftp) this configuration: rootfs 208.2.87.3:/diskless/root swapfs 208.2.87.3:/diskless/swapfiles swapsize 1000 flags scv The configuration parameters shown on its screen match what I intended. Then it proceeds to read the kernel. At the end of that, it stops with "Unable to open swap.208.2.87.13: Not owner" (NB: If I remove the swap. 208.2.87.13 file, I get a different message - (not found). Richard Wackerbarth To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message