Ask Your Question
2

Root partition full in Fedora 19

asked 2013-09-23 10:22:26 -0500

corpol gravatar image

updated 2013-09-24 06:51:23 -0500

FranciscoD_ gravatar image

My 54 GB root partition is full already. I didn't install many applications, but when I log in I receive a message telling me that I have 0 bytes left.

My home partition is just using 10 GB out of 240.

I'm using Fedora 19 in a new netbook ASUS with 2 GB in RAM and HDD 320 GB

When installing I selected the automatic partition assignment and used the whole disk for this OS, I erased windows.

Does anybody have a clue on this problem?

Thanks a lot

Carlos

edit retag flag offensive close merge delete

Comments

Could you add the output of lsblk? How best to ‘move’ some free space from /home to / depends a lot on the current partition layout, and whether LVM etc. are in use or not.

Gareth Jones gravatar imageGareth Jones ( 2013-09-23 10:36:37 -0500 )edit

Thx, I actually ran a disk analysis and the var/log is full, so now my question is how do I fix it? The output of lsblk is NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINT sda 8:0 0 298,1G 0 disk ├─sda1 8:1 0 200M 0 part /boot/efi ├─sda2 8:2 0 500M 0 part /boot └─sda3 8:3 0 297,4G 0 part ├─fedora-swap 253:0 0 3,8G 0 lvm [SWAP] ├─fedora-root 253:1 0 50G 0 lvm / └─fedora-home 253:2 0 243,6G 0 lvm /home

corpol gravatar imagecorpol ( 2013-09-23 19:24:37 -0500 )edit

I vote this up due to a "me-too" condition on a recently installed Fedora 20 system. I'm clueless after 2 days struggling to get back my usual free 23 GB within the 50 GB root partition. No big files anywhere... /var/log is pretty usual & decent. du tools, directory by directory exploration with ncdu hasn't help neither... I'm baffled. Ran fsck from a live CD... no effect.

Davinken gravatar imageDavinken ( 2014-05-23 18:29:43 -0500 )edit

4 Answers

Sort by » oldest newest most voted
2

answered 2013-09-23 11:31:27 -0500

nonamedotc gravatar image

updated 2013-09-23 11:33:02 -0500

It is very likely that it is full because of /var/log!

Try this as root -

cd /var
du -sh *

If you do notice that the size of /var/log is huge, you will know the cause of the problem.

edit flag offensive delete link more
0

answered 2013-09-24 02:01:50 -0500

abkumar gravatar image

find the bigger files under /var/log using the du -sh * command above and remove the bigger log files/directories.

edit flag offensive delete link more
0

answered 2014-06-04 10:59:30 -0500

Davinken gravatar image

I ran into this condition in a tricky way. My Fedora 20 system has an external (USB) hard disk, and a cron script runs every hour to make sure it is there so that some external systems can rsync to it. I check for the existence of the disk by testing if the lost+ound directory exists, and if not, try to mount it from its usual /dev/sdb location (there is some added intelligence to verify that the disk is under that port).

At some point, a external system ran a heavy rsync w/o the external disk being mounted.... it consumed all space under /mnt untill zero bytes were left... Then, the mount checker script ran as if nothing, and mounted the external disk on top of /mnt, effectively hiding the files underneath (more than 34 GB of fine grained contents).

Any du, df, find etc. command was uneffective in finding the offending files. When reaching /mnt they just explored the mounted external disk, which had plenty of free space and no big files, so was not a suspect.

Tired of this I booted from a live CD to investitage, and as the external disk was not mounted in this environment, it was piece of cake to find the culprit files under /mnt.

Surprisingly, the system kept working mostly normally for > 1 week with 0 bytes left under /

Hope this helps on similar situations...

edit flag offensive delete link more
0

answered 2014-06-04 17:44:23 -0500

williamjmorenor gravatar image

yum clean all

Can help to remove the RPM packages than yum download when you update your system

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

1 follower

Stats

Asked: 2013-09-23 10:22:26 -0500

Seen: 5,384 times

Last updated: Jun 04 '14