zfs/cmd
Brian Behlendorf 3d93161b01
ztest: Fix ztest_run_zdb() failure
It's possible for ztest to be killed while the pool is exported
which results in an empty cache file.  This is a valid state to
test, but the validation check performed by ztest_run_zdb()
depends on the pool being in the cache file.  If it's not the
following error is printed.

    zdb -bccsv -G -d -Y -U /tmp/zloop-run/zpool.cache ztest
    zdb: can't open '/tmp/zloop-run': No such file or directory

Resolve these failures by removing the dependency on the cache
file.  Functionally, we only care that the pool can be imported
and that the zdb verification passes.

Reviewed-by: George Melikov <mail@gmelikov.ru>
Reviewed-by: Ryan Moeller <ryan@iXsystems.com>
Signed-off-by: Brian Behlendorf <behlendorf1@llnl.gov>
Closes #10385
2020-05-29 21:14:10 -07:00
..
arc_summary arc_summary: Make get_descriptions per platform 2020-02-27 17:15:06 -08:00
arcstat Fix outdated comment header 2020-05-11 16:23:16 -07:00
dbufstat Detect if sed supports --in-place 2019-10-16 19:19:48 -07:00
fsck_zfs Fix typos in cmd/ 2019-08-30 09:43:30 -07:00
mount_zfs mount: use the mount syscall directly 2020-05-20 18:02:41 -07:00
raidz_test Fixed LDADD library links in Makefiles for cross compilation builds 2020-05-09 10:17:08 -07:00
vdev_id Fix typos in cmd/ 2019-08-30 09:43:30 -07:00
zdb Improvements on persistent L2ARC 2020-05-07 16:34:03 -07:00
zed Fixed LDADD library links in Makefiles for cross compilation builds 2020-05-09 10:17:08 -07:00
zfs Revert "Let zfs mount all tolerate in-progress mounts" 2020-05-26 16:07:50 -07:00
zfs_ids_to_path Small program that converts a dataset id and an object id to a path 2020-05-20 10:05:33 -07:00
zgenhostid bash scripts: use /usr/bin/env for bash shebangs 2020-02-10 13:13:46 -08:00
zhack Add zfs_file_* interface, remove vnodes 2019-11-21 09:32:57 -08:00
zinject Fixed LDADD library links in Makefiles for cross compilation builds 2020-05-09 10:17:08 -07:00
zpool Fix gcc 10.1 stringop-truncation error 2020-05-19 14:24:10 -07:00
zstream Fixed LDADD library links in Makefiles for cross compilation builds 2020-05-09 10:17:08 -07:00
zstreamdump Minor `zstream redup` command fixes 2020-04-10 21:10:09 -07:00
ztest ztest: Fix ztest_run_zdb() failure 2020-05-29 21:14:10 -07:00
zvol_id OpenZFS restructuring - libspl 2019-10-02 10:39:48 -07:00
zvol_wait zvol_wait should ignore redacted zvols 2019-11-06 10:51:19 -08:00
Makefile.am Small program that converts a dataset id and an object id to a path 2020-05-20 10:05:33 -07:00