Date: Sat, 31 May 2003 16:58:38 +0200 From: Bjoern Fischer <bfischer@Techfak.Uni-Bielefeld.DE> To: hackers@freebsd.org Cc: David Yeske <dyeske@yahoo.com> Subject: Re: swapping over nfs might be broken Message-ID: <20030531145838.GA1114@frolic.no-support.loc> In-Reply-To: <20030531111130.K52633-100000@hewey.af.speednet.com.au> References: <20030531010320.21101.qmail@web13503.mail.yahoo.com> <20030531111130.K52633-100000@hewey.af.speednet.com.au>
next in thread | previous in thread | raw e-mail | index | archive | help
Hello,
> > Everything looks normal except for swapinfo. It looks like nfs swapping
> > is broken?
>
> `man swapinfo` says:
>
> BUGS
> Does not understand NFS swap servers.
hmm, the man page seems to be out of date. On my diskless client
swapinfo works flawlessly:
broccoli:~$ swapinfo
Device 1K-blocks Used Avail Capacity Type
[NFS swap] 130944 0 130944 0% Interleaved
broccoli:~$ uname -r
4.8-STABLE-20030510-JPSNAP
Also, I don't get that error or warning message at boot time:
subnet mask 255.255.255.0 router 192.168.43.1 rootfs \
192.168.43.1:/exports/root/broccoli rootopts nfsv3,udp,hard \
swapfs 192.168.43.1:/exports/swap swapopts nfsv3,udp,hard \
hostname broccoli
Adjusted interface xl0
md_lookup_swap: Swap size is 131072 KB
Mounting root from nfs:
NFS ROOT: 192.168.43.1:/exports/root/broccoli
NFS SWAP: 192.168.43.1:/exports/swap
For DHCP I use these vendor options:
option freebsd-swap-path code 128 = text;
option freebsd-swap-opts code 130 = text;
option freebsd-root-opts code 131 = text;
All diskless clients share these DHCP config:
use-host-decl-names on;
filename "pxeboot";
option freebsd-swap-path "192.168.43.1:/exports/swap";
option freebsd-swap-opts "nfsv3,udp,hard";
option freebsd-root-opts "nfsv3,udp,hard";
The root path is set per individual client of course.
Maybe this helps.
Björn
--
-----BEGIN GEEK CODE BLOCK-----
GCS d--(+) s++: a- C+++(-) UB++++OSI++++$ P+++(-) L---(++) !E W- N+ o>+
K- !w !O !M !V PS++ PE- PGP++ t+++ !5 X++ tv- b+++ D++ G e+ h-- y+
------END GEEK CODE BLOCK------
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20030531145838.GA1114>
