HomeSort by relevance Sort by last modified time
    Searched refs:device (Results 1 - 25 of 102) sorted by null

1 2 3 4 5

  /test/stcnv/usr/src/tools/diskomizer/
device_control.c 29 * Device controls
44 * The complication is that to prevent the device state that
46 * "hot", the device states are cached in each processes and the
66 do_restart_stopped_devices(off64_t start, struct device *device,
132 init_device_control(struct device *devices)
152 do_dev_control(struct device *device, void *(*func)(struct device *, void *),
156 if (device->control == NULL
    [all...]
device_control.h 37 struct device *, struct timeval *);
40 extern void init_device_control(struct device *devices);
41 extern dev_state set_dev_state(struct device *device, dev_state oldstate,
44 get_dev_state(struct device *device, struct timeval *now);
  /test/stcnv/usr/src/tools/diskomizer/etc/
background.txt 31 -o device="/dev/rdsk/c0t1d0s4 /dev/rdsk/c0t2d0s4"
  /test/ontest-stc2/src/suites/zfs/tests/functional/hotplug/
hotplug_005_pos.ksh 39 # Regarding of autoreplace, when removing offline device and reinserting
40 # again. This device's status is 'ONLINE' . No FMA fault was generated.
44 # 2. Synchronise with device in the background.
45 # 3. Offline one of device, remove it and reinsert again.
46 # 4. Verify device status is 'ONLINE'.
66 log_assert "Regarding of autoreplace, when removing offline device and " \
67 "reinserting again. This device's status is 'ONLINE'. " \
77 typeset device=$(convert_lofi $file)
78 log_must $ZPOOL offline $TESTPOOL $device
79 log_must remove_device $device
    [all...]
hotplug_001_pos.ksh 39 # When removing a device from a redundant pool, the device's state will
44 # 2. Synchronise with device in the background.
45 # 3. Remove one of device of pool.
66 log_assert "When removing a device from a redundant pool, the device's " \
75 typeset device=$(convert_lofi $file)
76 log_must remove_device $device
79 log_must verify_device_status $TESTPOOL $device 'REMOVED'
85 log_pass "When removing a device from a redundant pool, the device's "
    [all...]
hotplug_002_pos.ksh 39 # When removing a device from a redundant pool, then reinserting it
40 # again, this device's state will be indicated as 'ONLINE' regardless of
45 # 2. Synchronise with device in the background.
47 # 4. Remove device from pool and reinsert again.
68 log_assert "When removing and reinserting a device, the device status is " \
80 typeset device=$(convert_lofi $file)
81 log_must remove_device $device
83 log_must insert_device $file $device
85 log_must verify_device_status $TESTPOOL $device 'ONLINE'
    [all...]
hotplug_004_pos.ksh 39 # When device replacement fails, the original device's state will be
44 # 2. Synchronise with device in the background.
45 # 3. Create a small device which is smaller than the minimal ZFS device.
46 # 4. Replace one device with the small device.
47 # 5. Verify the device replacement failed
68 log_assert "When device replacement fails, the original device's state will "
    [all...]
hotplug_007_pos.ksh 39 # When autoreplace is 'on', replacing the device with a smaller one.
40 # Verify the device's status is 'UNAVAIL'. FMA fault has been generated.
45 # 3. Synchronise with device in the background.
46 # 4. Offline and remove one of device, insert a new device.
47 # 5. Verify the device's status is 'UNAVAIL'.
70 log_assert "When autoreplace is 'on', replacing the device with a smaller one."\
71 "Verify the device's status is 'UNAVAIL'. FMA fault has been generated."
79 typeset device=$(convert_lofi $file)
80 log_must $ZPOOL offline $TESTPOOL $device
    [all...]
hotplug_003_pos.ksh 39 # Set/Unset autoreplace, remove device from redundant pool and insert new
40 # device, this new device state will be indicated as 'ONLINE/UNAVAIL'.
45 # 2. Synchronise with device in the background.
47 # 4. Remove device from pool and insert a new device.
50 # 7. Set autoreplace=off, redo steps 4 - 6, verify the new device's
71 log_assert "Having removed a device from a redundant pool and inserted a new " \
72 "device, the new device state will be 'ONLINE' when autoreplace is on,"
    [all...]
hotplug_010_pos.ksh 39 # Removing device offlined and reinsert onlined, verify device status is
43 # 1. Create mirror/raidz/raidz2 pool w/a hot spare device.
44 # 2. Synchronise with device in the background.
47 # 5. Unload ZFS module and remove a device.
48 # 6. Load ZFS module and insert the device again.
49 # 7. Verify device's status is 'ONLINE'. No FMA fault is generated.
82 log_assert "Removing device offlined and reinserting onlined, " \
83 "verify the device status ONLINE."
103 typeset device=$(convert_lofi $file
    [all...]
hotplug_006_pos.ksh 39 # When unsetting/setting autoreplace, then replacing offlined device,
40 # verify device's status is 'UNAVAIL/ONLINE'. No FMA fault is generated.
45 # 3. Synchronise with device in the background.
46 # 4. Offline one of device, remove it and insert a new device.
47 # 5. Verify device status's is 'UNAVAIL/ONLINE' with/without FMA fault.
67 log_assert "When unsetting/setting autoreplace, then replacing device, verify"\
68 "the device's status is 'UNAVAIL/ONLINE'. No FMA fault is generated."
82 typeset device=$(convert_lofi $file)
83 log_must $ZPOOL offline $TESTPOOL $device
    [all...]
  /test/stcnv/usr/src/suites/fs/zfs/tests/functional/hotplug/
hotplug_005_pos.ksh 39 # Regarding of autoreplace, when removing offline device and reinserting
40 # again. This device's status is 'ONLINE' . No FMA fault was generated.
44 # 2. Synchronise with device in the background.
45 # 3. Offline one of device, remove it and reinsert again.
46 # 4. Verify device status is 'ONLINE'.
66 log_assert "Regarding of autoreplace, when removing offline device and " \
67 "reinserting again. This device's status is 'ONLINE'. " \
77 typeset device=$(convert_lofi $file)
78 log_must $ZPOOL offline $TESTPOOL $device
79 log_must remove_device $device
    [all...]
hotplug_001_pos.ksh 39 # When removing a device from a redundant pool, the device's state will
44 # 2. Synchronise with device in the background.
45 # 3. Remove one of device of pool.
66 log_assert "When removing a device from a redundant pool, the device's " \
75 typeset device=$(convert_lofi $file)
76 log_must remove_device $device
79 log_must verify_device_status $TESTPOOL $device 'REMOVED'
85 log_pass "When removing a device from a redundant pool, the device's "
    [all...]
hotplug_002_pos.ksh 39 # When removing a device from a redundant pool, then reinserting it
40 # again, this device's state will be indicated as 'ONLINE' regardless of
45 # 2. Synchronise with device in the background.
47 # 4. Remove device from pool and reinsert again.
68 log_assert "When removing and reinserting a device, the device status is " \
80 typeset device=$(convert_lofi $file)
81 log_must remove_device $device
83 log_must insert_device $file $device
85 log_must verify_device_status $TESTPOOL $device 'ONLINE'
    [all...]
hotplug_004_pos.ksh 39 # When device replacement fails, the original device's state will be
44 # 2. Synchronise with device in the background.
45 # 3. Create a small device which is smaller than the minimal ZFS device.
46 # 4. Replace one device with the small device.
47 # 5. Verify the device replacement failed
68 log_assert "When device replacement fails, the original device's state will "
    [all...]
hotplug_007_pos.ksh 39 # When autoreplace is 'on', replacing the device with a smaller one.
40 # Verify the device's status is 'UNAVAIL'. FMA fault has been generated.
45 # 3. Synchronise with device in the background.
46 # 4. Offline and remove one of device, insert a new device.
47 # 5. Verify the device's status is 'UNAVAIL'.
70 log_assert "When autoreplace is 'on', replacing the device with a smaller one."\
71 "Verify the device's status is 'UNAVAIL'. FMA fault has been generated."
79 typeset device=$(convert_lofi $file)
80 log_must $ZPOOL offline $TESTPOOL $device
    [all...]
hotplug_003_pos.ksh 39 # Set/Unset autoreplace, remove device from redundant pool and insert new
40 # device, this new device state will be indicated as 'ONLINE/UNAVAIL'.
45 # 2. Synchronise with device in the background.
47 # 4. Remove device from pool and insert a new device.
50 # 7. Set autoreplace=off, redo steps 4 - 6, verify the new device's
71 log_assert "Having removed a device from a redundant pool and inserted a new " \
72 "device, the new device state will be 'ONLINE' when autoreplace is on,"
    [all...]
hotplug_010_pos.ksh 39 # Removing device offlined and reinsert onlined, verify device status is
43 # 1. Create mirror/raidz/raidz2 pool w/a hot spare device.
44 # 2. Synchronise with device in the background.
47 # 5. Unload ZFS module and remove a device.
48 # 6. Load ZFS module and insert the device again.
49 # 7. Verify device's status is 'ONLINE'. No FMA fault is generated.
82 log_assert "Removing device offlined and reinserting onlined, " \
83 "verify the device status ONLINE."
103 typeset device=$(convert_lofi $file
    [all...]
hotplug_006_pos.ksh 39 # When unsetting/setting autoreplace, then replacing offlined device,
40 # verify device's status is 'UNAVAIL/ONLINE'. No FMA fault is generated.
45 # 3. Synchronise with device in the background.
46 # 4. Offline one of device, remove it and insert a new device.
47 # 5. Verify device status's is 'UNAVAIL/ONLINE' with/without FMA fault.
67 log_assert "When unsetting/setting autoreplace, then replacing device, verify"\
68 "the device's status is 'UNAVAIL/ONLINE'. No FMA fault is generated."
82 typeset device=$(convert_lofi $file)
83 log_must $ZPOOL offline $TESTPOOL $device
    [all...]
  /test/ontest-stc2/src/suites/zfs/tests/functional/zvol/
zvol_common.kshlib 89 typeset ret=$($DUMPADM | $GREP "Dump device:" | $AWK '{print $3}')
117 typeset device=$1
119 if [[ -z $device || $device == "none" ]] ; then
120 log_note "No dump device volume specified."
123 if [[ $device == "/dev/zvol/dsk/"* ]] ; then
124 typeset volume=${device#/dev/zvol/dsk/}
126 log_must $DUMPADM -d $device
129 if ! is_swap_inuse $device ; then
130 log_must $SWAP -a $device
    [all...]
  /test/stcnv/usr/src/suites/fs/zfs/tests/functional/zvol/
zvol_common.kshlib 89 typeset ret=$($DUMPADM | $GREP "Dump device:" | $AWK '{print $3}')
117 typeset device=$1
119 if [[ -z $device || $device == "none" ]] ; then
120 log_note "No dump device volume specified."
123 if [[ $device == "/dev/zvol/dsk/"* ]] ; then
124 typeset volume=${device#/dev/zvol/dsk/}
126 log_must $DUMPADM -d $device
129 if ! is_swap_inuse $device ; then
130 log_must $SWAP -a $device
    [all...]
  /test/ontest-stc2/src/suites/zfs/tests/functional/cache/
cache.kshlib 70 # Verify the give cache device have correct type and status
73 # $2 device name
74 # $3 device status
75 # $4 device type
80 typeset device=$2
84 if [[ -z $pool || -z $device || -z $status ]]; then
85 log_fail "Usage: verify_cache_device <pool> <device> " \
90 $ECHO $device | $EGREP "^c[0-F]+([td][0-F]+)+$" > /dev/null 2>&1
92 device=${device}s
    [all...]
  /test/ontest-stc2/src/suites/zfs/tests/functional/slog/
slog.kshlib 70 # Verify the give slog device have correct type and status
73 # $2 device name
74 # $3 device status
75 # $4 device type
80 typeset device=$2
84 if [[ -z $pool || -z $device || -z $status ]]; then
85 log_fail "Usage: verify_slog_device <pool> <device> " \
90 $ECHO $device | $EGREP "^c[0-F]+([td][0-F]+)+$" > /dev/null 2>&1
92 device=${device}s
    [all...]
  /test/stcnv/usr/src/suites/fs/zfs/tests/functional/cache/
cache.kshlib 70 # Verify the give cache device have correct type and status
73 # $2 device name
74 # $3 device status
75 # $4 device type
80 typeset device=$2
84 if [[ -z $pool || -z $device || -z $status ]]; then
85 log_fail "Usage: verify_cache_device <pool> <device> " \
90 $ECHO $device | $EGREP "^c[0-F]+([td][0-F]+)+$" > /dev/null 2>&1
92 device=${device}s
    [all...]
  /test/stcnv/usr/src/suites/fs/zfs/tests/functional/slog/
slog.kshlib 70 # Verify the give slog device have correct type and status
73 # $2 device name
74 # $3 device status
75 # $4 device type
80 typeset device=$2
84 if [[ -z $pool || -z $device || -z $status ]]; then
85 log_fail "Usage: verify_slog_device <pool> <device> " \
90 $ECHO $device | $EGREP "^c[0-F]+([td][0-F]+)+$" > /dev/null 2>&1
92 device=${device}s
    [all...]

Completed in 1230 milliseconds

1 2 3 4 5