Operating System - Linux
1825768 Members
1967 Online
109687 Solutions
New Discussion

Increasing the / partition space in LINUX

 
Ranjith M
Advisor

Increasing the / partition space in LINUX

Hello All,

If i need to increase the size of / partition in RHEL 4 is that possible.

- If i have a / native partition and i create a new LVM partition /dev/hada7 can i add that created space to / to extend the space?
6 REPLIES 6
Ivan Ferreira
Honored Contributor

Re: Increasing the / partition space in LINUX

You can extend the / file system only if it is over LVM devices. If / is a simple partition, you cannot extend it, you should find a way to move data from / to a mounted file system.
Por que hacerlo dificil si es posible hacerlo facil? - Why do it the hard way, when you can do it the easy way?
Ranjith M
Advisor

Re: Increasing the / partition space in LINUX

Thanks for above reply.

So there is no way to extend linux partition unless they are a part of logical volume??

And any ways to extend swap partition in Linux

Thanks and Regards,

Ranjith
Ivan Ferreira
Honored Contributor

Re: Increasing the / partition space in LINUX

Instead of extend the swap partition, you can add multiple swap partitions, all of them will be used.
Por que hacerlo dificil si es posible hacerlo facil? - Why do it the hard way, when you can do it the easy way?
Venilton Junior
Valued Contributor

Re: Increasing the / partition space in LINUX

As Ivan answerede before, u can add multiple swap partitions.

But instead of that, try to add more memory to your server.

If you're using LVM, you can do an online extension of your LV.

If your / isn't running with LVM, you can extend it only in offline mode.

regards.
RTFM
Ranjith M
Advisor

Re: Increasing the / partition space in LINUX

Hi,

Could you explain what you mean by extending in offline mode.

Thanks and Regards,

Ranjith
palaniappan.sp
Regular Advisor

Re: Increasing the / partition space in LINUX

Hi,
Normally u can't increase the root filesystem in a system, if u have not configured the LVM during the installation itself.
But i think there is one possibility of extending the root filesystem w/o LVM thru Veriats Volume Manager is possible, but i have not tried yet.

regds
Palani

Everything is Possible and Anything is Feasible if u try