1

I have 18.04 installed with root partition on a 128gb SSD and home on a 2tb hard drive. Looking at Nautilus to check on my free space (for no real reason, I was just curious) it says my SSD is using 106.5gb with 123gb available. I figured that must be including my home partition or something.

I just checked each folder inside / and the /proc folder, according to Nautilus, is 150.7TB. I don't even have that much storage in the entire system. Right-clicking the root drive in the title bar and choosing properties shows that the disk is actually using 10gb. My secondary drive does not show up in Nautilus, but I can just check the properties on my home folder to approximate that.

Both drives are encrypted with LUKS/LVM (whatever the Ubuntu installer used), with the secondary drive decrypting with a keyfile on the main drive.

I just want to know how this happens. It doesn't seem to be a problem that needs fixing, but maybe something is actually wrong. I used this answer to set up the encryption if that helps.

Zanna
  • 72,312
Miqued
  • 65
  • 1
  • 2
  • 9

1 Answers1

2

/proc is a virtual filesystem, it does not occupy real disk space as ext4 does for example.

A simplistic answer to your query, i.e. without going too much into the complexity of procfs, is that within /proc are core files, and they represent the virtual address space of the processes, which are as large as the address space your CPU can address. And you have multiple processes in a running system.

In short, ignore the claimed size of the /proc directory.

Zanna
  • 72,312