BLU Discuss list archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Discuss] ZFS for an Encrypted External Disk: My Experience and Notes
- Subject: [Discuss] ZFS for an Encrypted External Disk: My Experience and Notes
- From: richard.pieri at gmail.com (Rich Pieri)
- Date: Tue, 26 Jul 2022 18:12:19 -0400
- In-reply-to: <0577b283-67ff-5285-1210-91faa10f8bdb@borg.org>
- References: <0f9cacf3-e355-1109-6e92-2cab27643886@borg.org> <20220725115851.5f73ed89.Richard.Pieri@gmail.com> <0577b283-67ff-5285-1210-91faa10f8bdb@borg.org>
On Tue, 26 Jul 2022 14:41:55 -0700 Kent Borg <kentborg at borg.org> wrote: > It took hours. The fact that ZFS assumes that numerically distant > LBAs will be physically distant, to the extent that assumption holds, > will make for a lot of extra head movement. Maybe Linux can reorder > writes around that a little, but it is a pessimizing thing to do for > speed. (Issuing parallel writes to two different drives suddenly > seems like such a luxury.) If you are getting ~100MB/s sustained then that is about as fast as you can go on spinning disks regardless of the bus. If you're getting less then the likely culprit is a wrong block size. ZFS defaults to 512B blocks but if you have 4K disks then you want to specify a 4K ashift when creating the pool: zpool create tank -o ashift=12 [...] For those considering SSDs with 8K blocks you want ashift=13. > Were the disk I'm backing up also ZFS, it could be done much more > efficiently and quickly and precisely, but by doing it this old > fashioned rsync way I/do/ get the side effect of a partial, kinda > half-scrub, specifically of the data that is of current interest. Yes. zfs send/receive bypasses all the overhead of walking file systems, and transfers snapshot deltas directly from source to destination. Much faster than rsync but it is more complex because you have to manage snapshots. -- \m/ (--) \m/
- Follow-Ups:
- [Discuss] ZFS for an Encrypted External Disk: My Experience and Notes
- From: kentborg at borg.org (Kent Borg)
- [Discuss] ZFS for an Encrypted External Disk: My Experience and Notes
- From: dsr at randomstring.org (Dan Ritter)
- [Discuss] ZFS for an Encrypted External Disk: My Experience and Notes
- References:
- [Discuss] ZFS for an Encrypted External Disk: My Experience and Notes
- From: kentborg at borg.org (Kent Borg)
- [Discuss] ZFS for an Encrypted External Disk: My Experience and Notes
- From: richard.pieri at gmail.com (Rich Pieri)
- [Discuss] ZFS for an Encrypted External Disk: My Experience and Notes
- From: kentborg at borg.org (Kent Borg)
- [Discuss] ZFS for an Encrypted External Disk: My Experience and Notes
- Prev by Date: [Discuss] ZFS for an Encrypted External Disk: My Experience and Notes
- Next by Date: [Discuss] ZFS for an Encrypted External Disk: My Experience and Notes
- Previous by thread: [Discuss] ZFS for an Encrypted External Disk: My Experience and Notes
- Next by thread: [Discuss] ZFS for an Encrypted External Disk: My Experience and Notes
- Index(es):