[SOLVED] Wanting to add a drive, do I use fstab or systemd?

EOC_Jason

New Member
Apr 16, 2022
4
0
1
I'm not really sure what would be the correct / preferred method so I figured I would ask here.

Proxmox currently boots to a ZFS pool, so the only thing in my /etc/fstab file is a line for /proc.

I have a SSD with ext4 partition that has existing data on it that I'm wanting to put in this machine.

I've never created a systemd mount, only via fstab. I didn't know if there would be any sort of issue with mounting / startup order of everything if I used fstab.

What should I do?

Thanks!
 
In general fstab should work fine. If you encounter problems you can always create a systemd service later to be able to define when exacltly to mount it.
 
Just a follow up. Adding the drive to /etc/fstab worked fine. I didn't see any reason to run the script to convert it to systemd. Had to manually enable the fstrim timer for the SSD and all that jazz, but that's not surprising.