As TheFu mentioned everything is a file on Linux. You can create a 10GB file with dd and then turn it into a LUKS container via cryptsetup. It's not going to be as flexible as LVM but it's still possible.
After you create the dd file, you can mount the luks container, format it as ext3/ext4 and then mount the file system as /home/$USERNAME.
It isn't as easy to deal with, but it is still possible. If a user needs more space, you can either resize the image after unmounting it and then resize the file system after remounting it or do some lvm magic.
There are other ways to accomplish the same thing with different encryption tools, but the only one I've really used is LUKS for block level encryption.
Have a read through this page if you want more info on what is out there:
https://wiki.archlinux.org/title/Dat...mparison_table
I was using ext3 for years up until I tried out ext4 and stuck with it.I've used ext3 on all my systems for the past 14 years, since migrating to Linux from Windows, and I've never lost data, despite doing file wipes routinely. The only hard drives I've had fail was a new one from Dell that was so new that it couldn't have possibly been to disk wear (it was replaced under warranty a few months after I bought the computer) and a backup external one where the firmware, not the disk itself, failed. Wiping files on ext3 should mostly work, and plus I do it routinely for mostly everything, not just for sensitive files. I believe that no security system is perfect, but I also think that putting all your eggs into one basket (say, full-disk encryption with no ability to wipe individual files) is also a mistake.
Since I've never lost data to file corruption using ext3, plus I can wipe files, I don't see the advantage of ext4.
You can see some of the differences in the link below:
https://www.thegeekstuff.com/2011/05/ext2-ext3-ext4/
FWIW, I only really use ext4 for my /boot and root partitons nowadays. Everything else is running off ZFS, but I know that isn't for everyone as it is more complicated to set up and use.
Bookmarks