You are not logged in.
Pages: 1
Hi, I'm building a new hone NAS to run Arch Linux, and I've been thinking about what the best way to partition my drive would be. I would like to have a partition for all system files (/home, /etc, /usr ...) as well as a separate, encrypted partition for storing data. My main concern is the threat of a potential burglar accessing my data. Because I travel frequently, I also need the NAS to be able to reboot to a state where I can remotely access it via SSH and mount the encrypted partition.
I've done some research into partitioning layouts, and fstab, but I'd appreciate any tips or advice.
Thank you.
Last edited by AtmIgn (2025-06-01 00:40:26)
Offline
Hi.
Partitioning is probably straight forward if you only use one disk:
GPT ->
-> Fat32 (EFI)
-> LVM ->
-> Root (/)
-> LUKS ->
-> Data (/srv)
If you want the whole system encrypted, there is dropbear. But if only the data is encrypted you should be able to log in per SSH and have a script that unlocks and mounts your data-partition (and starts the samba/nfs service).
Offline
Thank you for the Dropbear suggestion
Offline
Pages: 1