/illumos-gate/usr/src/test/zfs-tests/tests/functional/cli_user/misc/ |
H A D | zpool_online_001_neg.ksh | 38 # zpool online returns an error when run as a user 41 # 1. Attempt to online a device in a pool 52 log_fail "A disk was brough online!" 58 log_assert "zpool online returns an error when run as a user" 60 log_mustnot zpool online $TESTPOOL.virt /$TESTDIR/disk-offline.dat 63 log_mustnot zpool online -t $TESTPOOL.virt /$TESTDIR/disk-offline.dat 66 log_pass "zpool online returns an error when run as a user"
|
/illumos-gate/usr/src/test/zfs-tests/tests/functional/online_offline/ |
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 55 log_must zpool online $TESTPOOL $disk 56 check_state $TESTPOOL $disk "online" 58 log_fail "Unable to online $disk" 67 log_assert "Turning a disk offline and back online during I/O completes." 81 log_must zpool online $TESTPOOL $disk 82 check_state $TESTPOOL $disk "online" 84 log_fail "$disk of $TESTPOOL did not match online state"
|
H A D | online_offline_002_neg.ksh | 56 log_must zpool online $TESTPOOL $disk 57 check_state $TESTPOOL $disk "online" 59 log_fail "Unable to online $disk" 88 # Hold one disk online, verify the others can be offlined. 89 log_must zpool online $TESTPOOL ${disks[$i]} 90 check_state $TESTPOOL ${disks[$i]} "online" || \ 91 log_fail "Failed to set ${disks[$i]} online" 113 check_state $TESTPOOL ${disks[$j]} "online" || \ 114 log_fail "Failed to set ${disks[$j]} online" 119 log_must zpool online [all...] |
/illumos-gate/usr/src/test/zfs-tests/tests/functional/cli_root/zpool_online/ |
H A D | zpool_online_001_pos.ksh | 36 # Executing 'zpool online' with valid parameters succeeds. 39 # 1. Create an array of correctly formed 'zpool online' options 53 # Ensure we don't leave disks in temporary online state (-t) 56 log_must zpool online $TESTPOOL $disk 57 check_state $TESTPOOL $disk "online" 59 log_fail "Unable to online $disk" 65 log_assert "Executing 'zpool online' with correct options succeeds" 84 log_must zpool online ${args[$i]} $TESTPOOL $disk 85 check_state $TESTPOOL $disk "online" 87 log_fail "$disk of $TESTPOOL did not match online stat [all...] |
H A D | zpool_online_002_neg.ksh | 36 # Executing 'zpool online' command with bad options fails. 39 # 1. Create an array of badly formed 'zpool online' options. 60 log_assert "Executing 'zpool online' with bad options fails" 70 log_mustnot zpool online ${args[$i]} 75 log_pass "'zpool online' command with bad options failed as expected."
|
/illumos-gate/usr/src/cmd/tip/aculib/ |
H A D | v3451.c | 133 int timeout = 30, online = 0; local 144 online = strcmp(cp, "ON LINE") == 0; 145 if (online) 152 if (online && notin("FAILED CALL", buf) == 0)
|
/illumos-gate/usr/src/test/zfs-tests/tests/functional/cache/ |
H A D | cache_009_pos.ksh | 37 # Offline and online a cache device succeed. 41 # 2. Offine and online a cache device 49 log_assert "Offline and online a cache device succeed." 62 log_must zpool online $TESTPOOL $ldev 69 log_pass "Offline and online a cache device succeed."
|
/illumos-gate/usr/src/test/zfs-tests/tests/functional/cli_root/zpool_offline/ |
H A D | zpool_offline_001_pos.ksh | 58 log_must zpool online $TESTPOOL $disk 59 check_state $TESTPOOL $disk "online" 61 log_fail "Unable to online $disk" 89 check_state $TESTPOOL $disk "online" 91 log_fail "$disk of $TESTPOOL did not match online state" 118 log_must zpool online $TESTPOOL $disk 119 check_state $TESTPOOL $disk "online" 121 log_fail "$disk of $TESTPOOL did not match online state"
|
/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/privilege/ |
H A D | setup.ksh | 39 svcs svc:/network/nis/client:default | grep online > /dev/null
|
/illumos-gate/usr/src/test/zfs-tests/tests/functional/slog/ |
H A D | slog_011_neg.ksh | 36 # Offline and online a log device passes. 40 # 2. Offine and online a log device 47 log_assert "Offline and online a log device passes." 62 log_must zpool online $TESTPOOL $ldev 70 log_pass "Offline and online a log device passes."
|
/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 85 force_state_change $1 online 107 force_state_change $1 online
|
/illumos-gate/usr/src/test/zfs-tests/tests/functional/xattr/ |
H A D | setup.ksh | 35 svcs svc:/network/nis/client:default | grep online > /dev/null
|
/illumos-gate/usr/src/lib/lvm/libmeta/common/ |
H A D | meta_smf.c | 37 static int online(char *svc_names[], char **names); 115 * Determine if desired services are online. If all services in the 116 * classes specified by flags are online, 1 is returned. Otherwise 127 if (online(svm_core_svcs, &names) == 0) 131 if (online(svm_diskset_svcs, &names) == 0) 135 if (online(svm_mn_diskset_svcs, &names) == 0) 149 * online given the current SVM configuration. 283 if (online(svc_names, &names)) 293 * Check to see if all services in the svc_names are online. If they are 294 * all online 298 online(char *svc_names[], char **names) function [all...] |
/illumos-gate/usr/src/cmd/stmfsvc/ |
H A D | stmfsvc.c | 44 static int online(); 184 ret = online(); 190 * online 197 online() function 221 gettext("STMF service already online")); 225 gettext("unable to online service")); 231 /* wait for service online */
|
/illumos-gate/usr/src/lib/fm/topo/modules/sun4v/sun4vpi/ |
H A D | pi_meth.c | 42 int online; /* online cpus count */ member in struct:cpu_walk_data 152 * The "offline" and "online" counter are only useful for the "status" 159 swdp->online++; 203 swdp->err = swdp->offline = swdp->online = swdp->fail = 0; 281 rc = swd.online > 0 ? FMD_SERVICE_STATE_DEGRADED : 303 rc = (swd.offline > 0 && swd.fail + swd.online == 0) ? 1 : 0;
|
/illumos-gate/usr/src/cmd/psrinfo/ |
H A D | psrinfo.c | 301 int online = 1; local 307 * Report "1" if all cpus colocated on the same chip are online. 319 online = 0; 324 (void) printf("%d\n", online); 334 * and report whether or not it is online. 350 int online = 0; local 354 * online. 363 online++; 369 (void) printf("%d\n", online);
|
/illumos-gate/usr/src/test/zfs-tests/tests/functional/cli_root/zpool_expand/ |
H A D | zpool_expand_002_pos.ksh | 37 # After zpool online -e poolname zvol vdevs, zpool can autoexpand by 46 # 5 Use zpool online -e to online the zvol vdevs 67 log_assert "zpool can expand after zpool online -e zvol vdevs on LUN expansion" 92 log_must zpool online -e $TESTPOOL1 /dev/zvol/dsk/$VFS/vol$i 111 grep "vdev online" | \ 121 grep "vdev online" | \ 131 grep "vdev online" | \ 148 log_pass "zpool can expand after zpool online -e zvol vdevs on LUN expansion"
|
/illumos-gate/usr/src/lib/libzfs_jni/common/ |
H A D | libzfs_jni_diskmgt.c | 695 int online; local 700 /* Is this disk online? */ 701 online = get_disk_online(disk, &error); 702 if (!error && online) {
|
/illumos-gate/usr/src/uts/common/io/scsi/adapters/iscsi/ |
H A D | iscsi_lun.c | 207 * online, we should set the "online flag". 487 /* If props were setup ok, online the lun */ 489 /* Try to online the new node */ 506 cmn_err(CE_WARN, "iscsi driver unable to online " 528 * an offline path to become online/active again. 538 boolean_t online = B_FALSE; local 554 online = B_TRUE; 565 online = B_TRUE; 580 * online, w [all...] |
/illumos-gate/usr/src/uts/common/os/ |
H A D | ddi_hp_impl.c | 58 boolean_t online); 644 * probe, online, sysevent, etc. 662 * Probe and online devices if state is 684 * and then online the nodes. 726 * Try to online all the children of CN. 740 * Do online operation when the online parameter is true; otherwise do offline. 743 ddihp_cn_change_children_state(ddi_hp_cn_handle_t *hdlp, boolean_t online) argument 751 " dip %p hdlp %p, online %x\n", 752 (void *)dip, (void *)hdlp, online)); [all...] |
/illumos-gate/usr/src/cmd/lvm/metassist/layout/ |
H A D | layout_discovery.c | 509 boolean_t online = B_TRUE; local 516 if (((error = disk_get_is_online(disk, &online)) == 0 && 517 online == B_FALSE) || error == ENODEV) { 1752 boolean_t online = B_FALSE; local 1763 (error = disk_get_is_online(disk, &online))) { 1771 if (online != B_TRUE) {
|
/illumos-gate/usr/src/cmd/cmd-inet/lib/nwamd/ |
H A D | loc.c | 344 boolean_t *online = data; local 351 /* An online IP NCU found, stop walk */ 352 *online = B_TRUE; 367 * Walk the NCUs to find out if at least one IP NCU is online. If so, 499 "location %s already online, nothing to do",
|
/illumos-gate/usr/src/lib/libshare/smb/ |
H A D | libshare_smb.c | 297 * Determine if the SMF service instance is in the online state or 392 boolean_t online; local 416 online = smb_isonline(); 417 if (!online && !smb_isautoenable() && smb_isdisabled()) 424 if (privileged == B_FALSE && !online) { 426 if (!online) { 444 if (privileged == B_TRUE && !online) { 450 online = B_TRUE; 458 if (!online) 533 * online i [all...] |
/illumos-gate/usr/src/cmd/isns/isnsd/ |
H A D | obj.c | 767 int online; local 777 online = is_obj_online(dst); 803 } else if (online == 0) { 819 (void) make_scn((online == 0) ? 2477 int online = 1; local 2481 online = obj->attrs[ATTR_INDEX_ISCSI( 2488 return (online); 2536 int online; local 2548 online = is_obj_online(obj); 2550 state = (clone_flag << 2) | (dd_flag << 1) | online; [all...] |