mirror_zfs/cmd
Allan Jude 393e69241e
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 <lundman@lundman.net>
Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov>
Signed-off-by: Allan Jude <allan@klarasystems.com>
Closes #11027
2021-01-27 21:36:01 -08:00
..
arc_summary arc_summary3: Handle overflowing value width 2020-12-11 10:29:53 -08:00
arcstat FreeBSD: Update usage of py-sysctl 2020-12-10 15:28:31 -08:00
dbufstat dbufstat: Fix warnings with Python 3.8 2020-12-23 15:10:35 -08:00
fsck_zfs Fix typos in cmd/ 2019-08-30 09:43:30 -07:00
mount_zfs cppcheck: integrete cppcheck 2021-01-26 16:12:26 -08:00
raidz_test cppcheck: integrete cppcheck 2021-01-26 16:12:26 -08:00
vdev_id vdev_id: Add error message when $CONFIG is missing 2021-01-23 15:52:29 -08:00
zdb Add zdb -r <dataset> <object-id | file> <output> 2021-01-27 21:36:01 -08:00
zed cppcheck: integrete cppcheck 2021-01-26 16:12:26 -08:00
zfs cppcheck: integrete cppcheck 2021-01-26 16:12:26 -08:00
zfs_ids_to_path cppcheck: integrete cppcheck 2021-01-26 16:12:26 -08:00
zgenhostid cppcheck: integrete cppcheck 2021-01-26 16:12:26 -08:00
zhack cppcheck: integrete cppcheck 2021-01-26 16:12:26 -08:00
zinject cppcheck: integrete cppcheck 2021-01-26 16:12:26 -08:00
zpool cppcheck: integrete cppcheck 2021-01-26 16:12:26 -08:00
zpool_influxdb cppcheck: integrete cppcheck 2021-01-26 16:12:26 -08:00
zstream cppcheck: integrete cppcheck 2021-01-26 16:12:26 -08:00
zstreamdump Minor zstream redup command fixes 2020-04-10 21:10:09 -07:00
ztest cppcheck: integrete cppcheck 2021-01-26 16:12:26 -08:00
zvol_id cppcheck: integrete cppcheck 2021-01-26 16:12:26 -08:00
zvol_wait zvol_wait should ignore redacted zvols 2019-11-06 10:51:19 -08:00
Makefile.am cppcheck: integrete cppcheck 2021-01-26 16:12:26 -08:00