At least xMB needed on the / filesystem.

asked 2019-01-03 10:11:46 -0600

nothingspecial gravatar image

I know my question is fairly similar to this, but I did not find my answer there.

Any dnf upgrade/update/install aborts midway saying: At least xMB needed on the / filesystem.

Output of df -h is Click me

It is obvious that my /dev/mapper/fedora_localhost--live-root/ is full. Is there a way to resize that partition and give it extra space, or if it is necessary, i can reinstall the system again, but i want to know is it ok, and if yes how to do it, to put everything on one partition (including home folder).

edit retag flag offensive close merge delete



Run sudo du -ah /var /root | sort -h and look for big files. The big files will be listed at the end.

villykruse gravatar imagevillykruse ( 2019-01-03 11:37:54 -0600 )edit

I think your question would be better asked as "How do I resize my / filesystem?" or "How do I clean up my / filesystem?" Relevant details would also include what filesystem formats are you using, and where would the additional space be coming from. (are you shrinking /home or adding a drive?)

Asked the way you asked it, the answer is "Probably. It's fine by me. If you really want, sure, but I like protecting / from /home and /var, and /boot from everything else."

Ed Grimm gravatar imageEd Grimm ( 2019-01-03 12:38:26 -0600 )edit

i agree other comments vilykruse and Ed Grimm, clean your disk or check disk space.If you delete unnecessary files or use hard disk capacity, the problem will be solved.

simmon gravatar imagesimmon ( 2019-01-06 23:50:16 -0600 )edit