Sign in

← Software

Corrective (healing) zfs receive -c

titleCorrective (healing) zfs receive -c
recommendationconsider
directionopenzfs-only
areasend-recv
feature flag
openzfs version2.2.0
summary'zfs receive -c' uses a send stream of a snapshot to repair blocks of that snapshot that are damaged on the target, without re-receiving everything (flags.heal in zfs_main.c). illumos 'zfs receive' has no such flag (receive [-vnsFhu]).
impactSolnix users with a damaged block and an intact replica must restore whole files or datasets; OpenZFS users can heal in place from a backup stream.
whyGood reliability value for replicated setups; self-contained in dmu_recv. No illumos issue found.
effortmedium
sourceshttps://github.com/openzfs/zfs/commit/e8cf3a4f7662f2d1c13684ce52b73ab0d9a12266
https://github.com/illumos/illumos-gate/blob/ac45d71fc2b04a5422e72a14b54dd1e746e7be07/usr/src/cmd/zfs/zfs_main.c
https://github.com/openzfs/zfs/blob/c913da86156eba3243cc1ef515e98d69887654a7/cmd/zfs/zfs_main.c

What Solnix has done

No decision yet: open for ranking.

Objections (0)

None.

Sign in to object to this item.