this post was submitted on 03 Sep 2023
6 points (100.0% liked)

Everything ZFS

272 readers
1 users here now

A community for the ZFS filesystem.

ZFS is an opensource COW filesystem used by enterprise and serious homelabbers for it's data safety and extensive feature set.

OpenZFS is the active branch now developed primarily for Linux with a port to it's FreeBSD roots.

This community is here to answer questions and discuss topics related to the use of ZFS in the wild.

Rules:

As always, the main rule is Don't Be a Dick. Be polite with new users asking questions that you may consider obvious. If you don't have something constructive to offer, downvote and move on.

No dirty deletes: your posts are here for posterity, perhaps the next person will get something out of it, even if it's wrong.

founded 1 year ago
MODERATORS
 

(I feel like I've violated plenty of common-sense stuff while learning ZFS. If so, you can let me have it in the comments.)

I have a large RAID-Z1 array that I back up to a USB 3.0 hard drive. I'd also like to maintain zfs-auto-snapshot's snapshots as well. I've been doing a zfs send MyArray | zfs recv Backup and it's been working pretty well; however, once in a while, the array will become suspended due to an I/O error, and I'll either need to reboot, or rarely, destroy the backup disk and re-copy everything.

This seems like I'm doing something wrong, so I'd like to know: what is the best way to back up a ZFS array to a single portable disk?

I would prefer a portable backup solution like backing up to a single USB hard drive (preferably so I can buy two and keep one somewhere secure), but I'm open to getting a small NAS and zfs sending over a network.

top 1 comments
sorted by: hot top controversial new old
[–] [email protected] 2 points 1 year ago

Anything on dmesg?

That setup sounds pretty reasonable, my guess would be the USB drive craps itself on high IO on it going by the symptoms. Does it happen if it's not formatted as ZFS too?