Date: 31 Aug 2002 22:13:42 +1000 From: Crispin Bennett <crispin@crisweb.webcentral.com.au> To: Jerry McAllister <jerrymc@clunix.cl.msu.edu> Cc: FreeBSD-questions@FreeBSD.ORG Subject: Re: Resizing BSD slices & partitions? Message-ID: <1030796022.55584.28.camel@jupiter.mshome.net> In-Reply-To: <200208311150.g7VBoku08858@clunix.cl.msu.edu> References: <200208311150.g7VBoku08858@clunix.cl.msu.edu>
next in thread | previous in thread | raw e-mail | index | archive | help
> > > > Could anyone tell me if 1) It is possible to resize (make larger) the > > BSD slice without causing FreeBSD to panic, and then if so 2) what > > happens to the extra space created inside that slice? Can I resize a BSD > > partition within that, or would I have to make another partition and > > mount that? 3) If a BSD-partition resize is possible,what utilities are > > there that can do this? > > Partition Magic will work fine to resize the slices. I am guessing that > you have XP in slice #1. Probably you will first need to shrink the XP > slice and then create a new slice in the empty space. Then, the easiest > thing is to just label the new slice and move some of the stuff - maybe > /usr/ports, /var/spool, /usr/local (however much seems appropriate) in to > the new partition, rather than trying to move the boot stuff. > This looks like the most straightforward way to go. Thanks. > If you really want it all one slice, I would recommend shrinking XP and > insert a new slice and then merging the FreeBSD and new slices and then > completely reinstalling FreeBSD in the new merged slice - though you > might get away with merging the FreeBSD and new slices, it doesn't > like to do things that way. Is there a serious disadvantage to using just one slice? As I understand it, FreeBSD still segments the slice into partitions. Is this segmentation not as robust as slices (ie.what the rest of the world calls partitions)? > > Now, if FreeBSD is in the first slice and XP is somewhere above it, you > can grow the FreeBSD slice and just get rid of XP - seems like the > best method... > Unfortunately XP occupies the first 2 slices. It looks like I *will* eventually get rid of XP (FreeBSD is looking that good from my brief acquaintance), but I need a small XP installation for the time being. What I'd like to know is what happens inside the FreeBSD slice if I increase it's size (with pqmagic or whatever). Does FreeBSD just see this as free space within the slice that can then be used to make new 'partitions'? Or does the partition at whichever end of the slice was 'stretched' acquire the extra space? Cris Bennett. 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?1030796022.55584.28.camel>