Searched refs:zpool (Results 201 - 225 of 251) sorted by relevance

1234567891011

/illumos-gate/usr/src/test/zfs-tests/tests/functional/cli_root/zpool_import/
H A Dzpool_import_missing_002_pos.ksh56 # 5. Verify 'zpool import -d' with the new directory
75 log_must zpool import -d $DEVICE_DIR $TESTPOOL1
155 log_must zpool export $TESTPOOL1
184 $action zpool import \
/illumos-gate/usr/src/test/zfs-tests/tests/functional/cli_root/zpool_add/
H A Dzpool_add_003_pos.ksh37 # 'zpool add -n <pool> <vdev> ...' can display the configuration without
59 log_assert "'zpool add -n <pool> <vdev> ...' can display the configuration" \
69 zpool add -n "$TESTPOOL" ${disk}s${SLICE1} > $tmpfile
76 log_fail "'zpool add -n <pool> <vdev> ...' is executed as unexpected"
78 log_pass "'zpool add -n <pool> <vdev> ...'executes successfully."
H A Dzpool_add_004_pos.ksh37 # 'zpool add <pool> <vdev> ...' can successfully add a zfs volume
62 log_assert "'zpool add <pool> <vdev> ...' can add zfs volume to the pool."
73 log_must zpool add "$TESTPOOL" /dev/zvol/dsk/$TESTPOOL1/$TESTVOL
77 log_pass "'zpool add <pool> <vdev> ...' adds zfs volume to the pool successfully"
/illumos-gate/usr/src/test/zfs-tests/tests/functional/cli_root/zpool_create/
H A Dzpool_create_003_pos.ksh37 # 'zpool create -n <pool> <vspec> ...' can display the configuration without
54 log_assert "'zpool create -n <pool> <vspec> ...' can display the configureation" \
71 zpool create -n $TESTPOOL ${disk}s${SLICE0} > $tmpfile
74 log_fail "'zpool create -n <pool> <vspec> ...' fail."
79 log_fail "'zpool create -n <pool> <vspec>...' is executed as unexpected."
81 log_pass "'zpool create -n <pool> <vspec>...' success."
H A Dzpool_create_004_pos.ksh78 log_mustnot zpool create -f $TESTPOOL1 $vdevs_list
H A Dzpool_create_017_neg.ksh38 # 'zpool create' will fail with mountpoint exists and is not empty.
43 # 2. Verify 'zpool create' over that mountpoint fails.
67 log_assert "'zpool create' should fail with mountpoint exists and not empty."
84 log_mustnot zpool create -m $TESTDIR -f $TESTPOOL $pool_dev
90 log_pass "'zpool create' fail as expected with mountpoint exists and not empty."
H A Dzpool_create_007_neg.ksh37 # 'zpool create' should return an error with badly formed parameters.
41 # 2. For each parameter in the array, execute 'zpool create'
76 log_assert "'zpool create' should return an error with badly-formed parameters."
81 log_mustnot zpool create ${args[i]}
85 log_pass "'zpool create' with badly formed parameters failed as expected."
H A Dzpool_create_010_neg.ksh37 # 'zpool create' should return an error with VDEVs of size SPA_MINDEVSIZE
41 # 2. For each parameter in the array, execute 'zpool create'
45 log_assert "'zpool create' should return an error with VDEVs SPA_MINDEVSIZE"
85 log_mustnot zpool create ${args[i]}
89 log_pass "'zpool create' with badly formed parameters failed as expected."
/illumos-gate/usr/src/test/zfs-tests/tests/functional/history/
H A Dhistory_004_pos.ksh36 # 'zpool history' can cope with simultaneous commands.
42 # 4. Make sure all the commands was logged by 'zpool history'.
47 log_assert "'zpool history' can cope with simultaneous commands."
49 typeset -i orig_count=$(zpool history $spool | wc -l | awk '{print $1}')
93 typeset -i entry_count=$(zpool history $spool | wc -l | awk '{print $1}')
100 log_pass "'zpool history' can cope with simultaneous commands."
/illumos-gate/usr/src/test/zfs-tests/tests/functional/inuse/
H A Dinuse_001_pos.ksh81 log_note "Attempt to zpool the dump device"
83 log_mustnot zpool create $TESTPOOL "$diskslice"
86 log_pass "Unable to zpool a device in use by dumpadm"
H A Dinuse_004_pos.ksh87 log_must zpool add $TESTPOOL spare $FS_DISK1
/illumos-gate/usr/src/test/zfs-tests/tests/functional/online_offline/
H A Donline_offline_003_neg.ksh40 # 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/zvol/zvol_misc/
H A Dzvol_misc_003_neg.ksh64 log_assert "Verify zpool creation and newfs on dump zvol is denied."
78 log_mustnot zpool create $TESTPOOL1 $voldev
80 log_pass "Verify zpool creation and newfs on dump zvol is denied."
/illumos-gate/usr/src/test/zfs-tests/tests/functional/cli_root/zpool_attach/
H A Dzpool_attach_001_neg.ksh36 # Executing 'zpool attach' command with bad options fails.
39 # 1. Create an array of badly formed 'zpool attach' options.
68 log_assert "Executing 'zpool attach' with bad options fails"
78 log_mustnot zpool attach ${args[$i]}
83 log_pass "'zpool attach' command with bad options failed as expected."
/illumos-gate/usr/src/test/zfs-tests/tests/functional/cli_root/zpool_online/
H A Dzpool_online_002_neg.ksh36 # 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/test/zfs-tests/tests/functional/cli_root/zpool_replace/
H A Dzpool_replace_001_neg.ksh36 # Executing 'zpool replace' command with bad options fails.
39 # 1. Create an array of badly formed 'zpool replace' options.
68 log_assert "Executing 'zpool replace' with bad options fails"
78 log_mustnot zpool replace ${args[$i]}
83 log_pass "'zpool replace' command with bad options failed as expected."
/illumos-gate/usr/src/test/zfs-tests/tests/functional/grow_replicas/
H A Dgrow_replicas_001_pos.ksh95 log_must zpool add $TESTPOOL $pooltype ${DISK}s3 ${DISK}s4
99 log_must zpool add $TESTPOOL $pooltype ${DISK2}s0 ${DISK3}s0
/illumos-gate/usr/src/test/zfs-tests/tests/functional/privilege/
H A Dprivilege_002_pos.ksh69 log_must zpool create -f $TESTPOOL $DISKS
86 log_mustnot su $ZFS_USER -c "zpool destroy $DATASET"
87 log_mustnot su $ZFS_USER -c "pfexec zpool destroy $DATASET"
/illumos-gate/usr/src/test/zfs-tests/tests/functional/reservation/
H A Dreservation_013_pos.sh94 log_must zpool export $TESTPOOL
95 log_must zpool import $TESTPOOL
/illumos-gate/usr/src/cmd/hal/tools/
H A DMakefile41 hal-storage-zpool-export hal-storage-zpool-import
57 CLEANFILES += $(STORAGE_SHAREDOBJS) $(STORAGE_OBJS) hal-storage-zpool.o
128 hal-storage-zpool-export: hal-storage-zpool.c $(STORAGE_SHAREDOBJS)
129 $(LINK.c) -o $@ $(STORAGE_SHAREDOBJS) -DZPOOL_SUBCMD=\"export\" hal-storage-zpool.c $(LDLIBS)
132 hal-storage-zpool-import: hal-storage-zpool.c $(STORAGE_SHAREDOBJS)
133 $(LINK.c) -o $@ $(STORAGE_SHAREDOBJS) -DZPOOL_SUBCMD=\"import\" hal-storage-zpool.c $(LDLIBS)
/illumos-gate/usr/src/tools/quick/
H A Dmake-zfs200 zpool \
259 $ROOT/usr/share/man/man1m/zpool.1m )
261 $ROOT/usr/share/man/man5/zpool-features.5 )
264 (cd $SRC/man/man1m && make zdb.1m.check zfs.1m.check zpool.1m.check)
265 (cd $SRC/man/man5 && make zpool-features.5.check)
283 find cmd/zpool -name '*.[ch]' -print |sort
328 sbin/zpool
342 usr/share/man/man1m/zpool.1m
343 usr/share/man/man5/zpool-features.5
/illumos-gate/usr/src/test/zfs-tests/tests/functional/cli_root/zfs_copies/
H A Dzfs_copies.kshlib111 log_must zpool create $TESTPOOL1 $vol_b_path
140 log_must zpool destroy $TESTPOOL1
H A Dzfs_copies_005_neg.ksh62 log_must zpool import -d $TESTDIR $ZPOOL_VERSION_1_NAME
/illumos-gate/usr/src/test/zfs-tests/tests/functional/cli_root/
H A DMakefile62 zpool \
/illumos-gate/usr/src/test/zfs-tests/tests/functional/cli_root/zfs_set/
H A Duser_property_004_pos.ksh75 zpool upgrade -v | grep "Snapshot properties" > /dev/null 2>&1

Completed in 92 milliseconds

1234567891011