ZFS External USB drive

I have an external 4TB USB drive that is mostly permanent connected to my FreeBSD laptop. It mainly holds some data, photos and my movie library. What’s the best formatting option? Plain old UFS or a single disk ZFS?
 
Do you need very high performance (probably not, USB doesn't do that)? Is your machine short of memory? Then use UFS. For all other uses, ZFS. It has several important advantages: It protects all data with checksums, it writes to the disk in a pattern that is much less likely to be vulnerable to losing recent data on a crash, and it has scrubbing, which helps find disk errors before they become problems. All these things matter a lot if you have a redundant system (with multiple disks), but even on a single-disk pool they help. The cost of that is: higher CPU and memory consumption, and/or lower IO performance if CPU or memory constrained.

On my server at home, I have an external USB-3 disk that I use for backups (it is on a relatively long cable, and physically installed in a big and pretty fireproof safe). Works great. I tried this years ago with a USB-2 disk, and at that time USB wasn't reliable enough for continuous production, so for a while I was using eSATA, but with USB-3 it has worked perfectly. The disk is a cheap 2.5" Seagate that I bought at Costco (giant warehouse store in the US).
 
I also chose to format my external hitachi 4TB hitachi drive to ZFS. I created a new pool 'external' with some datasets in it. It works great.
 
(it is on a relatively long cable, and physically installed in a big and pretty fireproof safe).

Just wait a minute here. How long is that USB cable, and does it penetrate the wall of the safe or is the disk just mounted in there and you open it and pull out the cable?

A long time ago (ca. 4.9) I ran a stack of SCSI disks in ext. enclosures, all in a "space" very much like that. I think the cable was priced by the foot, almost like lobster. =8^o
 
Regular USB-3 cable, about 6' or 2m long. Goes through a small hole in the side wall of the safe (small enough for the connector). Although honestly, some of the time I just put the disk right next to the server, not in the fireproof safe (lazy).
 
Back
Top