zfs send filesystems from readonly pools
zfs - Zettabyte File System
Originally filed by Matt Ahrens:
When recovering a corrupt pool we are sometimes able to open the pool read-only and then copy the data off the corrupt pool into a new pool. We would like to use zfs send to do copy the data, but we can only send snapshots, not filesystems, and we can't create a snapshot because the pool is readonly. The workaround would be to use zfs send to copy the snapshots, and then rsync to get the data from the filesystem. This would roughly double the amount of time that the recover takes, as rsync will need to read all the already-copied data from both pools to determine which blocks are new.
Updated by Christopher Siden almost 6 years ago
- Status changed from In Progress to Closed
commit 78f171005391b928aaf1642b3206c534ed644332 Author: Matthew Ahrens <email@example.com> Date: Wed Dec 11 14:33:41 2013 4369 implement zfs bookmarks 4368 zfs send filesystems from readonly pools Reviewed by: Christopher Siden <firstname.lastname@example.org> Reviewed by: George Wilson <email@example.com> Approved by: Garrett D'Amore <firstname.lastname@example.org>