From owner-freebsd-questions Thu Aug 29 22:24: 5 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 7E3C737B400; Thu, 29 Aug 2002 22:24:02 -0700 (PDT) Received: from stargate.sse-erfurt.de (stargate.sse-erfurt.de [62.132.15.253]) by mx1.FreeBSD.org (Postfix) with SMTP id 0931D43E6A; Thu, 29 Aug 2002 22:24:01 -0700 (PDT) (envelope-from kittler@sse-erfurt.de) Received: (2650 bytes) by stargate.sse-erfurt.de via sendmail with P:stdio/R:inet_hosts/T:smtp (sender: ) id for ; Fri, 30 Aug 2002 07:28:41 +0200 (MET DST) (Smail-3.2.0.101 1997-Dec-17 #7 built DST-Jul-30) Received: from (master [192.105.75.4]) by stargate.sse-erfurt.de via smap (V2.1) id xma031066; Fri, 30 Aug 02 07:28:23 +0200 Received: (from kittler@localhost) by master.sse-erfurt.de (8.9.3/8.9.3/SuSE Linux 8.9.3-0.1) id HAA29599; Fri, 30 Aug 2002 07:23:41 +0200 From: Lutz Kittler MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <15727.349.167382.859992@master.sse-erfurt.de> Date: Fri, 30 Aug 2002 07:23:41 +0200 (MEST) To: "Greg 'groggy' Lehey" Cc: freebsd-questions@FreeBSD.ORG Subject: Re: Swap-Space In-Reply-To: <20020830011043.GG49032@wantadilla.lemis.com> References: <15726.4051.211067.109514@master.sse-erfurt.de> <20020830011043.GG49032@wantadilla.lemis.com> X-Mailer: VM 6.75 under 21.1 (patch 7) "Biscayne" XEmacs Lucid 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 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