From owner-freebsd-questions Sat Mar 18 14:17:38 2000 Delivered-To: freebsd-questions@freebsd.org Received: from cc942873-a.ewndsr1.nj.home.com (cc942873-a.ewndsr1.nj.home.com [24.2.89.207]) by hub.freebsd.org (Postfix) with ESMTP id 0EC2437BC01 for ; Sat, 18 Mar 2000 14:17:35 -0800 (PST) (envelope-from cjc@cc942873-a.ewndsr1.nj.home.com) Received: (from cjc@localhost) by cc942873-a.ewndsr1.nj.home.com (8.9.3/8.9.3) id RAA73094; Sat, 18 Mar 2000 17:17:24 -0500 (EST) (envelope-from cjc) Date: Sat, 18 Mar 2000 17:17:24 -0500 From: "Crist J. Clark" To: Marcelo Cc: questions@FreeBSD.ORG Subject: Re: Merging Swap Partitions Message-ID: <20000318171723.C72361@cc942873-a.ewndsr1.nj.home.com> Reply-To: cjclark@home.com References: <20000318222716.A879@student.csd.uu.se> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 1.0i In-Reply-To: ; from bsdq@stgo.cl on Sat, Mar 18, 2000 at 06:42:48PM +0000 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Sat, Mar 18, 2000 at 06:42:48PM +0000, Marcelo wrote: > > Hi, > I set up two 250 meg swap partitions on the same drive. > I realised that this wasn't the smartest thing to do so I would like to > merge them into one. > The thing is that these partitions were configured durring system install > and the fdisk command from the prompt is not the most user friendly. > > swapinfo right now gives me the following: > www# swapinfo > Device 1K-blocks Used Avail Capacity Type > /dev/da0s2b 262144 0 262016 0% Interleaved > /dev/da0s2e 262144 0 262016 0% Interleaved > /dev/da1s2b 262144 0 262016 0% Interleaved > Total 786048 0 786048 0% > > and fdisk /dev/da0 the following: [snip] fdisk(8) has nothing to do with this if you are trying to merge the two partitions, da0s2b and da0s2e, since they are in one slice. You need to use diaklabel(8) to modify partitions. If you need additional advice on how to do that, please include the disklabel output in your correspondence. -- Crist J. Clark cjclark@home.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message