Home
last modified time | relevance | path

Searched refs:zpool (Results 1 – 25 of 464) sorted by relevance

12345678910>>...19

/illumos-gate/usr/src/test/zfs-tests/tests/functional/bootfs/
H A Dbootfs_006_pos.ksh48 zpool set 2>&1 | grep bootfs > /dev/null
63 log_must zpool set bootfs=$POOL/$TESTFS $POOL
67 log_must zpool status -v $POOL
71 log_must zpool destroy $POOL
77 log_mustnot zpool set bootfs=$POOL/$TESTFS $POOL
81 log_must zpool status -v $POOL
84 log_must zpool destroy $POOL
90 log_must zpool destroy $TESTPOOL
106 log_must zpool create $TESTPOOL $VDEV1
110 log_must zpool create $TESTPOOL $VDEV1 spare $VDEV2
[all …]
/illumos-gate/usr/src/test/zfs-tests/tests/functional/cli_root/zpool_import/
H A Dimport_cachefile_device_removed.ksh59 log_must zpool export $TESTPOOL1
65 log_must zpool destroy $TESTPOOL1
84 log_must zpool remove $TESTPOOL1 $VDEV4
87 log_must zpool remove $TESTPOOL1 $VDEV3
91 log_must zpool export $TESTPOOL1
97 log_must zpool destroy $TESTPOOL1
116 log_must zpool remove $TESTPOOL1 $VDEV1
118 log_must zpool remove $TESTPOOL1 $VDEV3
121 log_must zpool add $TESTPOOL1 $VDEV4
123 log_must zpool export $TESTPOOL1
[all …]
H A Dzpool_import_007_pos.ksh66 log_must zpool create $TESTPOOL1 raidz $VDEV0 $VDEV1 $VDEV2 $VDIV3
73 log_must zpool destroy $TESTPOOL1
75 log_must zpool create $TESTPOOL2 $VDEV0
76 log_must zpool import -d $DEVICE_DIR -D -f $target
77 log_must zpool destroy $TESTPOOL1
79 log_must zpool destroy $TESTPOOL2
81 log_must zpool import -d $DEVICE_DIR -D -f $target
82 log_must zpool destroy $TESTPOOL1
86 log_must zpool create $TESTPOOL2 $VDEV0 $VDEV1
87 log_mustnot zpool import -d $DEVICE_DIR -D -f $target
[all …]
H A Dzpool_import_008_pos.ksh66 log_must zpool create $TESTPOOL1 raidz2 $VDEV0 $VDEV1 $VDEV2 $VDIV3
73 log_must zpool destroy $TESTPOOL1
75 log_must zpool create $TESTPOOL2 $VDEV0 $VDEV1
76 log_must zpool import -d $DEVICE_DIR -D -f $target
77 log_must zpool destroy $TESTPOOL1
79 log_must zpool destroy $TESTPOOL2
81 log_must zpool import -d $DEVICE_DIR -D -f $target
82 log_must zpool destroy $TESTPOOL1
87 log_must zpool create $TESTPOOL2 $VDEV0 $VDEV1 $VDEV2
88 log_mustnot zpool import -d $DEVICE_DIR -D -f $target
[all …]
H A Dzpool_import_010_pos.ksh71 log_must zpool create $poolA mirror $VDEV0 $VDEV1 $VDEV2 $VDEV3 $VDEV4
72 log_must zpool destroy $poolA
74 log_must zpool create $poolB $VDEV1
75 log_must zpool destroy $poolB
77 log_must zpool create $poolC raidz2 $VDEV2 $VDEV3 $VDEV4
78 log_must zpool destroy $poolC
80 log_must zpool create $poolD raidz $VDEV3 $VDEV4
81 log_must zpool destroy $poolD
83 log_must zpool create $poolE $VDEV4
84 log_must zpool destroy $poolE
[all …]
H A Dimport_rewind_device_replaced.ksh82 log_must zpool create $TESTPOOL1 $poolcreate
100 log_must zpool export $TESTPOOL1
101 log_must zpool import -d $DEVICE_DIR $TESTPOOL1
105 log_must zpool replace $TESTPOOL1 $replacevdev $replaceby
109 log_must zpool export $TESTPOOL1
121 log_must zpool export $TESTPOOL1
124 log_must zpool import -d $DEVICE_DIR $TESTPOOL1
127 log_must zpool export $TESTPOOL1
136 log_must zpool import -d $DEVICE_DIR -T $txg $TESTPOOL1
142 log_must zpool destroy $TESTPOOL1
[all …]
H A Dimport_cachefile_device_replaced.ksh78 log_must zpool create -o cachefile=$CPATH $TESTPOOL1 $poolcreate
85 log_must zpool export $TESTPOOL1
87 log_must zpool import -c $CPATH -o cachefile=$CPATH $TESTPOOL1
89 log_must zpool replace $TESTPOOL1 $replacevdev $replaceby
96 log_must zpool export $TESTPOOL1
105 log_must zpool import -c $CPATH $TESTPOOL1
109 log_must zpool export $TESTPOOL1
116 log_must zpool import -c $CPATHBKP $TESTPOOL1
118 log_must zpool export $TESTPOOL1
123 log_must zpool import -c $CPATHBKP2 $TESTPOOL1
[all …]
H A Dimport_rewind_config_changed.ksh68 log_must zpool create $TESTPOOL1 $poolcreate
83 log_must zpool add -f $TESTPOOL1 $addvdevs
86 log_must zpool attach $TESTPOOL1 $attachargs
89 log_must zpool detach $TESTPOOL1 $detachvdev
94 log_must zpool remove $TESTPOOL1 $removevdev
101 zpool export $TESTPOOL1
107 zpool import -d $DEVICE_DIR $TESTPOOL1
124 log_must zpool checkpoint $TESTPOOL1
128 log_must zpool export $TESTPOOL1
136 log_must zpool destroy $TESTPOOL1
[all …]
H A Dzpool_import_all_001_pos.ksh68 log_must zpool export $pool
81 for pool in `zpool import | grep "pool:" | awk '{print $2}'`; do
82 zpool import -f $pool
85 for pool in `zpool import -d $DEVICE_DIR | grep "pool:" | awk '{print $2}'`; do
86 log_must zpool import -d $DEVICE_DIR -f $pool
96 log_must zpool export ${TESTPOOL}-$id
101 log_must zpool import -f ${TESTPOOL}-$id $TESTPOOL
156 log_must zpool export $TESTPOOL
157 log_must zpool import $TESTPOOL ${TESTPOOL}-0
159 log_must zpool export ${TESTPOOL}-0
[all …]
/illumos-gate/usr/src/test/zfs-tests/tests/functional/cli_root/zpool_export/
H A Dzpool_export_004_pos.ksh81 log_must zpool create $TESTPOOL1 mirror $vdev0 $vdev1 spare $vdev4
84 log_must zpool export $TESTPOOL1
85 log_must zpool import -d $mntpnt $TESTPOOL1
87 log_must zpool replace $TESTPOOL1 $vdev0 $vdev4
88 log_must zpool detach $TESTPOOL1 $vdev4
89 log_must zpool export $TESTPOOL1
90 log_must zpool import -d $mntpnt $TESTPOOL1
92 log_must zpool replace $TESTPOOL1 $vdev0 $vdev4
93 log_mustnot zpool export $TESTPOOL1
95 log_must zpool export -f $TESTPOOL1
[all …]
/illumos-gate/usr/src/test/zfs-tests/tests/functional/alloc_class/
H A Dalloc_class_003_pos.ksh36 log_must zpool create $TESTPOOL $type $ZPOOL_DISKS
39 log_must zpool add $TESTPOOL special mirror \
41 log_must zpool iostat -H $TESTPOOL $CLASS_DISK0
42 log_must zpool iostat -H $TESTPOOL $CLASS_DISK1
43 log_must zpool iostat -H $TESTPOOL $CLASS_DISK2
45 log_must zpool add $TESTPOOL special mirror \
47 log_must zpool iostat -H $TESTPOOL $CLASS_DISK0
48 log_must zpool iostat -H $TESTPOOL $CLASS_DISK1
50 log_must zpool add $TESTPOOL special $CLASS_DISK0
51 log_must zpool iostat -H $TESTPOOL $CLASS_DISK0
[all …]
/illumos-gate/usr/src/test/zfs-tests/tests/functional/cli_root/zpool_create/
H A Dzpool_create_encrypted.ksh67 log_mustnot zpool create -O keylocation=prompt $TESTPOOL $DISKS
68 log_mustnot zpool create -O keyformat=passphrase $TESTPOOL $DISKS
72 log_must zpool create -O encryption=off $TESTPOOL $DISKS
73 log_must zpool destroy $TESTPOOL
75 log_mustnot zpool create -O encryption=off -O keylocation=prompt \
77 log_mustnot zpool create -O encryption=off -O keyformat=passphrase \
79 log_mustnot zpool create -O encryption=off -O keyformat=passphrase \
82 log_mustnot zpool create -O encryption=on $TESTPOOL $DISKS
83 log_mustnot zpool create -O encryption=on -O keylocation=prompt \
88 log_must zpool destroy $TESTPOOL
[all …]
/illumos-gate/usr/src/test/zfs-tests/tests/functional/cachefile/
H A Dcachefile_004_pos.ksh82 log_must zpool create $TESTPOOL $DISKS
97 log_must zpool set cachefile=$CPATH2 $TESTPOOL1
99 log_must zpool set cachefile=$CPATH2 $TESTPOOL2
105 log_must zpool export $TESTPOOL1
106 log_must zpool export $TESTPOOL2
111 log_must zpool import -d $mntpnt $TESTPOOL1
112 log_must zpool set cachefile=$CPATH2 $TESTPOOL1
114 log_must zpool import -d $mntpnt $TESTPOOL2
115 log_must zpool set cachefile=$CPATH2 $TESTPOOL2
118 log_must zpool destroy $TESTPOOL1
[all …]
H A Dcachefile_002_pos.ksh64 log_must zpool create -o cachefile=none $TESTPOOL $DISKS
68 log_must zpool export $TESTPOOL
69 log_must zpool import -d $DEVICEDIR $TESTPOOL
72 log_must zpool export $TESTPOOL
73 log_must zpool import -o cachefile=none -d $DEVICEDIR $TESTPOOL
76 log_must zpool export $TESTPOOL
77 log_must zpool import -o cachefile=$CPATH -d $DEVICEDIR $TESTPOOL
80 log_must zpool destroy $TESTPOOL
/illumos-gate/usr/src/test/zfs-tests/tests/functional/pool_checkpoint/
H A Dcheckpoint_discard_busy.ksh72 log_must zpool checkpoint $NESTEDPOOL
76 log_must zpool checkpoint -d $NESTEDPOOL
78 log_must zpool export $NESTEDPOOL
89 log_mustnot zpool import -d $FILEDISKDIR --rewind-to-checkpoint $NESTEDPOOL
91 log_must zpool import -d $FILEDISKDIR $NESTEDPOOL
97 log_mustnot zpool checkpoint $NESTEDPOOL
98 log_mustnot zpool checkpoint -d $NESTEDPOOL
99 log_mustnot zpool remove $NESTEDPOOL $FILEDISK1
100 log_mustnot zpool reguid $NESTEDPOOL
107 log_must zpool export $NESTEDPOOL
H A Dpool_checkpoint.kshlib141 log_must zpool create $NESTEDPOOL $FILEDISKS
146 log_must zpool create $TESTPOOL "$TESTDISK"
158 log_must zpool destroy $NESTEDPOOL
166 log_must zpool destroy $TESTPOOL
176 zpool labelclear -f $disk
193 log_must zpool remove $NESTEDPOOL $disk
196 log_must zpool add $NESTEDPOOL $disk
315 log_must zpool list -v
329 log_must zpool list -v
340 log_must zpool export $NESTEDPOOL
[all …]
/illumos-gate/usr/src/test/zfs-tests/tests/longevity/
H A Dslop_space_test.ksh70 log_must zpool destroy $TESTPOOL
108 log_must zpool create $TESTPOOL $DISK
114 log_must zpool create $NESTEDPOOL $FILEDISK
127 log_must zpool list $NESTEDPOOL
147 log_must zpool list $NESTEDPOOL
149 log_must zpool checkpoint $NESTEDPOOL
158 log_must zpool list $NESTEDPOOL
199 log_must zpool list $NESTEDPOOL
211 log_must zpool list $NESTEDPOOL
233 log_must zpool list $NESTEDPOOL
[all …]
/illumos-gate/usr/src/test/zfs-tests/tests/functional/cli_root/zpool_attach/
H A Dattach-o_ashift.ksh62 log_must zpool create -o ashift=$ashift $TESTPOOL1 $disk1
72 log_must zpool attach -o ashift=$cmdval $TESTPOOL1 \
81 log_mustnot zpool attach -o ashift=$cmdval $TESTPOOL1 \
85 log_must zpool destroy $TESTPOOL1
86 log_must zpool labelclear $disk1
87 log_must zpool labelclear $disk2
94 log_must zpool create $TESTPOOL1 $disk1
95 log_mustnot zpool attach $TESTPOOL1 -o ashift=$badval $disk1 $disk2
96 log_must zpool destroy $TESTPOOL1
97 log_must zpool labelclear $disk1
[all …]
/illumos-gate/usr/src/test/zfs-tests/tests/functional/cli_root/zpool_replace/
H A Dreplace-o_ashift.ksh62 log_must zpool create -o ashift=$ashift $TESTPOOL1 $disk1
72 log_must zpool replace -o ashift=$cmdval $TESTPOOL1 \
82 log_mustnot zpool replace -o ashift=$cmdval $TESTPOOL1 \
86 log_must zpool destroy $TESTPOOL1
87 log_must zpool labelclear $disk1
88 log_must zpool labelclear $disk2
95 log_must zpool create $TESTPOOL1 $disk1
96 log_mustnot zpool replace -o ashift=$badval $TESTPOOL1 $disk1 $disk2
97 log_must zpool destroy $TESTPOOL1
98 log_must zpool labelclear $disk1
[all …]
/illumos-gate/usr/src/test/zfs-tests/tests/functional/cli_root/zpool_labelclear/
H A Dzpool_labelclear_active.ksh43 log_must zpool create -O mountpoint=none -f $TESTPOOL $disk1 log $disk2
46 log_mustnot zpool labelclear $disk1
48 log_mustnot zpool labelclear -f $disk1
50 log_mustnot zpool labelclear $disk2
52 log_mustnot zpool labelclear -f $disk2
58 log_must zpool add $TESTPOOL $vdevtype $disk3
59 log_mustnot zpool labelclear $disk3
61 log_mustnot zpool labelclear -f $disk3
63 log_must zpool remove $TESTPOOL $disk3
64 log_must zpool labelclear $disk3
H A Dzpool_labelclear_exported.ksh46 log_must zpool create -O mountpoint=none -f $TESTPOOL $disk1 log $disk2
49 log_must zpool add $TESTPOOL $vdevtype $disk3
52 log_must zpool export $TESTPOOL
55 log_mustnot zpool labelclear $disk1
57 log_mustnot zpool labelclear $disk2
61 log_must zpool labelclear -f $disk1
63 log_must zpool labelclear -f $disk2
68 log_must zpool labelclear $disk3
/illumos-gate/usr/src/test/zfs-tests/tests/functional/cli_root/zpool_add/
H A Dadd-o_ashift.ksh60 log_must zpool create $TESTPOOL $disk1
61 log_must zpool add -o ashift=$ashift $TESTPOOL $disk2
69 log_must zpool destroy $TESTPOOL
70 log_must zpool labelclear $disk1
71 log_must zpool labelclear $disk2
77 log_must zpool create $TESTPOOL $disk1
78 log_mustnot zpool add $TESTPOOL -o ashift="$badval" $disk2
80 log_must zpool destroy $TESTPOOL
81 log_must zpool labelclear $disk1
82 log_mustnot zpool labelclear $disk2
H A Dadd_prop_ashift.ksh62 log_must zpool create -o ashift=$ashift $TESTPOOL $disk1
63 log_must zpool add $TESTPOOL $disk2
71 log_must zpool destroy $TESTPOOL
72 log_must zpool labelclear $disk1
73 log_must zpool labelclear $disk2
80 log_must zpool create -o ashift=$ashift $TESTPOOL $disk1
81 log_must zpool add -o ashift=$cmdval $TESTPOOL $disk2
89 log_must zpool destroy $TESTPOOL
90 log_must zpool labelclear $disk1
91 log_must zpool labelclear $disk2
/illumos-gate/usr/src/test/zfs-tests/tests/functional/cli_root/zpool_initialize/
H A Dzpool_initialize_start_and_cancel_neg.ksh45 log_must zpool list -v
46 log_must zpool create -f $TESTPOOL $DISK1 $DISK2 $DISK3
47 log_must zpool initialize $TESTPOOL $DISK1
52 log_mustnot zpool initialize -c $TESTPOOL $DISK2
53 log_mustnot zpool initialize -c $TESTPOOL $DISK2 $DISK3
55 log_mustnot zpool initialize -s $TESTPOOL $DISK2
56 log_mustnot zpool initialize -s $TESTPOOL $DISK2 $DISK3
58 log_mustnot zpool initialize $TESTPOOL $DISK1
/illumos-gate/usr/src/test/zfs-tests/tests/functional/cli_root/zpool_trim/
H A Dzpool_trim_start_and_cancel_neg.ksh41 log_must zpool list -v
42 log_must zpool create -f $TESTPOOL $DISK1 $DISK2 $DISK3
43 log_must zpool trim -r 128M $TESTPOOL $DISK1
48 log_mustnot zpool trim -c $TESTPOOL $DISK2
49 log_mustnot zpool trim -c $TESTPOOL $DISK2 $DISK3
51 log_mustnot zpool trim -s $TESTPOOL $DISK2
52 log_mustnot zpool trim -s $TESTPOOL $DISK2 $DISK3
54 log_mustnot zpool trim $TESTPOOL $DISK1

12345678910>>...19