Categories: LinuxPersonal

Reclaim Hardisk space on /

Once in a while , whenever I checked my disk space usage ..

for / it goes up to 90% and left barely 1Gb out of 19Gb..

so whenever I did a yum install <bigthing>

it complain space insufficient..

it was allocated 19Gb for / .. and the rest goes to /home..

19Gb would be doubled of what being needed to do a full package install of CentOS.. as it only require upto 8-9 Gb..
was thinking to re-format this whole thing.. but wait.. may be it just time to do some clean up..
goes into runlevel 3 with

telinit 3

remove all temporary file

rm -rf /tmp/*
rm -rf /var/tmp/*

remove old kernel and kernel-devel

rpm -q kernel
yum remove kernel-<old-version-number>

and recheck the disk usage..

Hmm..

then it freed up to 7-8 Gb..

Seem back to normal.. don’t need to re-format.. Yay~

Namran Hussin

Leave a Comment
Share
Published by
Namran Hussin

Recent Posts

How you can speak with clarity and influence

Here are five key communication skills that help you speak with clarity and influence: Speak…

8 months ago

? Man360 Academy Q&A Session Video Access – Empower Your Masculine Growth Journey

Are you ready to unlock your full potential as a man?Discover powerful insights, real-life transformations,…

1 year ago

A note to remember

One day we will set aside one whole day to review the whole lesson we…

1 year ago

Dev Fest KL 2024

Last weekend, 07/12/2024 I managed to join Dev Fest Kuala Lumpur 2024, organized by Google…

1 year ago

TIPS BACAAN AL-QURAN

TIPS BACAAN AL-QURANOleh: Dr. Muhd al-Muhaysni.1. Jangan engkau berikan (fokus membaca) al-Quran pada lebihan waktumu…

2 years ago

Selawat 300 ribu kali

Selawat yang ringkas, yang mana apabila kamu membacanya satu kali sebanding 100 ribu kali, jadi…

2 years ago