System Administration
cancel
Showing results for 
Search instead for 
Did you mean: 

Extending root filesystem in RHEL3

 
Nagu SR
Frequent Advisor

Extending root filesystem in RHEL3

Hi,

I have RHEL 3 server which is a VMware-VM. I have extended the disk from VMware side by using vmkfstools command.

Now I need to extend the / filesystem whcih is not a LVM. Its mounted on /dev/sda3.

Is it possible to extend the filesys? If so, how?

Regards,

Nagu
4 REPLIES
avizen9
Esteemed Contributor

Re: Extending root filesystem in RHEL3

Hello Nagu,
you can try with this gparted you can download this s/w from internet, boot with this ISO image,

gparted-livecd-0.3.4-11.iso

success ration will be 50-50
smatador
Honored Contributor

Re: Extending root filesystem in RHEL3

Hi,
In your case, not LVM, it's not possible to extend an existing partition. So like avizen write, you had to boot your VM with a live-cd with gparted. I prefer SystemRescueCd
http://www.sysresccd.org/Main_Page which contain some usefull tools like gparted.
So, do a backup, boot on SystemRescue CD, start gparted and resize /dev/sda3.
Hope it helps
Nagu SR
Frequent Advisor

Re: Extending root filesystem in RHEL3

Hi,

Server's filesystems are like this. Is it possible to extend root filesys (/dev/sda3)

df -h

/dev/sda3 2.3G 2.2G 32M 99% /
/dev/sda1 99M 27M 68M 28% /boot
/dev/sda6 1012M 88M 874M 10% /home
none 1.8G 0 1.8G 0% /dev/shm
/dev/sda5 1012M 706M 255M 74% /tmp

fdisk -l

Device Boot Start End Blocks Id System
/dev/sda1 * 1 13 104391 83 Linux
/dev/sda2 14 204 1534207+ 82 Linux swap
/dev/sda3 205 502 2393685 83 Linux
/dev/sda4 503 764 2104515 5 Extended
/dev/sda5 503 633 1052226 83 Linux
/dev/sda6 634 764 1052226 83 Linux

I will be very grateful for your help
Vitaly Karasik_1
Honored Contributor

Re: Extending root filesystem in RHEL3

You have 2 ways to deal with your problem:
- resize your "/" (root) partition using one of suggested tools
- create new partition for "/usr", so your "/" will be smaller