You are not logged in.
Pages: 1
Free space in my root partition is continually reducing without any apparent reason. It 'll reduce 2 to 20 MiB every reboot and I don't know why. /var is on a separate partition so logs aren't the ones jamming up. ncdu -x on / shows only 6.15 GB usage of the 10GB partition (although ncdu itself reports a wrong part size of 6.1G).
When it gets 100% full, I can hardly use only the linux terminal, still it 'll hang a lot for disk i/o and becomes unusable.
Here're a few outputs:
df -h
Filesystem Size Used Avail Use% Mounted on
rootfs 9.2G 8.5G 263M 98% /
dev 623M 0 623M 0% /dev
run 626M 860K 625M 1% /run
/dev/sda6 9.2G 8.5G 263M 98% /
tmpfs 626M 0 626M 0% /dev/shm
tmpfs 626M 0 626M 0% /sys/fs/cgroup
tmpfs 626M 12K 626M 1% /tmp
/dev/sda19 11G 6.5G 3.3G 67% /mnt/lfs
/dev/sda9 1.2G 67M 1005M 7% /boot
/dev/sda8 603M 243M 329M 43% /var
/dev/sda7 3.7G 3.3G 249M 94% /home
/dev/sda18 115G 114G 1.1G 100% /media/Entertainment
/dev/sda5 15G 8.9G 5.8G 61% /media/books.docs.fun
/dev/sda10 59G 56G 2.7G 96% /media/softwares
/dev/sda12 59G 57G 2.4G 97% /media/E2
/dev/sda13 59G 58G 1.2G 98% /media/New_Free_Drive
/dev/sda15 4.6G 2.2G 2.2G 50% /mnt/ubupartsncdu -x /
--- / ------------------------------------------------------------------------
4.3GiB [##########] /usr
. 2.2GiB [##### ] /opt
15.9MiB [ ] /ftpserv
10.5MiB [ ] /sbin
. 8.4MiB [ ] /etc
3.6MiB [ ] /bin
48.0KiB [ ] /mnt
16.0KiB [ ] /srv
! 16.0KiB [ ] /lost+found
12.0KiB [ ] /media
! 4.0KiB [ ] /root
@ 0.0 B [ ] tools
@ 0.0 B [ ] lib64
@ 0.0 B [ ] lib
> 0.0 B [ ] /var
> 0.0 B [ ] /tmp
> 0.0 B [ ] /sys
> 0.0 B [ ] /run
> 0.0 B [ ] /proc
> 0.0 B [ ] /home
> 0.0 B [ ] /dev
> 0.0 B [ ] /bootfstab:
# <file system> <dir> <type> <options> <dump> <pass>
tmpfs /tmp tmpfs nodev,nosuid 0 0
/dev/sda16 swap swap defaults 0 0
/dev/sda6 / ext4 defaults 0 1
/dev/sda7 /home ext4 defaults 0 2
/dev/sda8 /var ext4 defaults 0 2
/dev/sda9 /boot ext4 defaults 0 2
/dev/sda10 /media/softwares ntfs noauto,x-systemd.automount,rw,nosuid,exec,uid=1000,gid=1000 0 0
/dev/sda11 /media/games ntfs noauto,x-systemd.automount,rw,nosuid,exec,uid=1000,gid=1000 0 0
/dev/sda12 /media/E2 ntfs noauto,x-systemd.automount,rw,nosuid,exec,uid=1000,gid=1000 0 0
/dev/sda13 /media/New_Free_Drive ntfs noauto,x-systemd.automount,rw,nosuid,exec,uid=1000,gid=1000 0 0
/dev/sda18 /media/Entertainment ntfs noauto,x-systemd.automount,rw,nosuid,exec,uid=1000,gid=1000 0 0
/dev/sda5 /media/books.docs.fun ntfs noauto,x-systemd.automount,rw,nosuid,exec,uid=1000,gid=1000 0 0
#/dev/sda19 /mnt/lfs ext3 exec,users 0 0
/dev/sda19 /mnt/lfs ext3 rw,relatime,data=ordered,users 0 0
#removable drives
/dev/sdb1 /mnt/usb vfat exec,users,noauto 0 0
/dev/sdb2 /mnt/usb2 ext3 exec,users,noauto 0 0Offline
It's pretty obvious, it's /usr and /opt. If you have to separate /usr from / then you need to add usr fsck and shutdown to your /etc/mkinitcpio.conf.
It's not unheard of to also separate /opt, /usr is common to separate it because it is the biggest single filesystem. Where you are at is the simplest time to create a separate /usr assuming you haven't partitioned all of the space yet. I'd start with 20GB or more make it plenty big so you don't have to resize it later.
I may have to CONSOLE you about your usage of ridiculously easy graphical interfaces...
Look ma, no mouse.
Offline
Okay, but /usr and /opt still make up only 6.5G of the 9.2G available. Where's the rest (I also checked the respective sizes from pcmanfm)?
And you probably overlooked the problem that its getting filled without any reason. I don't have to install anything to make free space reduce. Every reboot it would be lower by 2 to 20 MiB and thats worrying me a bit.
Offline
du (and associated tools) aren't as accurate as you might think. They can only report on visible files. So if you don't have access to certain directories, or you have another filesystem mounted over the top of a directory, they won't be able to account for the files in these directories. Try this:
# mkdir /mnt/root
# mount --bind / /mnt/root
# du -hd 1 /mnt/root | sort -hIt should give a more accurate reading.
Sakura:-
Mobo: MSI MAG X570S TORPEDO MAX // Processor: AMD Ryzen 9 5950X @4.9GHz // GFX: AMD Radeon RX 5700 XT // RAM: 32GB (4x 8GB) Corsair DDR4 (@ 3000MHz) // Storage: 1x 3TB HDD, 6x 1TB SSD, 2x 120GB SSD, 1x 275GB M2 SSD
Making lemonade from lemons since 2015.
Offline
@WorMzy
Thanks. That way it shows 6.6G of usage, although since the last time I posted, free space available have reduced as usual .
EDIT:
I checked with iotop, and most disk i/o were by jbd2. But not sure if jbd really is the reason..
Last edited by debdj (2012-12-02 07:19:21)
Offline
Pages: 1