Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 24 Mar 2001 11:36:20 +0100 (CET)
From:      Paul Herman <pherman@frenchfries.net>
To:        Eugene Lee <eugene@anime.net>
Cc:        <freebsd-questions@FreeBSD.ORG>
Subject:   Re: resizing a swap partition
Message-ID:  <Pine.BSF.4.33.0103241129350.30478-100000@husten.security.at12.de>
In-Reply-To: <20010323114319.B26768@anime.net>

next in thread | previous in thread | raw e-mail | index | archive | help
On Fri, 23 Mar 2001, Eugene Lee wrote:

> Does FreeBSD support any tools that can dynamically repartition a
> drive while preserving the data in those partitions (assuming
> there's enough free space in the new partition layout)?

"Dynamically", no, but you can use disklabel(8) to change partition
sizes (be carefull, and be sure you know what you're doing!)

>  I have a FreeBSD 4.2 machine with one drive and I'd like to add
> more swap space (I'm getting lots of messages saying "/kernel:
> swap_pager_getswapspace: failed" and lots of processes saying "was
> killed: out of swap space") I couldn't find any entries in the FAQ
> or the Handbook to address this.

It's there.  Take a gander at:

  http://www.freebsd.org/FAQ/admin.html#ADD-SWAP-SPACE

> Also, even if I created more swap files, is there a way to
> instruct the swapper to first use the swap partition, then use the
> swap file?

I don't think so.

-Paul.




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?Pine.BSF.4.33.0103241129350.30478-100000>