Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 30 May 2003 03:33:56 -0700 (PDT)
From:      David Yeske <dyeske@yahoo.com>
To:        current@freebsd.org
Subject:   swapping over nfs might be broken
Message-ID:  <20030530103356.10091.qmail@web13508.mail.yahoo.com>

next in thread | raw e-mail | index | archive | help
I've recently set up a diskless client and I noticed something.

subnet mask 255.255.255.0 router 192.168.1.2 rootfs 192.168.1.100:/export/photon.freebsd/root
swapfs 192.168.1.100:/export/photon.freebsd hostname photon
Adjusted interface xl0
md_lookup_swap: Swap size is 131072 KB
Mounting root from nfs:nfs:/export/photon.freebsd/root
setrootbyname failed
NFS ROOT: 192.168.1.100:/export/photon.freebsd/root
NFS SWAP: 192.168.1.100:/export/photon.freebsd

$ swapinfo
Device          1K-blocks     Used    Avail Capacity  Type

Everything looks normal except for swapinfo.  It looks like nfs swapping is broken?  Has anyone
seen this?  I have tried this with md.ko as a module or compiled into the kernel with the same
results.  I'm also using these flags in my kernel.

options         BOOTP
options         BOOTP_NFSROOT
options         BOOTP_NFSV3
options         BOOTP_COMPAT

My nfs server and diskless client are both running current from around may 25th.  I'm also running
rpc.lockd and rpc.statd on the nfs server.  I also tried setting option-129, but that did not
help.  Why is option-129 limited to 4 bytes?

I have also seen that "setrootbyname failed" message for at least a year.  Should that message be
removed or changed to something more useful?

Regards,
David Yeske

__________________________________
Do you Yahoo!?
Yahoo! Calendar - Free online calendar with sync to Outlook(TM).
http://calendar.yahoo.com



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