On 11 Oct 2002 08:43:05 -0400 Jake Colman <[EMAIL PROTECTED]> wrote:
> > TP> On 09 Oct 2002 11:35:50 -0400 > TP> Jake Colman <[EMAIL PROTECTED]> wrote: > > >> > >> I have a parition that, according to 'df', is only 50% > >occupied. I> would like to shrink the filesystem in that > >partition. How do I> specify the 'size' parameter to resize2fs > >so that it can do what I> want? No matter what value I give > >it, based on what I think is> correct, it tells me I am wrong. > >> > >> Here is my 'df' output: > >> > >> Filesystem 1k-blocks Used Available Use% Mounted on /dev/hda2 > >20158372> 9030876 10103496 48% /home > >> > >> I want to resize the parition so that it occupies a 10gb > >parition> instead of a 19gb partition. > >> > >> What is the magic "size" value for resize2fs and how did you > >figure it> out? > >> > >> > > TP> You need a utility such as parted to resize partitions. > TP> It is found > TP> on the 2nd cd in RH 7.0. > TP> I've never used parted, but I'm sure that others on the > TP> List have, > TP> and will guide you through the process. > > I must not have been clear. I am trying to resize the ext3 > filesystem that resides on the partition. I mean t to saw that I > want to resize the filesystem to 10gb so that it leaves free space > in the partition. I then plan on trying to use EVMS to manage that > free space. > > How do I properly specify a value to resize2fs? I've tried several > (reasonable?) values and I get rejected each time. > > > You can find an example exercise using resize2fs here: http://home.attbi.com/~dckrinke/jan_02_linux.html It should help figuring out the 'size' perameter to use. Best, Tom -- redhat-list mailing list unsubscribe mailto:[EMAIL PROTECTED]?subject=unsubscribe https://listman.redhat.com/mailman/listinfo/redhat-list