From owner-freebsd-hackers@FreeBSD.ORG Fri May 30 18:03:21 2003 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 50CF337B401 for ; Fri, 30 May 2003 18:03:21 -0700 (PDT) Received: from web13503.mail.yahoo.com (web13503.mail.yahoo.com [216.136.175.82]) by mx1.FreeBSD.org (Postfix) with SMTP id DBEF543F3F for ; Fri, 30 May 2003 18:03:20 -0700 (PDT) (envelope-from dyeske@yahoo.com) Message-ID: <20030531010320.21101.qmail@web13503.mail.yahoo.com> Received: from [68.114.30.244] by web13503.mail.yahoo.com via HTTP; Fri, 30 May 2003 18:03:20 PDT Date: Fri, 30 May 2003 18:03:20 -0700 (PDT) From: David Yeske To: hackers@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Subject: swapping over nfs might be broken X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 31 May 2003 01:03:21 -0000 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