Home
last modified time | relevance | path

Searched refs:VDEV (Results 1 – 25 of 107) sorted by relevance

12345

/src/sys/contrib/openzfs/tests/zfs-tests/tests/functional/events/
H A Dzed_slow_io.ksh42 VDEV="$TEST_BASE_DIR/vdevfile.$$"
53 log_must truncate -s 1G $VDEV
54 default_setup_noexit $VDEV
71 log_must rm -f $VDEV
88 log_must rm -f $VDEV
100 log_must zinject -d $VDEV -D10:1 -T read $TESTPOOL
144 log_must zpool set slow_io_n=5 $TESTPOOL $VDEV
145 log_must zpool set slow_io_t=60 $TESTPOOL $VDEV
169 log_must wait_vdev_state $TESTPOOL $VDEV "DEGRADED" 10
181 zpool set slow_io_n=10 $TESTPOOL $VDEV
[all …]
H A Dzed_io_config.ksh43 VDEV="$TEST_BASE_DIR/vdevfile.$$"
55 log_must rm -fd $VDEV $VDEV1 $MOUNTDIR
67 log_must zpool create -f -m $MOUNTDIR $POOL mirror $VDEV $VDEV1
90 log_must zinject -a -d $VDEV -e io -T read -f 100 $POOL
99 log_must wait_vdev_state $POOL $VDEV "FAULTED" 60
109 log_must zpool set io_n=1 $POOL $VDEV
111 log_must zinject -a -d $VDEV -e io -T read -f 100 $POOL
115 log_must wait_vdev_state $POOL $VDEV "FAULTED" 60
125 log_must zpool set io_t=1 $POOL $VDEV
127 log_must zinject -a -d $VDEV -e io -T read -f 100 $POOL
[all …]
H A Dzed_cksum_config.ksh44 VDEV="$TEST_BASE_DIR/vdevfile.$$"
56 log_must rm -fd $VDEV $MOUNTDIR
65 log_must zpool create -f -m $MOUNTDIR $POOL $VDEV
81 log_must wait_vdev_state $POOL $VDEV "DEGRADED" 60
87 log_must wait_vdev_state $POOL $VDEV "ONLINE" 60
118 log_must zpool set checksum_t=1 $POOL $VDEV
140 log_must zpool set checksum_n=1 $POOL $VDEV
151 log_must truncate -s $MINVDEVSIZE $VDEV
H A Dzed_cksum_reported.ksh45 VDEV="$TEST_BASE_DIR/vdevfile.$$"
58 log_must rm -fd $VDEV $VDEV1 $MOUNTDIR
68 log_must zpool create -f -m $MOUNTDIR $POOL $type $VDEV $VDEV1
91 zpool_cksum=`zpool get -H -o value checksum_errors $POOL $VDEV`
117 log_must truncate -s $MINVDEVSIZE $VDEV
/src/sys/contrib/openzfs/tests/zfs-tests/tests/functional/bootfs/
H A Dbootfs_002_neg.ksh58 if [[ -f $VDEV ]]; then
59 log_must rm -f $VDEV
67 typeset VDEV=$TESTDIR/bootfs_002_neg_a.$$.dat
69 log_must mkfile 400m $VDEV
70 create_pool "$TESTPOOL" "$VDEV"
H A Dbootfs_008_pos.ksh55 if [[ -f $VDEV ]]; then
56 log_must rm -f $VDEV
63 typeset VDEV=$TEST_BASE_DIR/bootfs_008_pos_a.$$.dat
69 log_must mkfile $MINVDEVSIZE $VDEV
70 log_must zpool create $TESTPOOL $VDEV
H A Dbootfs_001_pos.ksh58 if [[ -f $VDEV ]]; then
59 log_must rm -f $VDEV
66 typeset VDEV=$TESTDIR/bootfs_001_pos_a.$$.dat
68 log_must mkfile $MINVDEVSIZE $VDEV
69 create_pool "$TESTPOOL" "$VDEV"
/src/tests/sys/cddl/zfs/tests/bootfs/
H A Dbootfs_008_neg.ksh62 if [[ -f $VDEV ]]; then
63 log_must $RM -f $VDEV
70 typeset VDEV=$TMPDIR/bootfs_008_neg_a.${TESTCASE_ID}.dat
76 log_must create_vdevs $VDEV
77 log_must $ZPOOL create $TESTPOOL $VDEV
H A Dbootfs_001_pos.ksh58 if [[ -f $VDEV ]]; then
59 log_must $RM -f $VDEV
72 typeset VDEV=$TMPDIR/bootfs_001_pos_a.${TESTCASE_ID}.dat
74 log_must create_vdevs $VDEV
75 create_pool "$TESTPOOL" "$VDEV"
H A Dbootfs_004_neg.ksh58 typeset VDEV=$TMPDIR/bootfs_004.${TESTCASE_ID}.dat
66 $RM $VDEV
92 create_vdevs $VDEV
98 log_mustnot $ZPOOL create $POOL $VDEV
H A Dbootfs_003_pos.ksh57 typeset VDEV=$TMPDIR/bootfs_003.${TESTCASE_ID}.dat
65 $RM $VDEV
78 create_vdevs $VDEV
85 log_must $ZPOOL create $POOL $VDEV
/src/sys/contrib/openzfs/tests/zfs-tests/tests/functional/luks/
H A Dluks_sanity.ksh42 VDEV=$(mktemp --suffix=luks_sanity)
50 log_must rm -f $VDEV
60 truncate -s 100M $VDEV
62 log_must cryptsetup luksFormat --type luks2 $VDEV <<< $PASS
63 log_must cryptsetup luksOpen $VDEV luksdev <<< $PASS
/src/sys/contrib/openzfs/cmd/zed/agents/
H A DREADME.md11 * Add new paths to the persistent VDEV label for device matching.
13 * Add support for automated VDEV auto-online, auto-replace and auto-expand.
14 * Expand the statechange event to include all VDEV state transitions.
37 and isolation of VDEV faults. A fault is something we can associate
60 tracked VDEV encounters **N** events in a given **T** time window. The
65 the faulty VDEV. It will notify the ZFS kernel module of the new VDEV
73 expand the associated VDEV. This agent is also known as the `zfs_mod`
75 disk is matched to a specific VDEV using its device id, physical path
76 or VDEV GUID.
80 will be matched to the corresponding leaf VDEV by physical location
[all …]
/src/tests/sys/cddl/zfs/tests/cli_root/zpool_set/
H A Dzpool_set_003_neg.ksh76 VDEV=$TMPDIR/zpool_set_003.${TESTCASE_ID}.vdev
77 log_must create_vdevs $VDEV
78 log_must $ZPOOL create $TESTPOOL $VDEV
H A Dzpool_set_002_neg.ksh121 VDEV=$TMPDIR/zpool_set_002.${TESTCASE_ID}.vdev
122 log_must create_vdevs $VDEV
123 log_must $ZPOOL create bootfs $VDEV
/src/sys/contrib/openzfs/tests/zfs-tests/tests/functional/block_cloning/
H A Dblock_cloning_rlimit_fsize.ksh40 VDEV="$VDIR/a"
54 log_must truncate -s 1G $VDEV
56 log_must zpool create -o feature@block_cloning=enabled $TESTPOOL $VDEV
H A Dblock_cloning_clone_mmap_write.ksh45 VDEV="$VDIR/a"
59 log_must truncate -s 1G $VDEV
61 log_must zpool create -o feature@block_cloning=enabled $TESTPOOL $VDEV
H A Dblock_cloning_after_device_removal.ksh36 export VDEV="$VDIR/0 $VDIR/1"
39 log_must truncate -s $MINVDEVSIZE $VDEV
53 log_must zpool create -o feature@block_cloning=enabled $TESTPOOL $VDEV
H A Dblock_cloning_lwb_buffer_overflow.ksh50 VDEV="$VDIR/a $VDIR/b $VDIR/c"
65 log_must truncate -s $MINVDEVSIZE $VDEV $LDEV
67 log_must zpool create -o feature@block_cloning=enabled $TESTPOOL $VDEV \
H A Dblock_cloning_clone_mmap_cached.ksh44 VDEV="$VDIR/a"
58 log_must truncate -s 1G $VDEV
60 log_must zpool create -o feature@block_cloning=enabled $TESTPOOL $VDEV
/src/sys/contrib/openzfs/tests/zfs-tests/tests/functional/compression/
H A Dl2arc_compressed_arc.ksh28 export VDEV="$VDIR/a"
77 log_must mkfile $SIZE $VDEV
85 log_must zpool create -O compression=lz4 -f $TESTPOOL-l2arc $VDEV cache $VDEV_CACHE
H A Dl2arc_compressed_arc_disabled.ksh28 export VDEV="$VDIR/a"
74 log_must mkfile $SIZE $VDEV
85 log_must zpool create -O compression=lz4 -f $TESTPOOL-l2arc $VDEV cache $VDEV_CACHE
H A Dl2arc_encrypted_no_compressed_arc.ksh28 export VDEV="$VDIR/a"
75 log_must mkfile $SIZE $VDEV
86 log_must zpool create -O compression=zstd -f $TESTPOOL-l2arc $VDEV cache $VDEV_CACHE
H A Dl2arc_encrypted.ksh28 export VDEV="$VDIR/a"
78 log_must mkfile $SIZE $VDEV
86 log_must zpool create -O compression=zstd -f $TESTPOOL-l2arc $VDEV cache $VDEV_CACHE
/src/sys/contrib/openzfs/tests/zfs-tests/tests/functional/cache/
H A Dcache_012_pos.ksh68 typeset VDEV="$VDIR/vdev.disk"
88 log_must truncate -s $VDEV_SZ $VDEV
90 log_must zpool create -f $TESTPOOL $VDEV cache $VCACHE

12345