bug-parted
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Problem resizing ext2 filesystem on LVM


From: Dave Wapstra
Subject: Re: Problem resizing ext2 filesystem on LVM
Date: Mon, 14 Jan 2002 09:29:47 +0100
User-agent: Mutt/1.2.5.1i

On Mon, Jan 14, 2002 at 12:44:54PM +1100, Andrew Clausen wrote:
> On Sun, Jan 13, 2002 at 04:57:30PM +0100, Dave Wapstra wrote:
> > On Sat, Jan 12, 2002 at 08:56:26AM +1100, Andrew Clausen wrote:
> > > # libtool gdb parted
> > 
> > I did the magic, see log below.  I tried it a number of times, 
> > and at one of them I did a "step" in between:
> 
> The instructions I gave whre for growing, not shrinking.
> Try growing by about 100 to 200 Mb.  (make sure it's more than the size of
> a block group - dumpe2fs might help you ;)
> 
> Sorry, I should have mentioned it before.
> 
> Don't forget to run e2fsck -f afterwards!

I did grow it - although it may not look like it.

The partition (LV) is curently about 200 GB.

(parted) p
Disk geometry for /dev/ftp1/cisco: 0.000-206440.000 megabytes
Disk label type: loop
Minor    Start       End     Filesystem  Flags
1          0.000 206440.000  ext2    

The filesystem is about 170 GB.

# df
<..>
/dev/ftp1/cisco      174009096 174005364      3732 100% /home/ftp/pub/cisco

I'm resizing like this:

(parted) resize 1 0 206432

Which should make a filesystem of about 200GB.

I'll try to grow it a few 100 megs.

-Dave








reply via email to

[Prev in Thread] Current Thread [Next in Thread]