Linux LVM users
 help / color / mirror / Atom feed
* [linux-lvm] About extending partiton with lvm+ext3
@ 2004-04-26 18:59 Vahric MUHTARYAN
  2004-04-26 22:29 ` Heinz Mauelshagen
  0 siblings, 1 reply; 4+ messages in thread
From: Vahric MUHTARYAN @ 2004-04-26 18:59 UTC (permalink / raw)
  To: 'LVM general discussion and development'

Hi Everybody , 

I'm reading lvm-how to and I wonder those any tools like e2fsadm ,
ext2resize ?!! in Redhat ... Because I want to exten ext3 

Does command for only ext2 ?! 

# export E2FSADM_RESIZE_CMD=ext2resize
# e2fsadm /dev/ops/batch -L+500M

Thanks Everybody ... 
Vahric 

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

* Re: [linux-lvm] About extending partiton with lvm+ext3
  2004-04-26 18:59 [linux-lvm] About extending partiton with lvm+ext3 Vahric MUHTARYAN
@ 2004-04-26 22:29 ` Heinz Mauelshagen
  2004-04-27 12:10   ` Jean-Luc Coulon (f5ibh)
  0 siblings, 1 reply; 4+ messages in thread
From: Heinz Mauelshagen @ 2004-04-26 22:29 UTC (permalink / raw)
  To: LVM general discussion and development

On Mon, Apr 26, 2004 at 09:59:54PM +0300, Vahric MUHTARYAN wrote:
> Hi Everybody , 
> 
> I'm reading lvm-how to and I wonder those any tools like e2fsadm ,
> ext2resize ?!! in Redhat ... Because I want to exten ext3 
> 
> Does command for only ext2 ?! 

Yes.

> 
> # export E2FSADM_RESIZE_CMD=ext2resize
> # e2fsadm /dev/ops/batch -L+500M
> 
> Thanks Everybody ... 
> Vahric 
> 
> _______________________________________________
> linux-lvm mailing list
> linux-lvm@redhat.com
> https://www.redhat.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                                 Red Hat GmbH
Consulting Development Engineer                   Am Sonnenhang 11
                                                  56242 Marienrachdorf
                                                  Germany
Mauelshagen@RedHat.com                            +49 2626 141200
                                                       FAX 924446
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-

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

* Re: [linux-lvm] About extending partiton with lvm+ext3
  2004-04-26 22:29 ` Heinz Mauelshagen
@ 2004-04-27 12:10   ` Jean-Luc Coulon (f5ibh)
  2004-04-30 10:49     ` Heinz Mauelshagen
  0 siblings, 1 reply; 4+ messages in thread
From: Jean-Luc Coulon (f5ibh) @ 2004-04-27 12:10 UTC (permalink / raw)
  To: linux-lvm

[-- Attachment #1: Type: text/plain, Size: 1215 bytes --]

Le 27.04.2004 00:29:21, Heinz Mauelshagen a écrit :
> On Mon, Apr 26, 2004 at 09:59:54PM +0300, Vahric MUHTARYAN wrote:
> > Hi Everybody ,
> >
> > I'm reading lvm-how to and I wonder those any tools like e2fsadm ,
> > ext2resize ?!! in Redhat ... Because I want to exten ext3
> >
> > Does command for only ext2 ?!
> 
> Yes.

You can resize an ext3 filesystem with the resize2fs command. Both  
enlarge or shrink it.
But : this is allowed only on an *offline* (umounted) filsystem,  
resize2fs doesnt take care of the underlaying partition, you have to  
enlarge the partition (logical volume) before an enlarge operation or  
shrink it after a shrink operation.

man 8 resize2fs

<<
RESIZE2FS(8)

NAME
       resize2fs - ext2/ext3 file system resizer

[ ... ]
>>

Do the operation as following:
-unmount the logical volume holding the filesystem you want to enlarge
-lvwextend to enlarge the partition
-resize2fs to enlarge the filesystem
-remount the logical volume

--
		- Jean-Luc
> 
> >
> > # export E2FSADM_RESIZE_CMD=ext2resize
> > # e2fsadm /dev/ops/batch -L+500M
> >
> > Thanks Everybody ...
> > Vahric
> 
> --
> 
> Regards,
> Heinz    -- The LVM Guy --
> 

[-- Attachment #2: Type: application/pgp-signature, Size: 189 bytes --]

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

* Re: [linux-lvm] About extending partiton with lvm+ext3
  2004-04-27 12:10   ` Jean-Luc Coulon (f5ibh)
@ 2004-04-30 10:49     ` Heinz Mauelshagen
  0 siblings, 0 replies; 4+ messages in thread
From: Heinz Mauelshagen @ 2004-04-30 10:49 UTC (permalink / raw)
  To: LVM general discussion and development

On Tue, Apr 27, 2004 at 02:10:34PM +0200, Jean-Luc Coulon (f5ibh) wrote:
> Le 27.04.2004 00:29:21, Heinz Mauelshagen a �crit�:
> >On Mon, Apr 26, 2004 at 09:59:54PM +0300, Vahric MUHTARYAN wrote:
> >> Hi Everybody ,
> >>
> >> I'm reading lvm-how to and I wonder those any tools like e2fsadm ,
> >> ext2resize ?!! in Redhat ... Because I want to exten ext3
> >>
> >> Does command for only ext2 ?!
> >
> >Yes.
> 
> You can resize an ext3 filesystem with the resize2fs command. Both  
> enlarge or shrink it.

Well, of course. ext3 is identical metadata-wise.

> But : this is allowed only on an *offline* (umounted) filsystem,  
> resize2fs doesnt take care of the underlaying partition, you have to  
> enlarge the partition (logical volume) before an enlarge operation or  
> shrink it after a shrink operation.
> 
> man 8 resize2fs
> 
> <<
> RESIZE2FS(8)
> 
> NAME
>       resize2fs - ext2/ext3 file system resizer
> 
> [ ... ]
> >>
> 
> Do the operation as following:
> -unmount the logical volume holding the filesystem you want to enlarge
> -lvwextend to enlarge the partition
> -resize2fs to enlarge the filesystem
> -remount the logical volume
> 
> --
> 		- Jean-Luc
> >
> >>
> >> # export E2FSADM_RESIZE_CMD=ext2resize
> >> # e2fsadm /dev/ops/batch -L+500M
> >>
> >> Thanks Everybody ...
> >> Vahric
> >
> >--
> >
> >Regards,
> >Heinz    -- The LVM Guy --
> >



> _______________________________________________
> linux-lvm mailing list
> linux-lvm@redhat.com
> https://www.redhat.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                                 Red Hat GmbH
Consulting Development Engineer                   Am Sonnenhang 11
                                                  56242 Marienrachdorf
                                                  Germany
Mauelshagen@RedHat.com                            +49 2626 141200
                                                       FAX 924446
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-

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

end of thread, other threads:[~2004-04-30 10:51 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-04-26 18:59 [linux-lvm] About extending partiton with lvm+ext3 Vahric MUHTARYAN
2004-04-26 22:29 ` Heinz Mauelshagen
2004-04-27 12:10   ` Jean-Luc Coulon (f5ibh)
2004-04-30 10:49     ` Heinz Mauelshagen

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox