Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 21 Apr 1998 16:27:18 -0500
From:      Richard Wackerbarth <rkw@Dataplex.NET>
To:        hackers@FreeBSD.ORG
Cc:        Mike Smith <mike@smith.net.au>, Terry Lambert <tlambert@primenet.com>
Subject:   Help! Booting a diskless client.
Message-ID:  <l03130304b162ba854282@[208.2.87.6]>

next in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?l03130304b162ba854282>