Hacker News new | ask | show | jobs
by ProllyInfamous 40 days ago
I began learning ZFS (TrueNAS and the macOS-plugin) just two weeks ago. It is absolutely incredible technology.

>I use it with ... most of my external disks with macOS

How do you personally deal with the terrible macOS default SAMBA client (if using SMB shares)? I can get saturated single-file transfers, but even deleting 100+ small files takes a longgggggg time. It is my understanding the the macOS only allows single-threaded SMB access.

I am considering using ExpanDrive (for NAS access only); openZFS is perfect for DAS (direct disk access), albeit not ideal (since the ARC takes away from system memory); is Thunderbolt linkage still impossible in TrueNAS?

How do you connect your mac fastest to TrueNAS (not top speed, actual IO rate)?

2 comments

>> I use it with ... most of my external disks with macOS

> How do you personally deal with the terrible macOS default SAMBA client

I almost never use SMB. The external disks in question are drives that I connect via USB3 or USB4/Thunderbolt to the MacBook Pro, including a couple 5-bay multi-drive DAS enclosures that have USB4/Thunderbolt.

Wait until you find out that zrepl[1] exists, what it can do and that it can even be signaled ;-)

1: https://github.com/zrepl/zrepl

Currently zrepl is way above my pay-grade...

but if anybody else wants to read about this (the tagline "helps you configures zfs backups" – wasn't helpful to me) technology, here is the zrepl quickstart guide:

<https://zrepl.github.io/quickstart.html#quickstart-toc>

----

From zrepl guide, example use-cases:

•) Continuous Backup of a Server

•) Local Snapshots + Offline Backup to an External Disk

•) Fan-out replication

Just use an LLM, describe what you need and you get a commented config that does what you need.

I use it for:

- job 1: every 15 minute autosnapshot and cleanup

- job 2: push encrypted snapshots to an external harddrive via cronjob and signal

- job3 (another server): pull snapshots from the main server via ssh for ransomware resistant backups (mainserver cannot access backupserver at all)