Using encrypted partition
by sniper8752 from LinuxQuestions.org on (#5CZQR)
I followed this tutorial to create an encrypted partition on my raid'd hard drive. https://averagelinuxuser.com/encrypt...rive-in-linux/
Here are the stats on it from fdisk -l:
Disk /dev/mapper/sda1: 931 GiB, 999635812352 bytes, 1952413696 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
I mount it, do a df . -h, and see another filesystem location instead. I did make sure to run mount /dev/mapper/sda1 /mnt/hd/ then change into that new directory. Here's the filesystem that gets listed: /dev/mapper/pve-root


Here are the stats on it from fdisk -l:
Disk /dev/mapper/sda1: 931 GiB, 999635812352 bytes, 1952413696 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
I mount it, do a df . -h, and see another filesystem location instead. I did make sure to run mount /dev/mapper/sda1 /mnt/hd/ then change into that new directory. Here's the filesystem that gets listed: /dev/mapper/pve-root