LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 06-06-2008, 05:39 PM   #1
sopriano
LQ Newbie
 
Registered: Mar 2008
Posts: 2

Rep: Reputation: 0
Question Extend rootvol LV in RHEL4


hello experts;

I want to extend rootvol (/) - currently at 16Gb, with additional 50GB in RHEL4? Is this posibble?


--------------------------------------------------------|
[root@RHEL43SVR01 /]# df -h
Filesystem Size Used Avail Use% Mounted on
/dev/mapper/rootvg-rootvol
16G 7.3G 7.5G 50% /
/dev/sda1 99M 18M 77M 19% /boot
none 7.8G 0 7.8G 0% /dev/shm
/dev/mapper/rootvg-homevol
2.0G 36M 1.9G 2% /home

[root@RHEL43SVR01 /]# vgdisplay | grep Free
Free PE / Size 2365 / 173.91 GB
--------------------------------------------------------|
 
Old 06-07-2008, 08:23 AM   #2
trickykid
LQ Guru
 
Registered: Jan 2001
Posts: 24,149

Rep: Reputation: 269Reputation: 269Reputation: 269
lvextend and resize2fs are your friend...
 
Old 06-10-2008, 10:43 AM   #3
sopriano
LQ Newbie
 
Registered: Mar 2008
Posts: 2

Original Poster
Rep: Reputation: 0
i used that..
1st try - unable to unmount '\' - 'device busy'..
then after tried few times.. the volume size seems no change? please help..
 
Old 06-10-2008, 11:30 AM   #4
twk
Member
 
Registered: Feb 2002
Location: Canada
Distribution: Fedora/RHEL
Posts: 152

Rep: Reputation: 31
Maybe boot into rescue mode with a RHEL4 CD (linux rescue) and do your resizing there.
 
Old 06-10-2008, 02:18 PM   #5
trickykid
LQ Guru
 
Registered: Jan 2001
Posts: 24,149

Rep: Reputation: 269Reputation: 269Reputation: 269
RHEL 4 should not require you to umount your partition. You can change it on the fly with newer versions of LVM.
 
Old 06-10-2008, 06:38 PM   #6
twk
Member
 
Registered: Feb 2002
Location: Canada
Distribution: Fedora/RHEL
Posts: 152

Rep: Reputation: 31
Quote:
Originally Posted by trickykid View Post
RHEL 4 should not require you to umount your partition. You can change it on the fly with newer versions of LVM.
That option is "ext2online" command (lvextend first).

However I vaguely remember there's a size limitation with "ext2online" command on a unprepared partition.
 
Old 06-10-2008, 10:49 PM   #7
trickykid
LQ Guru
 
Registered: Jan 2001
Posts: 24,149

Rep: Reputation: 269Reputation: 269Reputation: 269
Quote:
Originally Posted by twk View Post
However I vaguely remember there's a size limitation with "ext2online" command on a unprepared partition.
That's correct about ext2online.

The size limitation only affects ext2 filesystems, since it was not created with this in mind originally for changing the size on a mounted partition. And I would find it hard to believe if anyone is still using ext2, unless it's some legacy system, etc.
 
  


Reply

Tags
extend



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 On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
How to extend /home partition in rhel4? kathmanduite Linux - Newbie 4 09-06-2007 08:40 AM
Extend Ethernet cable? ctkroeker General 18 02-14-2007 04:03 AM
how to extend partition? Sushy *BSD 2 01-25-2007 12:29 PM
remote backup from RHEL4 to another RHEL4? dkgoalie Linux - Newbie 2 10-27-2006 11:14 PM
How to extend /home fw12 Linux - Software 5 09-06-2006 07:04 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 08:34 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
Open Source Consulting | Domain Registration