*BSD News Article 49994


Return to BSD News archive

Path: euryale.cc.adfa.oz.au!newshost.anu.edu.au!harbinger.cc.monash.edu.au!simtel!news.kei.com!news.mathworks.com!fu-berlin.de!sirius.physik.fu-berlin.DE!not-for-mail
From: graichen@sirius.physik.fu-berlin.de (Thomas Graichen)
Newsgroups: comp.unix.bsd.freebsd.misc
Subject: Re: FreeBSD diskless
Date: 25 Aug 1995 17:52:49 GMT
Organization: Freie Universitaet Berlin
Lines: 27
Message-ID: <41l2lh$qi8@fu-berlin.de>
References: <41fmmf$am0@fu-berlin.de>
NNTP-Posting-Host: sirius.physik.fu-berlin.de (130.133.3.140)
X-Access: 16 17 18
X-Newsreader: TIN [version 1.2 PL2]

Thomas Graichen (graichen@sirius.physik.fu-berlin.de) wrote:
: hello

: has anybody set up a (or some ...) FreeBSD machines diskless - with root
: _and_ swap via nfs - i've got it working so far very good - but only with
: local swap - if i try to use swapping over nfs the system comes up ok - but
: short after it starts swapping many processes die on signals 11 and
: sometimes 6 and the machine hangs - are there any tricks i don't know ?

: thanks in advance - t

: p.s.: it's FreeBSD 2.0.5-RELEASE

i've now solved the problem - simply use dd if=/dev/zero of=swapfile bs=...
count=... for craeting the swapfile and not touch like said in the Diskless
FAQ - and it seems that the size of that file must be exactly the size of
the swapsize parameter in cfg.X.X.X.X

t
 _______________________________________________________||_____________________
                                                  __||
 Perfection is reached, not when there is no  __||       thomas graichen
 longer anything to add, but when there   __||      freie universitaet berlin
 is no longer anything to take away   __||              fachbereich physik
                                  __||
 - Antoine de Saint-Exupery - __||
 ___________________________||____email: graichen@omega.physik.fu-berlin.de____