@ProfessorManhattan said in Unable to Mount NVME Hard Drive:
If I use this method, can I have a usable hard drive?
First, check out what ZFS is.
If your pfSense isn't using ZFS right : it is an install option, something you choose at the very beginning.
You could compare adding a drive to pfSense as adding a drive to a PC using some Windows OS :
It (the SATA port) has to be enabled in the BIOS) and the BIOS has to recognize it.
When booting your OS Windows, there will be NO D: or E: that represents the drive. You have to use the DiskManger thing to partition it. And format it using FAT32 or more recent scheme. You have to assign a drive letter.
Only then ... you ... can use that D:\ drive - Windows itself doesn't care about it, it lives on the C:\ and won't touch the new D:\ what so ever.
FreeBSD drives are mounted using the /etc/fstab file.
This file can be edited, and will get overwritten by pfSense whenever it sees fit (upgrades etc).
Consider using the EarlyShellCmd and have your drive mounted wherever you want. It will be something like /root/mybidrive/
The directory /root/mybidrive/ will be situated on your new big drive, not the original pfSense drive.
You could even do more dramatic things like placing the entire /var/ on another drive but you wind up modifying hardcoded settings and files. It not worth it ... Just re install pfSense on the newer, bigger drive.
Don't forget : it's a firewall , not some Desktop PC etc.