All of lore.kernel.org
 help / color / mirror / Atom feed
* [linux-lvm] LVM ext3 and lvreduce
@ 2002-11-13  7:55 Joseph Kezar
  2002-11-13  8:05 ` Pierre Lamb
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: Joseph Kezar @ 2002-11-13  7:55 UTC (permalink / raw)
  To: Linux LVM Sistina


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?

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [linux-lvm] LVM ext3 and lvreduce
  2002-11-13  7:55 [linux-lvm] LVM ext3 and lvreduce Joseph Kezar
@ 2002-11-13  8:05 ` Pierre Lamb
  2002-11-13  8:05 ` Heinz J . Mauelshagen
  2002-11-13 11:02 ` Andreas Dilger
  2 siblings, 0 replies; 4+ messages in thread
From: Pierre Lamb @ 2002-11-13  8:05 UTC (permalink / raw)
  To: linux-lvm

Sounds like you changed the lv size but didin't extend
the file system. try the resize2fs after you changed
the lv size

Pierre
--- Joseph Kezar <jkezar@doc.state.vt.us> 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/


__________________________________________________
Do you Yahoo!?
U2 on LAUNCH - Exclusive greatest hits videos
http://launch.yahoo.com/u2

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [linux-lvm] LVM ext3 and lvreduce
  2002-11-13  7:55 [linux-lvm] LVM ext3 and lvreduce Joseph Kezar
  2002-11-13  8:05 ` Pierre Lamb
@ 2002-11-13  8:05 ` Heinz J . Mauelshagen
  2002-11-13 11:02 ` Andreas Dilger
  2 siblings, 0 replies; 4+ messages in thread
From: Heinz J . Mauelshagen @ 2002-11-13  8:05 UTC (permalink / raw)
  To: linux-lvm

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
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [linux-lvm] LVM ext3 and lvreduce
  2002-11-13  7:55 [linux-lvm] LVM ext3 and lvreduce Joseph Kezar
  2002-11-13  8:05 ` Pierre Lamb
  2002-11-13  8:05 ` Heinz J . Mauelshagen
@ 2002-11-13 11:02 ` Andreas Dilger
  2 siblings, 0 replies; 4+ messages in thread
From: Andreas Dilger @ 2002-11-13 11:02 UTC (permalink / raw)
  To: Joseph Kezar; +Cc: Linux LVM Sistina

On Nov 13, 2002  08:55 -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?  

No - ext3 is totally independent of LVM, except if you are doing snapshots.

> Is there a comparable tool for ext3 like e2fsadm?

Yes, e2fsadm.

> Is it possible to resize an ext3 partition while it is online?

Yes, but you need a new kernel patch and ext2online tools from CVS.
Find both at http://sourceforge.net/projects/ext2resize/

This is beta code now (i.e. we don't know of any bugs), excluding the
fact that ext2prepare doesn't work yet, so you can't online resize
past the next 16GB boundary unless you created a new filesystem with
the patched "mke2fs -O resize_inode" (patch at same place).

Cheers, Andreas
--
Andreas Dilger
http://www-mddsp.enel.ucalgary.ca/People/adilger/
http://sourceforge.net/projects/ext2resize/

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2002-11-13 11:02 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-11-13  7:55 [linux-lvm] LVM ext3 and lvreduce Joseph Kezar
2002-11-13  8:05 ` Pierre Lamb
2002-11-13  8:05 ` Heinz J . Mauelshagen
2002-11-13 11:02 ` Andreas Dilger

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.