Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 21 Apr 1998 21:24:55 -0700
From:      Mike Smith <mike@smith.net.au>
To:        Richard Wackerbarth <rkw@Dataplex.NET>
Cc:        hackers@FreeBSD.ORG, Mike Smith <mike@smith.net.au>, Terry Lambert <tlambert@primenet.com>
Subject:   Re: Help! Booting a diskless client. 
Message-ID:  <199804220424.VAA00457@antipodes.cdrom.com>
In-Reply-To: Your message of "Tue, 21 Apr 1998 16:27:18 CDT." <l03130304b162ba854282@[208.2.87.6]> 

next in thread | previous in thread | raw e-mail | index | archive | help

Whoops, more data in this message.  Saving for context...

> 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.
>
> 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).

Ok, this is still netboot that's complaining.  It's managed to mount 
the directory OK, but can't open the file.  I suspect that because it 
can't authenticate itself, it's actually being mapped to "nobody", who 
can't operate on the swapfile that you've created.  Try changing the 
permissions on it, or chown it to nobody.

Please let me know how you go here, so I can amend the notes 
accordingly.

-- 
\\  Sometimes you're ahead,       \\  Mike Smith
\\  sometimes you're behind.      \\  mike@smith.net.au
\\  The race is long, and in the  \\  msmith@freebsd.org
\\  end it's only with yourself.  \\  msmith@cdrom.com



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?199804220424.VAA00457>