aboutsummaryrefslogtreecommitdiffstats
path: root/cmd/mount_zfs
diff options
context:
space:
mode:
authorAllan Jude <[email protected]>2021-01-28 00:36:01 -0500
committerGitHub <[email protected]>2021-01-27 21:36:01 -0800
commit393e69241eea8b5f7f817200ad283b7d5b5ceb70 (patch)
treeda4b11a62ce85f415bf8436d0aca24919925daae /cmd/mount_zfs
parentb2c5904a7839b93fa30bba261a5981161acea336 (diff)
Add zdb -r <dataset> <object-id | file> <output>
While you can use zdb -R poolname vdev:offset:[<lsize>/]<psize>[:flags] to extract individual DVAs from a vdev, it would be handy for be able copy an entire file out of the pool. Given a file or object number, add support to copy the contents to a file. Useful for debugging and recovery. Reviewed-by: Jorgen Lundman <[email protected]> Reviewed-by: Brian Behlendorf <[email protected]> Signed-off-by: Allan Jude <[email protected]> Closes #11027
Diffstat (limited to 'cmd/mount_zfs')
0 files changed, 0 insertions, 0 deletions