LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   i want to increase my root partition size (https://www.linuxquestions.org/questions/linux-newbie-8/i-want-to-increase-my-root-partition-size-881564/)

singhjc 05-19-2011 04:56 AM

i want to increase my root partition size
 
Hello buddies,


Good noon


I m using redhat linux 4.4 my root partition has become full i want to be increase it is there any tools or command to increase partition without any damage

please help what i have to do next .


thanks

Fracker 05-19-2011 05:08 AM

You might need to boot the system from LiveCD/DVD

command: 'man resize2fs'

TobiSGD 05-19-2011 05:43 AM

resize2fs is for resizing filesystems, not partitions. But Fracker is right, start from a live CD that contains the GParted program and resize from there.

In any case, do a backup before doing anything with your partitions.

16pide 05-19-2011 07:34 AM

Something else you may do is a bit of cleaning of that partition.

Here is what i run for this to diagnose what is taking up space:

du -xak /|sort -n|tail -100

the last lines are the biggest folders or files.

You may well find that there is a redhat iso sitting in a directory you forgot about, etc ...

Also, you can move some data to another partition, and replace with a soft link.

Then if that's not enough, parted on a live CD is going to be your friend


All times are GMT -5. The time now is 01:02 PM.