Searched refs:zpool (Results 126 - 150 of 251) sorted by relevance

1234567891011

/illumos-gate/usr/src/test/zfs-tests/tests/functional/history/
H A Dhistory_003_pos.ksh36 # zpool history will truncate on small pools, leaving pool creation intact
41 # 3. Make sure 'zpool history' output is truncated
49 datasetexists $spool && log_must zpool destroy $spool
54 log_assert "zpool history limitation test."
64 log_must zpool create $spool $VDEV0
67 typeset -i orig_count=$(zpool history $spool | wc -l)
68 typeset orig_md5=$(zpool history $spool | head -2 | md5sum | \
83 zpool history $spool >$TMPFILE
87 grep 'zpool create' $TMPFILE >/dev/null 2>&1 ||
88 log_fail "'zpool creat
[all...]
H A Dhistory_007_pos.ksh50 log_must zpool destroy -f $migratedpoolname
80 log_must zpool destroy -f $migratedpoolname
82 log_must zpool import -d $import_dir $migratedpoolname
83 TZ=$TIMEZONE zpool history $migratedpoolname | grep -v "^$" \
86 (( $RET != 0 )) && log_fail "zpool histroy $migratedpoolname fails."
97 (( $RET != 0 )) && log_fail "zpool $subcmd is not logged for" \
108 log_must zpool destroy -f $migratedpoolname
/illumos-gate/usr/src/test/zfs-tests/tests/functional/inuse/
H A Dinuse_007_pos.ksh54 poolexists $TESTPOOL1 || zpool import $TESTPOOL1 >/dev/null 2>&1
102 log_must zpool export $TESTPOOL1
104 log_must zpool import $TESTPOOL1
118 log_must zpool export $TESTPOOL1
120 log_must zpool import $TESTPOOL1
/illumos-gate/usr/src/test/zfs-tests/tests/functional/pool_names/
H A Dpool_names_001_pos.ksh54 log_must zpool destroy $name
79 log_must zpool create -m $TESTDIR $name $DISK
84 log_must zpool destroy $name
98 log_must zpool create -m $TESTDIR $name $DISK
112 log_must zpool destroy $name
/illumos-gate/usr/src/test/zfs-tests/tests/functional/cli_root/zpool_create/
H A Dzpool_create_011_neg.ksh37 # 'zpool create' will fail in the following cases:
64 log_assert "'zpool create' should be failed with inapplicable scenarios."
111 log_mustnot zpool create ${arg[i]}
116 log_must zpool destroy -f $TESTPOOL
120 log_must zpool create -f $TESTPOOL3 $disk
121 log_must zpool destroy -f $TESTPOOL3
124 log_mustnot zpool create -f $TESTPOOL1 "$specified_dump_dev"
127 # a zpool from just the first slice on the disk.
128 log_mustnot zpool create -f $TESTPOOL1 ${specified_dump_dev}s0
130 log_pass "'zpool creat
[all...]
/illumos-gate/usr/src/test/zfs-tests/tests/functional/cli_root/zpool_expand/
H A Dzpool_expand_001_pos.ksh37 # Once zpool set autoexpand=on poolname, zpool can autoexpand by
54 log_must zpool destroy $TESTPOOL1
66 log_assert "zpool can be autoexpanded after set autoexpand=on on LUN expansion"
74 log_must zpool create -o autoexpand=on $TESTPOOL1 $type \
80 log_fail "zpool $TESTPOOL1 autoexpand should on but is $autoexp"
103 # check for zpool history for the pool size expansion
105 typeset size_addition=$(zpool history -il $TESTPOOL1 |\
115 zpool history -il $TESTPOOL1 | \
125 zpool histor
[all...]
/illumos-gate/usr/src/test/zfs-tests/tests/functional/replacement/
H A Dreplacement_003_pos.ksh108 log_must zpool detach $TESTPOOL1 $disk1
118 log_must zpool export $TESTPOOL1
119 log_must zpool import -d $TESTDIR $TESTPOOL1
140 zpool iostat -v $TESTPOOL1 | grep "$TESTDIR/$TESTFILE1.1"
147 log_note "Verify 'zpool detach' fails with non-mirrors."
154 log_mustnot zpool detach $TESTDIR/$TESTFILE1.1
156 zpool iostat -v $TESTPOOL1 | grep "$TESTDIR/$TESTFILE1.1"
/illumos-gate/usr/src/test/zfs-tests/tests/functional/vdev_zaps/
H A Dvdev_zaps_001_pos.ksh34 log_must zpool create -f $TESTPOOL $DISK
H A Dvdev_zaps_002_pos.ksh33 log_must zpool create -f $TESTPOOL $DISKS
/illumos-gate/usr/src/test/zfs-tests/tests/functional/bootfs/
H A Dbootfs_008_neg.ksh68 log_must zpool create $TESTPOOL $VDEV
77 log_mustnot zpool set bootfs=$COMP_FS $TESTPOOL
/illumos-gate/usr/src/test/zfs-tests/tests/functional/cachefile/
H A Dcachefile_001_pos.ksh39 # Creating a pool with "cachefile" set doesn't update zpool.cache
43 # 2. Verify that the pool doesn't have an entry in zpool.cache
47 # 6. Verify that zpool.cache contains an entry for the pool
66 log_assert "Creating a pool with \"cachefile\" set doesn't update zpool.cache"
77 log_must zpool create -o cachefile=${opts[i]} $TESTPOOL $DISKS
90 log_must zpool destroy $TESTPOOL
94 log_pass "Creating a pool with \"cachefile\" set doesn't update zpool.cache"
/illumos-gate/usr/src/test/zfs-tests/tests/functional/cli_root/zpool_add/
H A Dzpool_add_002_pos.ksh36 # 'zpool add -f <pool> <vdev> ...' can successfully add the specified
57 log_assert "'zpool add -f <pool> <vdev> ...' can successfully add" \
65 log_mustnot zpool add "$TESTPOOL" ${disk}s${SLICE3}
68 log_must zpool add -f "$TESTPOOL" ${disk}s${SLICE3}
71 log_pass "'zpool add -f <pool> <vdev> ...' executes successfully."
/illumos-gate/usr/src/test/zfs-tests/tests/functional/cli_root/zpool_export/
H A Dzpool_export_002_pos.ksh36 # The 'zpool export' command must fail when a pool is
53 log_must zpool import -d $dir $TESTPOOL
76 log_mustnot zpool export $TESTPOOL
79 log_fail "$TESTPOOL not found in 'zpool list' output."
/illumos-gate/usr/src/test/zfs-tests/tests/functional/cli_root/zpool_get/
H A Dzpool_get_004_neg.ksh37 # Malformed zpool get commands are rejected
41 # 1. Run several different "zpool get" commands that should fail.
44 log_assert "Malformed zpool get commands are rejected"
58 log_mustnot zpool get $arg
61 log_pass "Malformed zpool get commands are rejected"
/illumos-gate/usr/src/test/zfs-tests/tests/functional/cli_root/zpool_set/
H A Dzpool_set_002_neg.ksh37 # Malformed zpool set commands are rejected
41 # 2. Run zpool set for each arg checking each will exit with status code 1
51 zpool destroy bootfs
55 log_assert "Malformed zpool set commands are rejected"
69 "zpool bootfs " \
107 log_must zpool create bootfs /tmp/zpool_set_002.$$.dat
113 log_mustnot eval "zpool set ${arguments[$i]} > /dev/null 2>&1"
116 log_mustnot eval "zpool set ${arguments[$i]}bootfs > /dev/null 2>&1"
119 log_mustnot eval "zpool set ${arguments[$i]}bootfs bootfs > /dev/null"
123 log_pass "Malformed zpool se
[all...]
/illumos-gate/usr/src/test/zfs-tests/tests/functional/cli_root/zpool_status/
H A Dzpool_status_002_pos.ksh36 # Executing 'zpool status' with correct options succeeds
39 # 1. Create an array of correctly formed 'zpool status' options
56 log_assert "Executing 'zpool status' with correct options succeeds"
62 log_must zpool status ${args[$i]}
67 log_pass "'zpool status' with correct options succeeded"
/illumos-gate/usr/src/test/zfs-tests/tests/functional/cli_user/misc/
H A Dzpool_destroy_001_neg.ksh37 # Verify that 'zpool destroy' fails as non-root.
51 log_assert "zpool destroy [-f] [pool_name ...]"
55 log_mustnot zpool ${args[i]}
H A Dzpool_import_002_neg.ksh37 # Executing 'zpool import' as regular user should denied.
41 # 2. Execute 'zpool import' with each element of the array by regular user.
56 log_assert "Executing 'zpool import' by regular user fails"
60 log_mustnot zpool import ${args[i]}
64 log_pass "Executing 'zpool import' by regular user fails as expected."
/illumos-gate/usr/src/test/zfs-tests/tests/functional/cli_user/zpool_iostat/
H A Dzpool_iostat_003_neg.ksh36 # Executing 'zpool iostat' command with bad options fails.
39 # 1. Create an array of badly formed 'zpool iostat' options.
57 log_assert "Executing 'zpool iostat' with bad options fails"
61 log_mustnot zpool iostat ${args[i]}
65 log_pass "Executing 'zpool iostat' with bad options fails"
/illumos-gate/usr/src/test/zfs-tests/tests/functional/delegate/
H A Dzfs_allow_012_neg.ksh49 log_must zpool set delegation=on $TESTPOOL
64 log_must zpool set delegation=off $TESTPOOL
/illumos-gate/usr/src/test/zfs-tests/tests/functional/redundancy/
H A Dredundancy_004_neg.ksh57 log_must zpool clear $TESTPOOL
/illumos-gate/usr/src/test/zfs-tests/tests/functional/rootpool/
H A Drootpool_002_neg.ksh47 log_assert "zpool/zfs destory <rootpool> should return error"
58 log_mustnot zpool destroy $rootpool
/illumos-gate/usr/src/test/zfs-tests/tests/functional/rsend/
H A Dsend-c_props.ksh38 log_must zpool create $POOL $DISK1
39 log_must zpool create $POOL2 $DISK2
/illumos-gate/usr/src/test/zfs-tests/tests/functional/slog/
H A Dslog_008_neg.ksh54 log_mustnot zpool create $TESTPOOL $type $VDEV \
/illumos-gate/usr/src/test/zfs-tests/tests/functional/cli_root/zdb/
H A Dzdb_002_pos.ksh44 log_must zpool create -f $opt $TESTPOOL ${DISKS%% *}

Completed in 179 milliseconds

1234567891011