3

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)

karel
  • 114,770
  • You should edit your question adding your ubuntu sistem and your hardware details and it would be helpful if you type in a terminal " ps ux " and c0py paste the output... – ft18 Nov 10 '18 at 03:23
  • 2
    Just curious what the ps ux would help with. It seems a bit long to post. Are there things in particular you're looking for? – mkinsocal Nov 10 '18 at 04:12
  • 1
  • Open the terminal and run 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?
  • – karel Nov 10 '18 at 04:14
  • 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)

    – mkinsocal Nov 10 '18 at 04:19
  • Sorry - that, didn't paste very well...For the disk usage analyzer, it gives me similar results -- "/" is 7.9 GB, "usr" is 4.2, "var" is 1.8 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 8 GB – mkinsocal Nov 10 '18 at 04:32
  • 2
  • 1
    Can you please post the output of df -h? Which tool is telling you that used space is 92 GB? – fra-san Nov 10 '18 at 08:47
  • He already did use one of those tools. Disk Usage Analyzer is the same as baobab, but it's called Disk Usage Analyzer in Ubuntu. – karel Nov 10 '18 at 08:59
  • Yes, sorry – slipped my attention :\ – karlsebal Nov 10 '18 at 09:02
  • 1
    When folks ask you to "post" something, they are asking for the complete output, not a summary. And they are asking for you to edit your question to include the formatted output, not buried in commnents. Sorry that wasn't clear to you. Both karel and fra-san have asked for (complete) output that would likely have answered the question many hours ago. – user535733 Nov 10 '18 at 10:51
  • Sorry I didn’t understand. They asked me to “comment” so I assumed that meant place in comments. Now I know. I did paste the “complete” output. I’m not sure what I was missing. The other result was a pie chart which is why I summarized the results. Should I have pasted the pie chart instead? Fra-san asked after I went to bed. Sorry if this delayed things by “many hours”. I’ll post df -h when I get home, but when I did it previously it gave me similar results. – mkinsocal Nov 10 '18 at 18:29
  • 1
    @N0rbert It's not a duplicate of that question. It turns out that the problem was caused by Veracrypt. – karel Nov 11 '18 at 10:12