I've tried a number of different ways of tracking down what's using the space on my SSD drive. I apologize in advance as I don't totally understand Linux and filesystems.
I have three drives. The SSD is 120GB and intended to have the operating system and programs. Some is partitioned to swap, so of the 112GB on the main partition only has 20G available.
here is df -h output
$ df -h Filesystem Size Used Avail Use% Mounted on udev 3.9G 0 3.9G 0% /dev tmpfs 788M 82M 706M 11% /run /dev/sda1 103G 78G 20G 81% / tmpfs 3.9G 28M 3.9G 1% /dev/shm tmpfs 5.0M 4.0K 5.0M 1% /run/lock tmpfs 3.9G 0 3.9G 0% /sys/fs/cgroup /dev/sdb1 3.6T 327G 3.1T 10% /media/Media /dev/sdc1 3.7T 2.5T 1.2T 68% /media/Data tmpfs 788M 72K 788M 1% /run/user/1000 /dev/mapper/veracrypt7 2.0T 451G 1.5T 24% /media/veracrypt7
I can't begin to find what's using the 92GB. I tried several du
commands mentioned in other posts, and the 2 largest directories are only 4GB (/usr
) and 2GB (/var
). Nothing else even comes close in size. I tried ncdu
and it also did not find anything of substantial size on that drive.
My other 2 drives are 4TB each and house my media / backups / Plex / Nextcloud. That's all I use this system for.
Model: ATA KINGSTON SA400S3 (scsi) Disk /dev/sda: 120GB Sector size (logical/physical): 512B/512B Partition Table: msdos Disk Flags: Number Start End Size Type File system Flags 1 1049kB 112GB 112GB primary ext4 boot 2 112GB 120GB 8475MB extended 5 112GB 120GB 8475MB logical linux-swap(v1)
The Disk Usage Analyzer application gives me similar results - "/" is 7.9GB, /usr
is 4.2GB, /var
is 1.8GB, and it gets smaller from there. It just doesn't add up, which is frustrating. It does say error opening directory '/etc/ssl/private':Permission denied.
As for hibernation, I have no idea. I've never enabled it. Is there a way to check? RAM is 8GB
If anyone can help me find what's using the mystery 86GB I would appreciate it. When answering please remember that I know next to nothing!
System: Ubuntu 16.04
Kingston 120GB SSD
WD 4TB hard drive (Backup)
WD 4TB hard drive (Media)
sudo parted -l
to show all the partitions that Ubuntu can see. Please comment about the results. 2. Open the built-in Disk Usage Analyzer by clicking on its icon in the Dash and click on the ext4 partition. Then wait a few minutes for Disk Usage Analyzer to make a pie chart showing what is taking up the remainder of the used space on the 506GB ext4 partition. 3. Is hibernation enabled? 4. How much RAM is in your computer?df -h
? Which tool is telling you that used space is 92 GB?