this post was submitted on 10 Aug 2023
4 points (100.0% liked)
Linux Questions
1068 readers
23 users here now
Linux questions Rules (in addition of the Lemmy.zip rules)
- stay on topic
- be nice (no name calling)
- do not post long blocks of text such as logs
- do not delete your posts
- only post questions (no information posts)
Tips for giving and receiving help
- be as clear and specific
- say thank you if a solution works
- verify your solutions before posting them as facts.
Any rule violations will result in disciplinary actions
founded 1 year ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
If a mountpoint wasn't an empty directory before mounting another filesystem on it, the contents of that mountpoint will be shadowed by the contents of the other filesystem. So, if you mount other filesystems onto the one in question, this could cause your discrepancy, since the files are still there, just not present in the virtual filesystem tree. It's a common practice to set your mointpoints to immutable after creating them for this reason.
Somewhat more uncommonly, ext[234] allow the administrator to reserve a number of blocks for use by, in most cases, root — maybe you tune2fs'd your filesystem with some crazy value?
Thank you so much for your helpful response! 💜
If I understand you correctly, then my applications would be looking at the /home folder on the root filesystem, which is <100 GB, unable to see the larger partition mounted in /home underneath it. I can check by mounting the root fs but not the home partition from a live iso and checking for a /home in the contents of the root fs.
If I find what I expect there, the following should fix it:
Only thing I might have to check if it does not work is if this /home mount will then happen on booting the actual OS.
The second scenario does not ring a bell, but I'll keep it in mind in case this does not work.
I would unmount /home and verify that the directory is empty.
On a unrelated note I have been using btrfs with subvolumes and it works pretty well
Unfortunately, /home/myusername really does live on the big partition. When I mount root only (from the live ISO, mountedroot/home is empty @[email protected] @[email protected]
I give up. I am nuking this partition and in the process hopefully resetting what is wrong with it, then dropping the 30GB of files back in from the backup.
That's probably the right answer