Create partition for SSD on FreeBSD:
Install lsblk if you have not all ready:
pkg install lsblk
Find external drive through lsblk, it is usually da0:
lsblk
Create GPT partition table on external drive da0:
gpart create -s gpt da0
Create ufs file system on da0, size 460 GB and name is called "NAS":
gpart add -t freebsd-ufs -l NAS -s 460G da0
This enable trim on our new partition:
newfs -U -t /dev/da0p1
Then mount:
mount /dev/da0p1 /NAS
-------------------------------
Source | Date: February 22nd, 2021
Back