From owner-freebsd-questions Thu Jun 17 7: 1:32 1999 Delivered-To: freebsd-questions@freebsd.org Received: from caladan.tdx.co.uk (caladan.tdx.co.uk [195.188.177.4]) by hub.freebsd.org (Postfix) with ESMTP id 633A615325 for ; Thu, 17 Jun 1999 07:01:29 -0700 (PDT) (envelope-from kpielorz@tdx.co.uk) Received: from tdx.co.uk (lorca-tx.tdx.co.uk [195.188.177.242]) by caladan.tdx.co.uk (8.9.3/8.9.3/Kp) with ESMTP id OAA01771; Thu, 17 Jun 1999 14:00:14 GMT Message-ID: <3768FEE2.655C760C@tdx.co.uk> Date: Thu, 17 Jun 1999 14:57:54 +0100 From: Karl Pielorz Organization: TDX - The Digital eXchange X-Mailer: Mozilla 4.6 [en] (WinNT; I) X-Accept-Language: en MIME-Version: 1.0 To: "Ronald 'Ko' Klop" Cc: "Ronald F. Guilmette" , Ladavac Marino , questions@FreeBSD.ORG Subject: Re: Desperate to shrink a partition References: Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Ronald 'Ko' Klop wrote: > On Thu, 17 Jun 1999, Ronald F. Guilmette wrote: > > > Now the problem: When this system was setup (and partitioned) initially > > it had a MUCH bigger swap space than physical memory. It has since had > > physical memory added however. It now has 320MB physical and only a > > single 140MB swap partition setup for it. There are NO free partitions > > and adding another drive to the thing now would be a MAJOR hassle, > > and the people who are hosting it for me (far far away) probably will > > *not* want to even try doing that, even if I ship them a new/additional > > disk drive for the system. > > You can create a file which you can use for swap. I don't know the exact > syntax for it, but it's something with vnconfig and swapon as far as I can > remember. I doub't you could _dump_ to it though? - I thought dump wants a bona-fide device to dump to, not a virtual device? (I could be wrong :) You may get more milage by 'exchanging' your 140Mb swap partition for another partition on the system... (Though the remoteness of the machine might make this tricky), e.g. on our machines /tmp is 512Mb, so we could switch our swap (128Mb) carefully for /tmp? :-) -kp To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message