Searched refs:scrub (Results 1 - 25 of 29) sorted by relevance

12

/illumos-gate/usr/src/uts/intel/io/intel_nhm/
H A Dintel_nhm.conf27 demand-scrub=1;
28 patrol-scrub=1;
/illumos-gate/usr/src/test/zfs-tests/tests/functional/cli_user/misc/
H A Dzpool_scrub_001_neg.ksh39 # zpool scrub returns an error when run as a user
42 # 1. Attempt to start a scrub on a pool
49 log_assert "zpool scrub returns an error when run as a user"
51 log_mustnot zpool scrub $TESTPOOL
52 log_mustnot zpool scrub -p $TESTPOOL
53 log_mustnot zpool scrub -s $TESTPOOL
55 log_pass "zpool scrub returns an error when run as a user"
/illumos-gate/usr/src/test/zfs-tests/tests/functional/cli_root/zpool_scrub/
H A Dzpool_scrub_003_pos.ksh38 # scrub command fails when there is an existing scrub in progress
42 # 2. Kick off a scrub
43 # 2. Kick off a second scrub and verify it fails
55 log_assert "Scrub command fails when there is already a scrub in progress"
58 log_must zpool scrub $TESTPOOL
60 log_mustnot zpool scrub $TESTPOOL
62 log_must zpool scrub -s $TESTPOOL
65 log_pass "Issuing a scrub command failed when scrub wa
[all...]
H A Dzpool_scrub_001_neg.ksh36 # A badly formed parameter passed to 'zpool scrub' should
40 # 1. Create an array containing bad 'zpool scrub' parameters.
54 log_assert "Execute 'zpool scrub' using invalid parameters."
58 log_mustnot zpool scrub ${args[i]}
63 log_pass "Badly formed 'zpool scrub' parameters fail as expected."
H A Dzpool_scrub_002_pos.ksh38 # Verify scrub, scrub -p, and scrub -s show the right status.
42 # 2. zpool scrub the pool and verify it's doing a scrub.
43 # 3. Pause scrub and verify it's paused.
44 # 4. Try to pause a paused scrub and make sure that fails.
45 # 5. Resume the paused scrub and verify scrub is again being performed.
46 # 6. Verify zpool scrub
[all...]
H A Dzpool_scrub_005_pos.ksh49 log_must zpool scrub $TESTPOOL
57 log_must zpool scrub $TESTPOOL
H A Dzpool_scrub_print_repairing.ksh35 # 3. Run a scrub
47 zpool scrub -s $TESTPOOL || true
55 # Make the scrub slow
59 log_must zpool scrub $TESTPOOL
61 # Wait for the scrub to show '(repairing)'. Timeout after 10 sec if it doesn't
H A Dzpool_scrub_multiple_copies.ksh33 # 4. Scrub and verify the scrub repaired all errors
57 log_must zpool scrub $TESTPOOL
68 log_must zpool scrub $TESTPOOL
H A Dzpool_scrub_004_pos.ksh37 # Resilver prevent scrub from starting until the resilver completes
44 # 5. Verify scrub failed until the resilver completed
57 log_assert "Resilver prevent scrub from starting until the resilver completes"
73 log_mustnot zpool scrub $TESTPOOL
80 log_pass "Resilver prevent scrub from starting until the resilver completes"
H A Dzpool_scrub_encrypted_unloaded.ksh31 # 4. Start a scrub
32 # 5. Wait for the scrub to complete
33 # 6. Verify the scrub had no errors
61 log_must zpool scrub $TESTPOOL
H A Dzpool_scrub_offline_device.ksh78 # Start a scrub on $pool and wait for its completion
84 log_must zpool scrub $pool
/illumos-gate/usr/src/test/zfs-tests/tests/functional/removal/
H A Dremoval_with_scrub.ksh27 test_removal_with_operation zpool scrub $TESTPOOL
29 log_pass "Can use scrub during removal"
/illumos-gate/usr/src/test/zfs-tests/tests/functional/delegate/
H A Dzfs_allow_011_neg.ksh53 attach detach replace scrub \
/illumos-gate/usr/src/test/zfs-tests/tests/functional/slog/
H A Dslog_012_neg.ksh64 log_must zpool scrub $TESTPOOL
H A Dslog_014_pos.ksh69 log_must zpool scrub $TESTPOOL
/illumos-gate/usr/src/test/zfs-tests/tests/functional/no_space/
H A Denospc_002_pos.ksh65 log_must zpool scrub $TESTPOOL
66 zpool scrub -s $TESTPOOL
/illumos-gate/usr/src/test/zfs-tests/tests/functional/scrub_mirror/
H A Dscrub_mirror_common.kshlib55 log_must zpool scrub $POOL
/illumos-gate/usr/src/test/zfs-tests/tests/functional/mdb/
H A Dmdb_001_pos.ksh53 log_must zpool scrub $TESTPOOL
/illumos-gate/usr/src/test/zfs-tests/tests/functional/clean_mirror/
H A Dclean_mirror_common.kshlib100 log_must zpool scrub $pool
/illumos-gate/usr/src/test/zfs-tests/tests/functional/cli_root/zpool_reopen/
H A Dzpool_reopen_003_pos.ksh22 # Test zpool reopen while scrub is running.
29 # 4. Execute scrub.
32 # 7. Check if scrub scan is replaced by resilver.
36 # A 250ms delay is added to make sure that the scrub is running while
71 # 4. Execute scrub.
74 log_must zpool scrub $TESTPOOL
81 # 7. Check if scrub scan is replaced by resilver.
82 # the scrub operation has to be running while reopen is executed
86 # the scrub will be replaced by resilver, wait until it ends
88 # check if the scrub sca
[all...]
H A Dzpool_reopen_004_pos.ksh22 # Test zpool reopen -n while scrub is running.
29 # 4. Execute scrub.
37 # A 125ms delay is added to make sure that the scrub is running while
65 # 4. Execute scrub.
68 log_must zpool scrub $TESTPOOL
76 # 7. Check if scrub scan is NOT replaced by resilver.
/illumos-gate/usr/src/test/zfs-tests/tests/functional/cli_root/zpool_add/
H A Dadd_nested_replacing_spare.ksh76 log_must zpool scrub $TESTPOOL
/illumos-gate/usr/src/uts/common/fs/zfs/
H A Dspa_errlog.c32 * scrub completes, the current log becomes the last log, the last log is thrown
34 * corrected, a new scrub will show that that it no longer exists, and will be
35 * deleted from the log when the scrub completes.
261 * Called when a scrub completes. This simply set a bit which tells which AVL
345 avl_tree_t scrub, last; local
360 spa_get_errlists(spa, &last, &scrub);
384 sync_error_list(spa, &scrub, &spa->spa_errlog_last, tx);
388 * Sync out any pending scrub errors.
390 sync_error_list(spa, &scrub, &spa->spa_errlog_scrub, tx);
/illumos-gate/usr/src/test/zfs-tests/tests/functional/cli_root/zpool_clear/
H A Dzpool_clear_001_pos.ksh185 log_must zpool scrub $TESTPOOL1
186 # Wait for the completion of scrub operation
/illumos-gate/usr/src/test/zfs-tests/tests/functional/redundancy/
H A Dredundancy.kshlib229 zpool scrub $pool >/dev/null 2>&1
232 log_fail "zpool scrub $pool failed."

Completed in 280 milliseconds

12