Project

General

Profile

Feature #4368

zfs send filesystems from readonly pools

Added by Christopher Siden almost 6 years ago. Updated almost 6 years ago.

Status:
Closed
Priority:
Normal
Category:
zfs - Zettabyte File System
Start date:
2013-11-30
Due date:
% Done:

100%

Estimated time:
Difficulty:
Medium
Tags:
needs-triage

Description

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.

History

#1

Updated by Christopher Siden almost 6 years ago

  • Status changed from In Progress to Closed
commit 78f171005391b928aaf1642b3206c534ed644332
Author: Matthew Ahrens <mahrens@delphix.com>
Date:   Wed Dec 11 14:33:41 2013

    4369 implement zfs bookmarks
    4368 zfs send filesystems from readonly pools
    Reviewed by: Christopher Siden <christopher.siden@delphix.com>
    Reviewed by: George Wilson <george.wilson@delphix.com>
    Approved by: Garrett D'Amore <garrett@damore.org>

Also available in: Atom PDF