Searched refs:offline (Results 1 - 25 of 43) sorted by relevance

12

/freebsd-12-stable/tools/regression/zfs/zpool/offline/
H A Draidz1.t13 expect_ok ${ZPOOL} offline ${name0} ${disk0}
17 echo "status: One or more devices has been taken offline by the administrator."
36 expect_ok ${ZPOOL} offline ${name0} ${disk1}
40 echo "status: One or more devices has been taken offline by the administrator."
59 expect_ok ${ZPOOL} offline ${name0} ${disk0}
60 expect_fl ${ZPOOL} offline ${name0} ${disk1}
64 echo "status: One or more devices has been taken offline by the administrator."
83 expect_ok ${ZPOOL} offline ${name0} ${disk0}
87 echo "status: One or more devices has been taken offline by the administrator."
104 expect_ok ${ZPOOL} offline
[all...]
H A Dlog.t13 expect_ok ${ZPOOL} offline ${name0} ${disk1}
17 echo "status: One or more devices has been taken offline by the administrator."
39 expect_ok ${ZPOOL} offline ${name0} ${disk2}
43 echo "status: One or more devices has been taken offline by the administrator."
65 expect_ok ${ZPOOL} offline ${name0} ${disk1}
66 expect_fl ${ZPOOL} offline ${name0} ${disk2}
70 echo "status: One or more devices has been taken offline by the administrator."
93 expect_ok ${ZPOOL} offline ${name0} ${disk1}
94 expect_ok ${ZPOOL} offline ${name0} ${disk4}
95 expect_fl ${ZPOOL} offline
[all...]
H A Dmirror.t13 expect_ok ${ZPOOL} offline ${name0} ${disk0}
17 echo "status: One or more devices has been taken offline by the administrator."
36 expect_ok ${ZPOOL} offline ${name0} ${disk1}
40 echo "status: One or more devices has been taken offline by the administrator."
59 expect_ok ${ZPOOL} offline ${name0} ${disk0}
60 expect_fl ${ZPOOL} offline ${name0} ${disk1}
64 echo "status: One or more devices has been taken offline by the administrator."
83 expect_ok ${ZPOOL} offline ${name0} ${disk0}
84 expect_ok ${ZPOOL} offline ${name0} ${disk3}
85 expect_fl ${ZPOOL} offline
[all...]
H A Draidz2.t13 expect_ok ${ZPOOL} offline ${name0} ${disk0}
17 echo "status: One or more devices has been taken offline by the administrator."
37 expect_ok ${ZPOOL} offline ${name0} ${disk1}
41 echo "status: One or more devices has been taken offline by the administrator."
61 expect_ok ${ZPOOL} offline ${name0} ${disk2}
65 echo "status: One or more devices has been taken offline by the administrator."
86 expect_ok ${ZPOOL} offline ${name0} ${disk0} ${disk1}
88 expect_fl ${ZPOOL} offline ${name0} ${disk2}
92 echo "status: One or more devices has been taken offline by the administrator."
114 expect_ok ${ZPOOL} offline
[all...]
H A Dio.t13 expect_ok ${ZPOOL} offline ${name0} ${disk0}
25 expect_ok ${ZPOOL} offline ${name0} ${disk1}
27 expect_ok ${ZPOOL} offline ${name0} ${disk3}
48 expect_ok ${ZPOOL} offline ${name0} ${disk1}
63 expect_ok ${ZPOOL} offline ${name0} ${disk1}
65 expect_ok ${ZPOOL} offline ${name0} ${disk3}
H A Doption-t.t13 expect_ok ${ZPOOL} offline ${name0} ${disk0}
17 echo "status: One or more devices has been taken offline by the administrator."
37 echo "status: One or more devices has been taken offline by the administrator."
57 expect_ok ${ZPOOL} offline -t ${name0} ${disk0}
61 echo "status: One or more devices has been taken offline by the administrator."
95 expect_ok ${ZPOOL} offline ${name0} ${disk0} ${disk1}
99 echo "status: One or more devices has been taken offline by the administrator."
121 echo "status: One or more devices has been taken offline by the administrator."
145 expect_ok ${ZPOOL} offline -t ${name0} ${disk0} ${disk1}
149 echo "status: One or more devices has been taken offline b
[all...]
/freebsd-12-stable/tests/sys/cddl/zfs/tests/cli_root/zpool_import/
H A Dzpool_import_destroyed_001_neg.ksh54 log_must $ZPOOL offline $TESTPOOL ${DISK0}
H A Dzpool_import_destroyed_002_neg.ksh47 log_must $ZPOOL offline $TESTPOOL ${DISK0}
/freebsd-12-stable/tests/sys/cddl/zfs/tests/online_offline/
H A Donline_offline_002_neg.ksh59 log_must $ZPOOL offline $TESTPOOL ${DISKLIST[$i]}
64 log_mustnot $ZPOOL offline $TESTPOOL ${DISKLIST[$i]}
72 log_assert "Turning both disks offline should fail."
H A Donline_offline_001_pos.ksh39 log_must $ZPOOL offline $TESTPOOL $disk
40 check_state $TESTPOOL $disk "offline"
42 log_fail "$disk of $TESTPOOL is not offline."
57 log_assert "Turning a disk offline and back online during I/O completes."
/freebsd-12-stable/tests/sys/cddl/zfs/tests/cli_user/misc/
H A Dzpool_online_001_neg.ksh62 RESULT=$($ZPOOL status -v $TESTPOOL.virt | $GREP disk-offline.dat \
74 log_mustnot run_unprivileged "$ZPOOL online $TESTPOOL.virt /$TESTDIR/disk-offline.dat"
77 log_mustnot run_unprivileged "$ZPOOL online -t $TESTPOOL.virt /$TESTDIR/disk-offline.dat"
H A Dsetup.ksh133 /$TESTDIR/disk-offline.dat \
140 /$TESTDIR/disk2.dat /$TESTDIR/disk3.dat /$TESTDIR/disk-offline.dat \
144 log_must $ZPOOL offline $TESTPOOL.virt /$TESTDIR/disk-offline.dat
/freebsd-12-stable/tests/sys/cddl/zfs/tests/cli_root/zpool_offline/
H A Dzpool_offline_001_pos.ksh40 # Executing 'zpool offline' with valid parameters succeeds.
43 # 1. Create an array of correctly formed 'zpool offline' options
68 # Ensure we don't leave disks in the offline state
80 log_assert "Executing 'zpool offline' with correct options succeeds"
95 log_must $ZPOOL offline ${args[$i]} $TESTPOOL $disk
96 check_state $TESTPOOL $disk "offline"
98 log_fail "$disk of $TESTPOOL did not match offline state"
101 log_mustnot $ZPOOL offline ${args[$i]} $TESTPOOL $disk
113 log_note "Issuing repeated 'zpool offline' commands succeeds."
122 log_must $ZPOOL offline
[all...]
H A Dzpool_offline_002_neg.ksh40 # Executing 'zpool offline' command with bad options fails.
43 # 1. Create an array of badly formed 'zpool offline' options.
94 log_assert "Executing 'zpool offline' with bad options fails"
104 log_mustnot $ZPOOL offline ${args[$i]}
109 log_pass "'zpool offline' command with bad options failed as expected."
/freebsd-12-stable/tests/sys/cddl/zfs/tests/hotspare/
H A Dhotspare_onoffline_003_neg.ksh42 # invoke "zpool offline" & "zpool online" with this hot spare
47 # 2. Try 'zpool offline' & 'zpool online' with each hot spare
51 # 3. Verify offline/online results as expected.
78 log_mustnot $ZPOOL offline $TESTPOOL $dev
85 log_assert "'zpool offline/online <pool> <vdev>' should fail on inactive spares"
99 log_pass "'zpool offline/online <pool> <vdev>' against a hot spare works as expected."
H A Dhotspare_import_001_pos.ksh51 # - the hotspare is activated but offline
52 # - the hotspare is activated but the basic vdev is offline
128 # but the basic vdev is offline
130 log_must $ZPOOL offline $TESTPOOL $odev
139 log_assert "'zpool export/import <pool>' should runs successfully regardless the hotspare is only in list, activated, or offline."
167 log_pass "'zpool export/import <pool>' should runs successfully regardless the hotspare is only in list, activated, or offline."
H A Dhotspare_onoffline_004_neg.ksh41 # turning that basic vdev offline and back online during I/O completes.
48 # 4. Try 'zpool offline' & 'zpool online' with the basic vdev
121 log_must $ZPOOL offline $TESTPOOL $odev
122 log_must check_state $TESTPOOL $odev "offline"
132 log_assert "'zpool offline/online <pool> <vdev>' against a spared basic vdev during I/O completes."
167 log_pass "'zpool offline/online <pool> <vdev>' against a spared basic vdev during I/O completes."
/freebsd-12-stable/tests/sys/cddl/zfs/bin/
H A Dzpool_bsd.ksh17 create|add|attach|detach|replace|remove|online|offline|clear)
H A Dzpool_smi.ksh106 create|add|attach|detach|replace|remove|online|offline|clear)
/freebsd-12-stable/tests/sys/cddl/zfs/tests/cache/
H A Dcache_009_pos.ksh70 log_must $ZPOOL offline $TESTPOOL $ldev
/freebsd-12-stable/tests/sys/cddl/zfs/tests/delegate/
H A Dzfs_allow_011_neg.ksh66 status offline online clear \
/freebsd-12-stable/tests/sys/cddl/zfs/tests/slog/
H A Dslog_011_neg.ksh70 log_must $ZPOOL offline $TESTPOOL $ldev
/freebsd-12-stable/tools/regression/zfs/zpool/create/
H A Doption-f_inuse.t104 expect_ok ${ZPOOL} offline ${name0} ${disk1}
120 expect_ok ${ZPOOL} offline ${name0} ${disk2}
136 expect_ok ${ZPOOL} offline ${name0} ${disk3}
152 expect_ok ${ZPOOL} offline ${name0} ${disk2}
168 expect_ok ${ZPOOL} offline ${name0} ${disk1}
186 expect_ok ${ZPOOL} offline ${name0} ${disk1}
205 expect_ok ${ZPOOL} offline ${name0} ${disk2}
224 expect_ok ${ZPOOL} offline ${name0} ${disk3}
243 expect_ok ${ZPOOL} offline ${name0} ${disk2}
262 expect_ok ${ZPOOL} offline
[all...]
/freebsd-12-stable/tests/sys/cddl/zfs/tests/cli_root/zpool_create/
H A Dzpool_create_002_pos.ksh117 log_must $ZPOOL offline $TESTPOOL5 $TMPDIR/$FILEDISK2
/freebsd-12-stable/tests/sys/cddl/zfs/tests/cli_root/zpool_online/
H A Dzpool_online_001_pos.ksh91 log_must $ZPOOL offline $TESTPOOL $disk
92 check_state $TESTPOOL $disk "offline"
94 log_fail "$disk of $TESTPOOL did not match offline state"

Completed in 88 milliseconds

12