swapping over nfs might be broken

From: David Yeske (dyeske_at_yahoo.com)
Date: 05/31/03

  • Next message: Andy Farkas: "Re: swapping over nfs might be broken"
    Date: Fri, 30 May 2003 18:03:20 -0700 (PDT)
    To: hackers@freebsd.org
    
    

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


  • Next message: Andy Farkas: "Re: swapping over nfs might be broken"

    Relevant Pages

    • swapping over nfs might be broken
      ... Mounting root from nfs:nfs:/export/photon.freebsd/root ... NFS ROOT: 192.168.1.100:/export/photon.freebsd/root ... NFS SWAP: 192.168.1.100:/export/photon.freebsd ... My nfs server and diskless client are both running current from around may 25th. ...
      (freebsd-current)
    • [PATCH 00/29] Swap over NFS -v15
      ... Another posting of the full swap over NFS series. ... The problem with swap over network is the generic swap problem: needing memory ... Swap over network has the problem that the network subsystem does not use fixed ...
      (Linux-Kernel)
    • [PATCH 00/33] Swap over NFS -v14
      ... Another posting of the full swap over NFS series. ... The problem with swap over network is the generic swap problem: needing memory ... Swap over network has the problem that the network subsystem does not use fixed ...
      (Linux-Kernel)
    • [PATCH 00/28] Swap over NFS -v16
      ... Another posting of the full swap over NFS series. ... The problem with swap over network is the generic swap problem: needing memory ... Swap over network has the problem that the network subsystem does not use fixed ...
      (Linux-Kernel)
    • Re: Network booting with PXE
      ... > drive into one of them for swap, as NFS swap is a bit slow, it hangs for ... > Mounting root from nfs: ... > I'd like to know if there is a way to not try to mount root on local disks ... how much RAM do you have in those machines? ...
      (freebsd-questions)