LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - General (https://www.linuxquestions.org/questions/linux-general-1/)
-   -   /usr filesystem increased in FC5 (https://www.linuxquestions.org/questions/linux-general-1/usr-filesystem-increased-in-fc5-522711/)

manish_meet_in 01-25-2007 10:20 AM

/usr filesystem increased in FC5
 
Hi All

I installed FC5 in PC and i alloacted 6gb to /usr filesystem but after installed in PC the filesystem got full about 90%. I checked FS there is no other file which i can removed.

Can you pls let me know how can i increase or extend /usr file systems. While extend/increase do i have to unmount /usr FS.

Thankx
Manish

Matir 01-25-2007 11:05 AM

Is your system partitioned normally or is LVM being used? If LVM, it's easy to expand LVM volumes.

exvor 01-25-2007 11:21 AM

If you have free space around the /usr partition you can use cfdisk along with resize2fs. Reading around on the man page for resize2fs you can get a good idea how to resize things.

basically it works like this
e2fsck -f /dev/<partition>
cfdisk to remove the partition
cfdisk to make the larger partition with the same starting block
resize2fs to expand the file system to the new partition size
e2fsck again to check for errors


Note that you can use resize2fs to shrink them as well but thats more complicated.


All times are GMT -5. The time now is 03:56 AM.