The du command reports a total size of 276G for my /var/lib/docker. However, the df command says that the actual size of the device where / is mounted is just 219G.
Filesystem Size Used Avail Use% Mounted on
/dev/sdb2 219G 185G 24G 89% /
How is it possible to have a directory whose size is higher than the reported size of the device it is mounted on? I can understand this.
df /var/lib/docker– Jaromanda X Jul 31 '23 at 08:33/dev/sdb2 219G 185G 24G 89% /– hlfernandez Jul 31 '23 at 08:35/var/lib/dockeris not a different disk/partition :p – Jaromanda X Jul 31 '23 at 08:37The full
– hlfernandez Jul 31 '23 at 08:46dfjust says that/dev/sdb2is mounted on/and the other disk (/dev/sda1) is mounted on/home. Therefore I assume that/var/lib/dockermust be mounted on/dev/sdb2.How do I check that?you just confirmed that it's not what I thought, so no need to "check" – Jaromanda X Jul 31 '23 at 08:50