mirror_zfs/tests/zfs-tests/tests/functional/cli_root
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
..
zdb Add zdb -r <dataset> <object-id | file> <output> 2021-01-27 21:36:01 -08:00
zfs Use the correct spelling of 'jailed' in tests 2020-01-31 08:52:29 -08:00
zfs_bookmark Avoid core dump on invalid redaction bookmark 2020-03-18 12:54:12 -07:00
zfs_change-key Fix 'zfs change-key' with unencrypted child 2019-10-30 11:27:28 -07:00
zfs_clone Fixes for make dist 2020-06-26 14:20:02 -07:00
zfs_copies Update references to nonexistent man pages in code 2020-10-30 08:55:59 -07:00
zfs_create Add -u option to 'zfs create' 2020-12-04 14:01:42 -08:00
zfs_destroy zfs promote does not delete livelist of origin 2020-07-31 08:59:00 -07:00
zfs_diff ZTS: Eliminate functions named 'random' 2020-01-08 09:08:30 -08:00
zfs_get Update ZTS to work on FreeBSD 2019-12-18 12:29:43 -08:00
zfs_ids_to_path Fix typos 2020-06-09 21:24:09 -07:00
zfs_inherit Use the correct spelling of 'jailed' in tests 2020-01-31 08:52:29 -08:00
zfs_jail FreeBSD: Fix zfs jail and add a test 2020-08-01 08:44:54 -07:00
zfs_load-key Clean up (k)shlib and cfg file shebangs 2018-04-08 19:37:22 -07:00
zfs_mount Re-apply path sanitizer, as mount(8) still mangles it 2021-01-19 11:57:31 -08:00
zfs_program ZTS: zfs_program_json 2019-12-27 12:12:41 -08:00
zfs_promote Fix clone handling with encryption roots 2019-09-16 10:07:33 -07:00
zfs_property ZTS: Written props test fails with 4k disks 2019-10-18 13:27:02 -04:00
zfs_receive ZTS: remove duplicate check_prop_source from zfs_receive 2021-01-25 14:38:19 -08:00
zfs_rename Add 'zfs rename -u' to rename without remounting 2020-09-01 16:14:16 -07:00
zfs_reservation OpenZFS 7290 - ZFS test suite needs to control what utilities it can run 2017-04-06 09:25:36 -07:00
zfs_rollback ZTS: avoid race to unmount in zfs_rollback_001 2021-01-12 17:20:02 -08:00
zfs_send ZTS: avoid piping to special devices 2021-01-19 11:53:35 -08:00
zfs_set ZTS: improve output clarity of check_prop_source 2021-01-25 14:39:58 -08:00
zfs_share ZTS: Update zfs_share_concurrent_shares.ksh 2020-12-06 09:47:33 -08:00
zfs_snapshot Start snapdir_iterate traversals to begin wtih the value of zero. 2020-11-11 17:06:16 -08:00
zfs_sysfs Update ZTS to work on FreeBSD 2019-12-18 12:29:43 -08:00
zfs_unload-key Native Encryption for ZFS on Linux 2017-08-14 10:36:48 -07:00
zfs_unmount ZTS: Misc fixes for FreeBSD 2020-02-24 10:17:55 -08:00
zfs_unshare ZTS: Refactor is_shared, fix impl on FreeBSD 2020-02-21 15:59:20 -08:00
zfs_upgrade ZTS: Add missing quotes 2020-03-04 15:10:45 -08:00
zfs_wait Add 'zfs wait' command 2020-04-01 10:02:06 -07:00
zpool ZTS: Use POSIX-compatible space character class 2020-07-31 18:11:21 -07:00
zpool_add ZTS: three small follow up fixes for #11167 2020-12-09 21:27:12 -08:00
zpool_attach vdev_ashift should only be set once 2020-09-18 12:13:47 -07:00
zpool_clear Add subcommand to wait for background zfs activity to complete 2019-09-13 18:09:06 -07:00
zpool_create ZTS: three small follow up fixes for #11167 2020-12-09 21:27:12 -08:00
zpool_destroy ZTS: Eliminate partitioning from zpool_destroy 2020-02-21 16:00:22 -08:00
zpool_detach OpenZFS 7290 - ZFS test suite needs to control what utilities it can run 2017-04-06 09:25:36 -07:00
zpool_events Avoid posting duplicate zpool events 2020-09-04 10:34:28 -07:00
zpool_expand Distributed Spare (dRAID) Feature 2020-11-13 13:51:51 -08:00
zpool_export ZTS: zpool_export test improvements 2021-01-26 13:14:04 -08:00
zpool_get Distributed Spare (dRAID) Feature 2020-11-13 13:51:51 -08:00
zpool_history Fix typos in tests/ 2019-09-02 18:12:01 -07:00
zpool_import Distributed Spare (dRAID) Feature 2020-11-13 13:51:51 -08:00
zpool_initialize ZTS: Simplify zpool_initialize_verify_initialized 2020-12-18 08:42:59 -08:00
zpool_labelclear ZTS: Avoid nonportable cmp flag 2020-02-19 09:03:31 -08:00
zpool_offline Force fault a vdev with 'zpool offline -f' 2017-05-19 12:30:16 -07:00
zpool_online Wait for resilver after online 2018-04-13 18:04:10 -07:00
zpool_remove ZTS: Eliminate partitioning from zpool_remove 2020-02-13 12:10:35 -08:00
zpool_reopen ZTS: Fix a few defaults 2020-01-31 08:51:23 -08:00
zpool_replace vdev_ashift should only be set once 2020-09-18 12:13:47 -07:00
zpool_resilver ZTS: Catalog tunable names for tests in tunables.cfg 2020-01-14 14:57:28 -08:00
zpool_scrub ZTS: Catalog tunable names for tests in tunables.cfg 2020-01-14 14:57:28 -08:00
zpool_set vdev_ashift should only be set once 2020-09-18 12:13:47 -07:00
zpool_split ZTS: three small follow up fixes for #11167 2020-12-09 21:27:12 -08:00
zpool_status Move some tests to cli_user/zpool_status 2019-07-19 11:21:54 -07:00
zpool_sync OpenZFS 9166 - zfs storage pool checkpoint 2018-06-26 10:07:42 -07:00
zpool_trim ZTS: zpool_trim tests throttle trim process 2020-12-07 10:06:10 -08:00
zpool_upgrade ZTS: Eliminate functions named 'random' 2020-01-08 09:08:30 -08:00
zpool_wait Distributed Spare (dRAID) Feature 2020-11-13 13:51:51 -08:00
cli_common.kshlib OpenZFS 7290 - ZFS test suite needs to control what utilities it can run 2017-04-06 09:25:36 -07:00
Makefile.am FreeBSD: Fix zfs jail and add a test 2020-08-01 08:44:54 -07:00