On Tue, Jul 28, David Haller wrote:
Hello,
On Mon, 27 Jul 2020, Michael Fischer wrote:
On Tue, Jul 28, David Haller wrote:
On Mon, 27 Jul 2020, Michael Fischer wrote: [..]
# mount | grep /sda6 /dev/sda6 on / type ext4 (rw,relatime,data=ordered)
You might have stuff on that partition and the mounted other partitions over it. To check do:
# mkdir /tmp/mnt # mount -o bind /dev/sda6 /tmp/mnt
check out /tmp/mnt/home, /tmp/mnt/boot{,/efi}, /tmp/mnt/run, ...
Why would these "over mounts" affect the filesystem space on /dev/sda6? What exactly would I be checking for?
Say you have your old home with a stash of 30GB forgotten DVD-images in the "home"-directory on the root-partition from before you created the sda7 partition, copied your stuff from your old home on sda6 to sda7 but forgot to clean up. So when you now mount /dev/sda7 in /home/ it gets mounted over the contents of the "home"-directory _on_ /dev/sda6. So, 30GB "disappear" from 'du' etc. but the space is still taken (as seen via df).
AHA! You were on the right track! (sample command is wrong though, -o bind takes a DIR - I used / - and not a device) I'm so used to seeing /data{1,2,3,4} as my user-mounted external drives that I skipped thinking something (29G worth, it turns out) could have been being masked by the "normal" usage. TIL. Thank you! Michael -- Michael Fischer michael@visv.net -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org