LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Red Hat
User Name
Password
Red Hat This forum is for the discussion of Red Hat Linux.

Notices

Reply
 
Search this Thread
Old 11-11-2004, 10:28 PM   #1
jadupl2
LQ Newbie
 
Registered: Nov 2004
Posts: 12

Rep: Reputation: 0
Unhappy Increase EXT3 Filesystem size in a LVM?


I have really sad that RedHat have not yet developed an utility to increase the size of an ext3 filesystem that is created in a LVM (Logical Volume).

I am a Sysadmin (AIX), moving to Some system to Linux.

On SuSE you can enlarge a filesystem (Reiserfs, XFS)while it is MOUNTED.

In a production this is really important.

Having to shut database down to increase the size of a Filesystem is a BIG OUTAGE.

When RedHat is going to understand that WE NEED to ENLARGE EXT3 FILESYSTEM WHILE THEY ARE MOUNTED (In a Volume Group - LVM) ?
 
Old 11-11-2004, 10:38 PM   #2
jadupl2
LQ Newbie
 
Registered: Nov 2004
Posts: 12

Original Poster
Rep: Reputation: 0
Anybody know a way to enlarge a filesystem ext3 without having to unmounted when they space in the volume group (in a LVM env) ?
Like we can do with all others JFS, REISERSFS and XFS.
 
Old 11-14-2004, 01:16 AM   #3
hkb33
Member
 
Registered: Sep 2004
Location: Raleigh NC
Distribution: Fedora / RHEL
Posts: 171

Rep: Reputation: 30
I think LVM2 (in Fedora and, soon, RHEL 4) will let you do this using lvextend and ext2online.....ext2online is currently in Fedora Core and so is LVM2.

http://www.tldp.org/HOWTO/LVM-HOWTO/extendlv.html

...so, yes, Red Hat understands and is working on a solution for this problem.
 
Old 11-14-2004, 09:40 PM   #4
jadupl2
LQ Newbie
 
Registered: Nov 2004
Posts: 12

Original Poster
Rep: Reputation: 0
Smile

You are right my friend - At last !
I just install Fedora Core 3 and I tested it and it works !

In Fedora Core 3, we can now increase a filesystem on line WITHOUT umounting it.

Hopefully Red Hat will include it in Red Hat Enterprise 4.0

# mount -t ext3 /dev/rootvg/test /test

# df -k /test
Filesystem 1K-blocks Used Available Use% Mounted on
/dev/mapper/rootvg-test
63461 5403 54782 9% /test

# lvextend -L+64M /dev/rootvg/test
Extending logical volume test to 128.00 MB
Logical volume test successfully resized

# ext2online /dev/rootvg/test
ext2online v1.1.18 - 2001/03/18 for EXT2FS 0.5b

# df -k /test
Filesystem 1K-blocks Used Available Use% Mounted on
/dev/mapper/rootvg-test
126931 5658 114725 5% /test
#


Thank You !




 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Resizing an ext3 LVM Partition PenguinPwrdBox Linux - Software 1 09-04-2005 03:34 AM
RH Enterprise 4 + LVM + ext3 super_paws Red Hat 3 04-30-2005 05:23 AM
ext3 filesystem support files over 4 gb in size? versaulis Linux - Software 4 06-25-2004 06:54 PM
extending ext3 lvm Kroenecker Linux - Newbie 2 12-31-2003 07:51 PM
increase point size size when printing PDF files newlin Red Hat 0 09-27-2003 08:13 AM


All times are GMT -5. The time now is 08:59 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration