From owner-freebsd-questions@FreeBSD.ORG Thu Feb 16 15:06:25 2006 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id E8D2216A420 for ; Thu, 16 Feb 2006 15:06:25 +0000 (GMT) (envelope-from keramida@ceid.upatras.gr) Received: from igloo.linux.gr (igloo.linux.gr [62.1.205.36]) by mx1.FreeBSD.org (Postfix) with ESMTP id C59D843D88 for ; Thu, 16 Feb 2006 15:06:04 +0000 (GMT) (envelope-from keramida@ceid.upatras.gr) Received: from flame.pc (aris.bedc.ondsl.gr [62.103.39.226]) (authenticated bits=128) by igloo.linux.gr (8.13.5/8.13.5/Debian-3) with ESMTP id k1GF5ke4008610 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT); Thu, 16 Feb 2006 17:05:52 +0200 Received: from flame.pc (flame [127.0.0.1]) by flame.pc (8.13.4/8.13.4) with ESMTP id k1GF5cY9034751; Thu, 16 Feb 2006 17:05:38 +0200 (EET) (envelope-from keramida@ceid.upatras.gr) Received: (from keramida@localhost) by flame.pc (8.13.4/8.13.4/Submit) id k1GF5cY4034750; Thu, 16 Feb 2006 17:05:38 +0200 (EET) (envelope-from keramida@ceid.upatras.gr) Date: Thu, 16 Feb 2006 17:05:38 +0200 From: Giorgos Keramidas To: Joe Auty Message-ID: <20060216150538.GA34735@flame.pc> References: <1CFD830B-2CAC-44A9-9120-6CF351FD3EB9@netmusician.org> <443bimav7o.fsf@be-well.ilk.org> <039BD206-0592-4F99-BE9B-CB49310E5BDC@netmusician.org> <44oe19ftis.fsf@be-well.ilk.org> <5681BB6E-A511-4790-A8D9-33FBCBA3B800@netmusician.org> <44d5hnqt2k.fsf@be-well.ilk.org> <20060216145209.GA34657@flame.pc> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: X-Hellug-MailScanner: Found to be clean X-Hellug-MailScanner-SpamCheck: not spam, SpamAssassin (score=-3.346, required 5, autolearn=not spam, ALL_TRUSTED -1.80, AWL 0.85, BAYES_00 -2.60, DNS_FROM_RFC_ABUSE 0.20) X-Hellug-MailScanner-From: keramida@ceid.upatras.gr Cc: freebsd-questions@freebsd.org Subject: Re: core dump with dump command SOLVED X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 16 Feb 2006 15:06:26 -0000 On 2006-02-16 09:56, Joe Auty wrote: >On Feb 16, 2006, at 9:52 AM, Giorgos Keramidas wrote: >>On 2006-02-16 09:29, Joe Auty wrote: >>> Thanks everybody for their help. >>> >>> As it turns out, I guess dump was being starved for memory, >>> as running it while booted into FreeBSD normally using -L to >>> indicate a live filesystem worked just fine. I believe this >>> is because there is an extra swap file available from a >>> normal FreeBSD boot, as specified in my /etc/rc.conf. I'm not >>> sure if my theory completely holds up, but there you have it. >>> >>> Thanks again! I'm up and running... >> >> That's very likely. I usually start single user mode with >> something like the following: >> >> # adjkerntz -i >> # swapon -a >> # fsck -p >> # mount -u / >> # mount -va >> >> Having a swap partition enabled definitely helps to avoid >> ending up without any free memory ;) > > I was doing swapon -a too, but perhaps this command does not enable > swap directories that have been attached to /etc/rc.conf? It enables all partitions listed as 'swap' in /etc/fstab. You are probably using a `swapfile', instead of a swap partition, so that wouldn't enable it, because the relevant file system may not be mounted at the time you run 'swapon'. This is one of the reasons behind my tendency to use a separate swap partition instead of swapfile="foo" in `/etc/rc.conf' :-/