*BSD News Article 79902


Return to BSD News archive

Path: euryale.cc.adfa.oz.au!newshost.carno.net.au!harbinger.cc.monash.edu.au!news.rmit.EDU.AU!news.unimelb.EDU.AU!munnari.OZ.AU!news.Hawaii.Edu!news.uoregon.edu!newsgate.cuhk.edu.hk!news-hk.gsl.net!news.gsl.net!news-tokyo.gsl.net!news.gsl.net!news-stock.gsl.net!news.gsl.net!news-penn.gsl.net!news.gsl.net!news-peer.gsl.net!news.gsl.net!howland.erols.net!EU.net!usenet2.news.uk.psi.net!uknet!usenet1.news.uk.psi.net!uknet!dispatch.news.demon.net!demon!awfulhak.demon.co.uk!awfulhak.demon.co.uk!usenet
From: brian@anorak.coverform.lan (Brian Somers)
Newsgroups: comp.unix.bsd.bsdi.misc,comp.unix.bsd.misc
Subject: Re: Partition Full
Date: 3 Oct 1996 09:31:06 GMT
Organization: Coverform Ltd.
Lines: 28
Message-ID: <53014q$8t@anorak.coverform.lan>
References: <01bbafd5$724a7e00$1340abce@dgainor.fia.net>
Reply-To: brian@awfulhak.demon.co.uk
NNTP-Posting-Host: anorak.coverform.lan
X-NNTP-Posting-Host: awfulhak.demon.co.uk
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
X-Newsreader: knews 0.9.8
Xref: euryale.cc.adfa.oz.au comp.unix.bsd.bsdi.misc:5053 comp.unix.bsd.misc:1381

In article <01bbafd5$724a7e00$1340abce@dgainor.fia.net>,
	"Drew Gainor" <dgainor@fia.net> writes:
> My root Partition is full and I need to make it bigger. Is ther a way to do
> this without reformatting the drive?

Depends on your layout.  Usually, your root partition is ?d0a and your
swap partition is ?d0b (the ? depends on the controller).  If you run
"disklabel -r -e ?d0", you should be able to reduce your swap and
increase your root partition.  However, *be careful* !

Boot from the fixit floppy and do it from there.  You don't want to end
up swapping to the end of your root partition prior to the reboot !

Bear in mind, if the partition that you steal the space from is a file
system (no swap following your boot partition), you'll have to save the
data from it, do the above, then "newfs" the new partition to put the
superblocks in the right place.  This isn't necessary with swap.

If your boot partition is at the end of the slice (or physical partition),
you're up the swanny !  Re-post with your disk layouts if you can't figure
it out.

Look into "vnconfig" & "swapon"/fstab if you end up with not enough swap.
Do a backup if you can - it's easy to screw these things up :)

-- 
Brian <brian@awfulhak.demon.co.uk>
Don't _EVER_ lose your sense of humour....