From owner-freebsd-questions Thu Aug 29 23:17: 6 2002 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 A7D9637B400 for ; Thu, 29 Aug 2002 23:17:01 -0700 (PDT) Received: from wantadilla.lemis.com (wantadilla.lemis.com [192.109.197.80]) by mx1.FreeBSD.org (Postfix) with ESMTP id 28E3343E65 for ; Thu, 29 Aug 2002 23:17:00 -0700 (PDT) (envelope-from grog@lemis.com) Received: by wantadilla.lemis.com (Postfix, from userid 1004) id 49E4A814A7; Fri, 30 Aug 2002 15:46:57 +0930 (CST) Date: Fri, 30 Aug 2002 15:46:57 +0930 From: Greg 'groggy' Lehey To: Lutz Kittler Cc: freebsd-questions@FreeBSD.ORG Subject: Re: Swap-Space Message-ID: <20020830061657.GV49032@wantadilla.lemis.com> References: <15726.4051.211067.109514@master.sse-erfurt.de> <20020830011043.GG49032@wantadilla.lemis.com> <15727.349.167382.859992@master.sse-erfurt.de> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <15727.349.167382.859992@master.sse-erfurt.de> User-Agent: Mutt/1.3.99i Organization: The FreeBSD Project Phone: +61-8-8388-8286 Fax: +61-8-8388-8725 Mobile: +61-418-838-708 WWW-Home-Page: http://www.FreeBSD.org/ X-PGP-Fingerprint: 9A1B 8202 BCCE B846 F92F 09AC 22E6 F290 507A 4223 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Friday, 30 August 2002 at 7:23:41 +0200, Lutz Kittler wrote: > 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 As I said, >> If this doesn't work, please report where it goes wrong. Greg -- When replying to this message, please copy the original recipients. If you don't, I may ignore the reply or reply to the original recipients. For more information, see http://www.lemis.com/questions.html See complete headers for address and phone numbers To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message