pfSense Support Subscription

Author Topic: ZFS or UFS for single SSD  (Read 343 times)

0 Members and 1 Guest are viewing this topic.

Offline wgstarks

  • Jr. Member
  • **
  • Posts: 41
  • Karma: +0/-0
    • View Profile
ZFS or UFS for single SSD
« on: November 30, 2017, 02:53:14 pm »
I just setup my pfSense box a few days ago. During the install process I was presented with an unexpected choice between ZFS and UFS. I chose one of the ZFS options initially but got an error that 2 drives were needed for this option so switched to UFS. Today I saw a post regarding trim support only in ZFS. Makes me wonder if I should reinstall and change the file format to ZFS if that is even possible with a single SSD?
pfSense vs 2.4.2_1
Box: Minisys IBOX-501 N10E
CPU: Intel Atom E3845
NIC: Intel WG82583 1000M x 4
RAM: 8GB

Offline droeders

  • Newbie
  • *
  • Posts: 9
  • Karma: +2/-0
    • View Profile
Re: ZFS or UFS for single SSD
« Reply #1 on: November 30, 2017, 02:56:09 pm »
Today I saw a post regarding trim support only in ZFS. Makes me wonder if I should reinstall and change the file format to ZFS if that is even possible with a single SSD?

I chose ZFS and am using it with a single SSD.  Can't remember the installation option...

Offline wgstarks

  • Jr. Member
  • **
  • Posts: 41
  • Karma: +0/-0
    • View Profile
Re: ZFS or UFS for single SSD
« Reply #2 on: November 30, 2017, 03:21:34 pm »
Today I saw a post regarding trim support only in ZFS. Makes me wonder if I should reinstall and change the file format to ZFS if that is even possible with a single SSD?

I chose ZFS and am using it with a single SSD.  Can't remember the installation option...
Thanks. At least I know itís possible now. Just leaves the question of which FS is recommended?
pfSense vs 2.4.2_1
Box: Minisys IBOX-501 N10E
CPU: Intel Atom E3845
NIC: Intel WG82583 1000M x 4
RAM: 8GB

Offline droeders

  • Newbie
  • *
  • Posts: 9
  • Karma: +2/-0
    • View Profile
Re: ZFS or UFS for single SSD
« Reply #3 on: November 30, 2017, 03:41:10 pm »
Thanks. At least I know itís possible now. Just leaves the question of which FS is recommended?

I don't know the recommendation (UFS was the only option in the past), but I don't think you can go wrong with either.

I chose ZFS since I've been using it for years on my FreeBSD machines.  It's a really amazing filesystem, and I would highly recommend it for storing data that you care about.

Offline Jailer

  • Sr. Member
  • ****
  • Posts: 399
  • Karma: +54/-2
    • View Profile
    • Bored Guy Blog
Re: ZFS or UFS for single SSD
« Reply #4 on: November 30, 2017, 06:08:18 pm »
TRIM is supported with either file system. If you're doing a fresh install and have enough memory then ZFS is the better choice.

Offline wgstarks

  • Jr. Member
  • **
  • Posts: 41
  • Karma: +0/-0
    • View Profile
Re: ZFS or UFS for single SSD
« Reply #5 on: November 30, 2017, 06:13:20 pm »
Well, that was easier and faster than I thought it would be. The only real problem was in picking the disk to stripe. Every time I selected the disk (I thought) I would get an error that a minimum of one disk must be selected. Turns out that you can't just highlight the disk and press enter/return. You have to use the space bar to actually mark the disk. Wish that was in the instructions somewhere.

Restore from backup was very fast, simple and painless though. No surprises there.
pfSense vs 2.4.2_1
Box: Minisys IBOX-501 N10E
CPU: Intel Atom E3845
NIC: Intel WG82583 1000M x 4
RAM: 8GB

Offline Jailer

  • Sr. Member
  • ****
  • Posts: 399
  • Karma: +54/-2
    • View Profile
    • Bored Guy Blog
Re: ZFS or UFS for single SSD
« Reply #6 on: November 30, 2017, 06:39:56 pm »
Yup that's one of the more wonderful things about pfSense, recovering from a failure is trivial as long as you have your config backed up.