/illumos-gate/usr/src/test/zfs-tests/tests/functional/cli_user/misc/ |
H A D | zpool_online_001_neg.ksh | 48 RESULT=$(zpool status -v $TESTPOOL.virt | grep disk-offline.dat \ 60 log_mustnot zpool online $TESTPOOL.virt /$TESTDIR/disk-offline.dat 63 log_mustnot zpool online -t $TESTPOOL.virt /$TESTDIR/disk-offline.dat
|
H A D | zpool_offline_001_neg.ksh | 38 # zpool offline returns an error when run as a user 41 # 1. Attempt to offline a device in a pool 52 log_fail "A disk was taken offline!" 58 log_assert "zpool offline returns an error when run as a user" 60 log_mustnot zpool offline $TESTPOOL.virt /$TESTDIR/disk-1.dat 63 log_mustnot zpool offline -t $TESTPOOL.virt /$TESTDIR/disk-1.dat 66 log_pass "zpool offline returns an error when run as a user"
|
H A D | setup.ksh | 124 mkfile $MINVDEVSIZE /$TESTDIR/disk-offline.dat 131 /$TESTDIR/disk2.dat /$TESTDIR/disk3.dat /$TESTDIR/disk-offline.dat \ 136 log_must zpool offline $TESTPOOL.virt /$TESTDIR/disk-offline.dat
|
/illumos-gate/usr/src/test/zfs-tests/tests/functional/cli_root/zpool_offline/ |
H A D | zpool_offline_001_pos.ksh | 36 # Executing 'zpool offline' with valid parameters succeeds. 39 # 1. Create an array of correctly formed 'zpool offline' options 55 # Ensure we don't leave disks in the offline state 67 log_assert "Executing 'zpool offline' with correct options succeeds" 82 log_must zpool offline ${args[$i]} $TESTPOOL $disk 83 check_state $TESTPOOL $disk "offline" 85 log_fail "$disk of $TESTPOOL did not match offline state" 88 log_mustnot zpool offline ${args[$i]} $TESTPOOL $disk 100 log_note "Issuing repeated 'zpool offline' commands succeeds." 109 log_must zpool offline [all...] |
H A D | zpool_offline_002_neg.ksh | 36 # Executing 'zpool offline' command with bad options fails. 39 # 1. Create an array of badly formed 'zpool offline' options. 81 log_assert "Executing 'zpool offline' with bad options fails" 91 log_mustnot zpool offline ${args[$i]} 96 log_pass "'zpool offline' command with bad options failed as expected."
|
/illumos-gate/usr/src/test/zfs-tests/tests/functional/online_offline/ |
H A D | online_offline_002_neg.ksh | 36 # Turning disks in a pool offline should fail when there is no longer 41 # 2. Verify that we can offline as many disks as the redundancy level 53 # Ensure we don't leave disks in the offline state 68 log_assert "Turning both disks offline should fail." 97 log_must zpool offline $TESTPOOL ${disks[$j]} 98 check_state $TESTPOOL ${disks[$j]} "offline" || \ 99 log_fail "Failed to set ${disks[$j]} offline" 103 # Hold one disk offline, verify the others can't be offlined. 104 log_must zpool offline $TESTPOOL ${disks[$i]} 105 check_state $TESTPOOL ${disks[$i]} "offline" || \ [all...] |
H A D | online_offline_001_pos.ksh | 36 # Turning a disk offline and back online during I/O completes. 40 # 2. For each disk in the mirror, set it offline and online 52 # Ensure we don't leave disks in the offline state 67 log_assert "Turning a disk offline and back online during I/O completes." 74 log_must zpool offline $TESTPOOL $disk 75 check_state $TESTPOOL $disk "offline" 77 log_fail "$disk of $TESTPOOL is not offline."
|
H A D | online_offline_003_neg.ksh | 40 # 2. zpool offline should fail on each disk. 74 log_mustnot zpool offline $TESTPOOL1 ${disk[$i]}
|
/illumos-gate/usr/src/test/zfs-tests/tests/functional/cache/ |
H A D | cache_009_pos.ksh | 58 log_must zpool offline $TESTPOOL $ldev
|
/illumos-gate/usr/src/test/zfs-tests/tests/functional/delegate/ |
H A D | zfs_allow_011_neg.ksh | 52 status offline online clear \
|
/illumos-gate/usr/src/test/zfs-tests/tests/functional/slog/ |
H A D | slog_011_neg.ksh | 58 log_must zpool offline $TESTPOOL $ldev
|
/illumos-gate/usr/src/cmd/th_tools/ |
H A D | th_script.sh | 32 [[ $2 != "online" && $2 != "offline" ]] && exit 1 56 # driver instance offline and immediately after it is brought online. If the 59 # which will continuously offline and online the instance until the injected 70 # Default workload - continuously offline and online the driver instance 84 force_state_change $1 offline 106 force_state_change $1 offline
|
/illumos-gate/usr/src/test/zfs-tests/tests/functional/cli_root/zpool_online/ |
H A D | zpool_online_001_pos.ksh | 78 log_must zpool offline $TESTPOOL $disk 79 check_state $TESTPOOL $disk "offline" 81 log_fail "$disk of $TESTPOOL did not match offline state"
|
/illumos-gate/usr/src/uts/sparc/os/ |
H A D | bootdev.c | 217 char *rptr, *optr, *offline; local 278 offline = kmem_zalloc(len, KM_SLEEP); /* offline paths */ 280 optr = offline; 358 } else { /* path is offline */ 373 /* now add as much of offline to ret_buf as possible */ 374 bcopy(offline, rptr, rlen); 376 kmem_free(offline, len);
|
/illumos-gate/usr/src/lib/fm/topo/modules/sun4v/sun4vpi/ |
H A D | pi_meth.c | 43 int offline; /* offline cpus count */ member in struct:cpu_walk_data 152 * The "offline" and "online" counter are only useful for the "status" 156 swdp->offline++; 203 swdp->err = swdp->offline = swdp->online = swdp->fail = 0; 280 else if (swd.offline > 0) 303 rc = (swd.offline > 0 && swd.fail + swd.online == 0) ? 1 : 0;
|
/illumos-gate/usr/src/uts/common/io/scsi/adapters/iscsi/ |
H A D | iscsi_lun.c | 219 * iscsi_lun_destroy - offline and remove lun 223 * initiator. This function will offline and free the 243 /* attempt to offline and free solaris node */ 528 * an offline path to become online/active again. 622 * path has failed it will be called to offline the logical 624 * be called to both offline and free the logical unit. 634 * If we fail to offline a LUN that we don't want to destroy, 648 boolean_t offline = B_FALSE; local 656 * lock across the offline call it will not 700 /* Attempt to offline th [all...] |
/illumos-gate/usr/src/test/zfs-tests/tests/functional/cli_root/zpool_create/ |
H A D | zpool_create_002_pos.ksh | 117 log_must zpool offline $TESTPOOL5 /var/tmp/$FILEDISK2
|
/illumos-gate/usr/src/cmd/backup/restore/ |
H A D | main.c | 46 int hflag = 1, mflag = 1, paginating = 0, offline = 0, autoload = 0; variable 231 offline++;
|
H A D | restore.h | 59 extern int offline; /* take tape offline when closing */ 60 extern int autoload; /* wait for tape to autoload; implies offline */ 419 #define FORCE_OFFLINE 1 /* offline drive for autoload */
|
/illumos-gate/usr/src/uts/common/io/fibre-channel/fca/emlxs/ |
H A D | emlxs_download.c | 50 uint32_t len, uint32_t offline, 136 uint32_t len, uint32_t offline); 138 uint32_t len, uint32_t offline); 160 uint32_t offline) 180 rval = emlxs_be_fw_download(hba, buffer, len, offline); 182 rval = emlxs_obj_fw_download(hba, buffer, len, offline); 244 offline, &fw_image)) { 249 offline = 0; 267 if (offline) { 269 offline 159 emlxs_fw_download(emlxs_hba_t *hba, caddr_t buffer, uint32_t len, uint32_t offline) argument 1591 emlxs_be_fw_download(emlxs_hba_t *hba, caddr_t buffer, uint32_t len, uint32_t offline) argument 2010 emlxs_obj_fw_download(emlxs_hba_t *hba, caddr_t buffer, uint32_t len, uint32_t offline) argument 5065 emlxs_start_abs_download_2mb(emlxs_hba_t *hba, caddr_t buffer, uint32_t len, uint32_t offline, emlxs_fw_image_t *fw_image) argument [all...] |
H A D | emlxs_node.c | 36 /* Timeout == -1 will enable the offline timer */ 46 uint32_t offline = 0; local 59 /* Check offline support */ 63 offline = 1; 81 if (offline) { 87 "node=%p did=%06x channel=%d. offline=%d update.", 107 if (offline) { 112 "node=%p did=%06x channel=%d. offline=%d set.", 190 /* Open the node if not offline */
|
/illumos-gate/usr/src/cmd/avs/dsstat/ |
H A D | sdbc_stats.c | 255 uint32_t *offline; local 274 /* Check if volume is offline and zflag applies */ 295 offline = kstat_value(cur->cur_set, SDBC_CDKSTAT_FAILED); 296 if (*offline) { 297 (void) printf(" <<volume offline>>\n");
|
/illumos-gate/usr/src/cmd/syseventd/modules/zfs_mod/ |
H A D | zfs_mod.c | 155 uint64_t offline = 0ULL; local 165 (void) nvlist_lookup_uint64(vdev, ZPOOL_CONFIG_OFFLINE, &offline); 179 if (offline ||
|
/illumos-gate/usr/src/cmd/backup/dump/ |
H A D | dumptape.c | 742 if (tapeout && (isrewind(to) || offline)) { 1189 if (offline && (!verify || doingverify)) { 1219 if (tapeout && !isrewind(to) && offline) { 1224 if (offline || autoload) 1228 if (offline || autoload) { 1505 if (!offline)
|
H A D | dump.h | 157 int offline; /* take tape offline after rewinding */ variable 158 int autoload; /* wait for next tape to autoload; implies offline */
|