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
_______________________________________________
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to "[EMAIL PROTECTED]"

Reply via email to