F5F Stay Refreshed Hardware Desktop Ubuntu 24.04 has a full filesystem root directory.

Ubuntu 24.04 has a full filesystem root directory.

Ubuntu 24.04 has a full filesystem root directory.

M
MECrageman
Member
180
02-24-2021, 05:59 AM
#1
Hello everyone, I just set up the latest Ubuntu 24.04 yesterday. I made a 50GB root drive, a 10GB swap space, and a 400GB home drive. After installing my apps, I encountered a warning that the root filesystem is full. Upon checking, the "sys" directory on the root partition shows 35GB used. Further inspection reveals files resource1_wc and resource1 under /sys/devices/pci0000:00/... both taking up 17.2GB. Is this typical? If not, what steps should I take to resolve this issue? My system is a Lenovo Thinkpad P1 Gen6 with a dedicated NVIDIA GPU, and Ubuntu is dual-booted with Windows 11.
M
MECrageman
02-24-2021, 05:59 AM #1

Hello everyone, I just set up the latest Ubuntu 24.04 yesterday. I made a 50GB root drive, a 10GB swap space, and a 400GB home drive. After installing my apps, I encountered a warning that the root filesystem is full. Upon checking, the "sys" directory on the root partition shows 35GB used. Further inspection reveals files resource1_wc and resource1 under /sys/devices/pci0000:00/... both taking up 17.2GB. Is this typical? If not, what steps should I take to resolve this issue? My system is a Lenovo Thinkpad P1 Gen6 with a dedicated NVIDIA GPU, and Ubuntu is dual-booted with Windows 11.

D
DarKLeqend
Junior Member
19
02-24-2021, 02:54 PM
#2
The /sys directory acts as a virtual folder for the kernel and shouldn’t take up much space. Checking sudo du -hd0 /sys should confirm its size. It’s possible your overall disk usage comes from another location, as 50GB isn’t excessive for the root filesystem. I’d like to see what sudo du -hd0 /var shows too.
D
DarKLeqend
02-24-2021, 02:54 PM #2

The /sys directory acts as a virtual folder for the kernel and shouldn’t take up much space. Checking sudo du -hd0 /sys should confirm its size. It’s possible your overall disk usage comes from another location, as 50GB isn’t excessive for the root filesystem. I’d like to see what sudo du -hd0 /var shows too.

J
Jae2605
Member
203
03-02-2021, 05:16 AM
#3
Consider increasing the root filesystem size based on your needs.
J
Jae2605
03-02-2021, 05:16 AM #3

Consider increasing the root filesystem size based on your needs.

P
PandaBeertje
Junior Member
19
03-02-2021, 10:47 AM
#4
The tool displays only a portion of the storage consumption, while the remaining data resides elsewhere in the system. Updated July 19, 2024 by Unstoppable_RTR
P
PandaBeertje
03-02-2021, 10:47 AM #4

The tool displays only a portion of the storage consumption, while the remaining data resides elsewhere in the system. Updated July 19, 2024 by Unstoppable_RTR

W
walmartmic
Member
210
03-02-2021, 03:15 PM
#5
The issue centers on /var, where software will be installed and data stored. Determining its size is tricky because it depends on your intended use and package sources. I’d likely target a minimum of 120G, as requirements have grown with container tools like flatpak and snap. The bigger concern, though, is whether a separate home partition is necessary. Beyond keeping personal files portable, other configuration data stored there isn’t always reliable. Running `sudo du -hd1 /var` will show its current size and origin. As for Disk Usage Analyzer (baobab), I’m not sure why it’s giving such a reading.
W
walmartmic
03-02-2021, 03:15 PM #5

The issue centers on /var, where software will be installed and data stored. Determining its size is tricky because it depends on your intended use and package sources. I’d likely target a minimum of 120G, as requirements have grown with container tools like flatpak and snap. The bigger concern, though, is whether a separate home partition is necessary. Beyond keeping personal files portable, other configuration data stored there isn’t always reliable. Running `sudo du -hd1 /var` will show its current size and origin. As for Disk Usage Analyzer (baobab), I’m not sure why it’s giving such a reading.

G
gavcanz32
Member
140
03-05-2021, 01:39 AM
#6
Thanks! I’ll make the root bigger or reinstall without a separate partition. I’m gradually getting the Linux filesystem.
G
gavcanz32
03-05-2021, 01:39 AM #6

Thanks! I’ll make the root bigger or reinstall without a separate partition. I’m gradually getting the Linux filesystem.