You are not logged in.
Pages: 1
Hello i use devuan daedalus. My partition scheme has 4 partitions 1. for bootloader, 1 for swap, 1 for root and 1 for /home.
My ssd is almost 500gb (patriot ssd if that matters)
my / is now over 90+ big and i cannot understand why since i only use minimal applications for certain reasons.
df -h shows:
Filesystem Size Used Avail Use% Mounted on
udev 6.8G 0 6.8G 0% /dev
tmpfs 1.4G 1.3M 1.4G 1% /run
/dev/sda2 28G 25G 1.1G 96% /
tmpfs 5.0M 16K 5.0M 1% /run/lock
tmpfs 3.0G 216K 3.0G 1% /dev/shm
/dev/sda1 511M 5.9M 506M 2% /boot/efi
/dev/sda4 440G 25G 393G 6% /home
cgroup_root 10M 0 10M 0% /sys/fs/cgroup
tmpfs 1.4G 2.5M 1.4G 1% /run/user/1000
/dev/sdc1 15G 12G 2.6G 83% /media/rhtoras/Ventoy
i examined everything via du and df commands, then tried gui (mate and ncdu) and nothing...
fyi
find . -maxdepth 1 -mindepth 1 -type d -exec du -sh {} \; | sort -rh | head
leads to...
18G ./Downloads
2.3G ./Documents
1.7G ./.cache
1.5G ./ekpompes
516M ./.mozilla
396M ./.local
185M ./.config
51M ./Videos
19M ./Pictures
596K ./.ssr
Offline
This is why having separate partitions for stuff like /var, /usr and /tmp are advised. Certainly I do adhere to this
Your Downloads folder is huge and the key reason why your / has filled up. I take it you downloaded a lot so clearing that one out will release a decent amount of storage.
Offline
This is why having separate partitions for stuff like /var, /usr and /tmp are advised. Certainly I do adhere to this
Your Downloads folder is huge and the key reason why your / has filled up. I take it you downloaded a lot so clearing that one out will release a decent amount of storage.
well in most cases seperate partition for /var /usr and /tmp won't be a thing to consider
but i have a seperate /home partition which is around 440 gb and i am using only 6% of it
why my / is full i don't get it and i think i know what i am doing...
generally / is where things like programmes are stored while /home is where personall folders are stored
you are saying i have to create a bigger / partition rather than /home partition ? I don't get it but i would like to see what you are talking about...
thanks!
Offline
Well, in short: if a folder doesn't have its own partition, it's hanging under the / in the tree. Which means its data is stored on the / partition. So in your case, /var, /usr and /tmp are filling up the / partition if a rogue process continues to write data to it. Frequently, log files (/var/log) can become huge and thus clog up the system. Other sources of trouble exist as well, like malware etc. That's for you to figure out
Tip: the ls command has info on size of the directory:
ls -l /var
ls -l /usr
ls -l /tmp
Probably best results as root.
Last edited by Dutch_Master (2023-10-23 22:35:28)
Offline
I used to have a /boot partition, but with UEFI it was difficult to manage the size (it only filled up once but that was enough),
so I stopped worrying about /boot file space. (The bios partition only requires 100Mb)
your / is 28Gb... I reserve 28Gb just for /var. here's the rest...
df -h
glenn@GamesBox ~ $ df -h
Filesystem Size Used Avail Use% Mounted on
udev 7.8G 0 7.8G 0% /dev
tmpfs 1.6G 1.4M 1.6G 1% /run
/dev/sda2 22G 1.3G 19G 7% /
/dev/sda6 17G 9.6G 5.8G 63% /usr
tmpfs 5.0M 16K 5.0M 1% /run/lock
tmpfs 3.7G 0 3.7G 0% /dev/shm
/dev/sda7 865G 121G 700G 15% /home
/dev/sdc6 58G 18G 38G 32% /home/glenn/local/archive
/dev/sdc2 295G 208G 73G 75% /home/glenn/local/data
/dev/sdc5 472G 119G 329G 27% /home/glenn/local/free
/dev/sdc7 711G 50G 625G 8% /home/glenn/local/media/circus
/dev/sdc9 480G 255G 201G 56% /home/glenn/local/media/movies
/dev/sdc8 961G 103G 809G 12% /home/glenn/local/media/music
/dev/sdc1 207G 12G 185G 6% /home/glenn/local/other
/dev/sdc3 480G 58G 398G 13% /home/glenn/local/spare
/dev/sda5 2.9G 17M 2.7G 1% /tmp
/dev/sda3 8.1G 1.6G 6.1G 21% /var
/dev/loop0 3.7G 3.7G 0 100% /home/glenn/local/archive/debs/iso/devuan_daedalus_5.0.1_i386_desktop
/dev/loop1 3.8G 3.8G 0 100% /home/glenn/local/archive/debs/iso/devuan_daedalus_5.0.1_amd64_desktop
cgroup_root 10M 0 10M 0% /sys/fs/cgroup
tmpfs 1.6G 12K 1.6G 1% /run/user/1000
glenn@GamesBox ~ $
Some places you can check for swelling...
/tmp/
/var/log/
/var/cache/apt/archives/
just my two cents worth. :-)
pic from 1993, new guitar day.
Offline
Well, in short: if a folder doesn't have its own partition, it's hanging under the / in the tree. Which means its data is stored on the / partition. So in your case, /var, /usr and /tmp are filling up the / partition if a rogue process continues to write data to it. Frequently, log files (/var/log) can become huge and thus clog up the system. Other sources of trouble exist as well, like malware etc. That's for you to figure out
Tip: the ls command has info on size of the directory:
ls -l /var ls -l /usr ls -l /tmp
Probably best results as root.
Thanks...
What i was doing is i added too much iso's on /var/lib/libvirt/images
I guess i had to add more gb on / though...
Offline
Pages: 1