LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 09-05-2007, 02:12 AM   #1
kathmanduite
LQ Newbie
 
Registered: Sep 2007
Distribution: redhat
Posts: 6

Rep: Reputation: 0
How to extend /home partition in rhel4?


Hello to all,
I am using RedHat Enterprise Linux 4. While installing I allocated 1GB for /home partition. Now it is almost full. I have another partition /various with 512MB space.I want to format /various partition and allocate the space to /home. What are the procedures to do that?

Thanks in advance.
 
Old 09-05-2007, 02:26 AM   #2
MS3FGX
LQ Guru
 
Registered: Jan 2004
Location: NJ, USA
Distribution: Slackware, Debian
Posts: 5,852

Rep: Reputation: 357Reputation: 357Reputation: 357Reputation: 357
Well there are some details you need to consider (and that you need to give).

First of all, what is the file system of the /home partition? Some resize easily, others do not. Second, are the /home and /various partitions sequential in the partition table? In other words, is it something like:

hda2 - /home
hda3 - /various

If there is a partition in the middle of them, it makes things more complicated. If they are right next to each other (preferably with /various after /home) then it is just a matter of deleting /various and expanding /home to make up the difference. But if there are other partitions involved, they will need to be shuffled around, which could be a problem (and will most certainly be more difficult).
 
Old 09-05-2007, 09:14 AM   #3
farslayer
LQ Guru
 
Registered: Oct 2005
Location: Northeast Ohio
Distribution: linuxdebian
Posts: 7,241
Blog Entries: 5

Rep: Reputation: 190Reputation: 190
If your partitions were setup using LVM you should be able to resize them..

http://www.redhat.com/docs/manuals/e...lvm-intro.html

http://www.tldp.org/LDP/LG/issue84/vinayak.html
 
Old 09-06-2007, 01:47 AM   #4
kathmanduite
LQ Newbie
 
Registered: Sep 2007
Distribution: redhat
Posts: 6

Original Poster
Rep: Reputation: 0
Actually I have a dual boot system with Windows XP and RHEL4.
While installing I used Disk Druid to create the partitions. Filesystem is ext3. I created /various and /penguin after the installation using fdisk command.

Filesystem Size Used Avail Use% Mounted on
dev/hda10 1012M 332M 629M 35% /
/dev/hda7 494M 14M 456M 3% /boot
none 125M 0 125M 0% /dev/shm
/dev/hda9 1012M 838M 123M 88% /home
/dev/hda8 6.0G 4.1G 1.6G 72% /usr
/dev/hda11 494M 372M 98M 80% /var
/dev/hda12 494M 0 494M 0% /various
/dev/hda13 3.4G 2.6G 611M 82% /penguin

I havent used LVM. Do I have to reinstall to resize?
 
Old 09-06-2007, 09:40 AM   #5
farslayer
LQ Guru
 
Registered: Oct 2005
Location: Northeast Ohio
Distribution: linuxdebian
Posts: 7,241
Blog Entries: 5

Rep: Reputation: 190Reputation: 190
you may be able to resize using the bootable gparted CD http://gparted.sourceforge.net/livecd.php

May want to backup your data before you start to make changes, just in case.. Partimage might be a good tool to backup your current partitions .. http://www.partimage.org/Main_Page
 
  


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
Extend LVM partition rconan Linux - Software 5 08-31-2010 03:32 AM
how to extend partition? Sushy *BSD 2 01-25-2007 01:29 PM
How to extend /home fw12 Linux - Software 5 09-06-2006 08:04 PM
How do I extend an ext3 partition? chrislev Linux - Hardware 2 01-27-2006 11:35 AM
extend /home filesystem size rtmisa Linux - Newbie 6 10-10-2003 09:36 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 05:20 AM.

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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration