Date: Thu, 16 Feb 2006 17:05:38 +0200 From: Giorgos Keramidas <keramida@ceid.upatras.gr> To: Joe Auty <joe@netmusician.org> Cc: freebsd-questions@freebsd.org Subject: Re: core dump with dump command SOLVED Message-ID: <20060216150538.GA34735@flame.pc> In-Reply-To: <B13F3A93-1287-4BD9-84DF-F46B1A0FFFD4@netmusician.org> 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> <D22C96E6-2B6F-40D6-BB93-6D80C83C8F27@netmusician.org> <20060216145209.GA34657@flame.pc> <B13F3A93-1287-4BD9-84DF-F46B1A0FFFD4@netmusician.org>
next in thread | previous in thread | raw e-mail | index | archive | help
On 2006-02-16 09:56, Joe Auty <joe@netmusician.org> wrote: >On Feb 16, 2006, at 9:52 AM, Giorgos Keramidas wrote: >>On 2006-02-16 09:29, Joe Auty <joe@netmusician.org> 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' :-/
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20060216150538.GA34735>