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

Re: [linux-lvm] LVM ext3 and lvreduce



Joseph,

you need to shrink the filesystem _before_ you lvreduce the logical volume.
Unmont it and use resize2fs to achieve this. e2fsadm which comes with LVM1
will run resize2fs and lvreduce correctly to achieve both size changes in
the correct sequence.

See e2fsadm(8) for details.

On Wed, Nov 13, 2002 at 08:55:18AM -0500, Joseph Kezar wrote:
> 
> 
> I have LVM working, and I have created all my logical volumes for my
> environment.  All of my logical volumes have been mkfs.ext3'd. 
> Everything works, except for when I try to change the size with lvreduce
> or lvextend.  These tools are happy to work, but when I remount my
> logvols and type: mount I see that in fact the size that is reported to
> the OS has not changed.
> 
> Is there any incompatabilities with LVM and Ext3?  
> Is there a comparable tool for ext3 like e2fsadm?
> Is it possible to resize an ext3 partition while it is online?
> 
> 
> 
> _______________________________________________
> linux-lvm mailing list
> linux-lvm sistina com
> http://lists.sistina.com/mailman/listinfo/linux-lvm
> read the LVM HOW-TO at http://tldp.org/HOWTO/LVM-HOWTO/

-- 

Regards,
Heinz    -- The LVM Guy --

*** Software bugs are stupid.
    Nevertheless it needs not so stupid people to solve them ***

=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-

Heinz Mauelshagen                                 Sistina Software Inc.
Senior Consultant/Developer                       Am Sonnenhang 11
                                                  56242 Marienrachdorf
                                                  Germany
Mauelshagen Sistina com                           +49 2626 141200
                                                       FAX 924446
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-



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