Date: Fri, 30 Aug 2002 07:23:41 +0200 (MEST) From: Lutz Kittler <Lutz.Kittler@sse-erfurt.de> To: "Greg 'groggy' Lehey" <grog@FreeBSD.org> Cc: freebsd-questions@FreeBSD.ORG Subject: Re: Swap-Space Message-ID: <15727.349.167382.859992@master.sse-erfurt.de> In-Reply-To: <20020830011043.GG49032@wantadilla.lemis.com> References: <15726.4051.211067.109514@master.sse-erfurt.de> <20020830011043.GG49032@wantadilla.lemis.com>
next in thread | previous in thread | raw e-mail | index | archive | help
Greg 'groggy' Lehey writes: > On Thursday, 29 August 2002 at 14:13:07 +0200, Lutz Kittler wrote: > > > > Hi, > > > > when I look at my swapspace I see : > > > > Device 1K-blocks Used Avail Capacity Type > > /dev/da0s1b 524160 116 524044 0% Interleaved > > /dev/da0s1b 524160 64 524096 0% Interleaved > > /dev/rda0s2b 524160 0 524160 0% Interleaved > > Total 1572480 180 1572300 0% > > This looks dangerous. > > > In fstab there is : > > > > /dev/da0s1b none swap sw 0 0 > > /dev/da0s2b none swap sw 0 0 > > > > Why do I see /dev/da0s1b twice and why all 2 are used ? > > Good question. Check your other /etc/rc* files and see if you're > inadvertently adding something twice. The /dev/rda0s2b loos > particularly surprising. > > Looking at the summary, it's possible that you could end up with > extreme data corruption here if the VM system thinks that the last two > partitions are distinct and overwrites data on them. You should > resolve this problem as soon as possible. Try this: > > 1. Boot to single user. > 2. Mount /usr. > 3. Do 'pstat -s'. You should see no swap. > 4. Do 'swapon -a', then 'pstat -s'. You should see only two swap > partitions. > 5. Continue booting to multi-user. You should still see only two > swap partitions. > > If this doesn't work, please report where it goes wrong. > > Greg Hi , I did the things you said. Just know I see /dev/da0s1b once but still there is : /dev/rda0s2b 524160 0 524160 0% Interleaved lutz To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?15727.349.167382.859992>