Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 18 Mar 2000 17:17:24 -0500
From:      "Crist J. Clark" <cjc@cc942873-a.ewndsr1.nj.home.com>
To:        Marcelo <bsdq@stgo.cl>
Cc:        questions@FreeBSD.ORG
Subject:   Re: Merging Swap Partitions
Message-ID:  <20000318171723.C72361@cc942873-a.ewndsr1.nj.home.com>
In-Reply-To: <Pine.LNX.3.96.1000318182923.5518A-100000@stgo.cl>; from bsdq@stgo.cl on Sat, Mar 18, 2000 at 06:42:48PM %2B0000
References:  <20000318222716.A879@student.csd.uu.se> <Pine.LNX.3.96.1000318182923.5518A-100000@stgo.cl>

next in thread | previous in thread | raw e-mail | index | archive | help
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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20000318171723.C72361>