Home
last modified time | relevance | path

Searched refs:ZPOOL (Results 1 – 25 of 236) sorted by relevance

12345678910

/titanic_44/usr/src/test/zfs-tests/tests/functional/bootfs/
H A Dbootfs_006_pos.ksh43 $ZPOOL set 2>&1 | $GREP bootfs > /dev/null
58 log_must $ZPOOL set bootfs=$POOL/$TESTFS $POOL
59 VAL=$($ZPOOL get bootfs $POOL | $TAIL -1 | $AWK '{print $3}' )
62 log_must $ZPOOL status -v $POOL
66 log_must $ZPOOL destroy $POOL
72 log_mustnot $ZPOOL set bootfs=$POOL/$TESTFS $POOL
73 VAL=$($ZPOOL get bootfs $POOL | $TAIL -1 | $AWK '{print $3}' )
76 log_must $ZPOOL status -v $POOL
79 log_must $ZPOOL destroy $POOL
85 log_must $ZPOOL destroy $TESTPOOL
[all …]
H A Dbootfs_003_pos.ksh47 log_must $ZPOOL destroy $POOL
53 $ZPOOL set 2>&1 | $GREP bootfs > /dev/null
69 log_must $ZPOOL create $POOL /bootfs_003.$$.dat
72 log_must $ZPOOL set bootfs=$POOL/$TESTFS $POOL
73 RES=$($ZPOOL get bootfs $POOL | $TAIL -1 | $AWK '{print $3}' )
78 log_must $ZPOOL destroy $POOL
/titanic_44/usr/src/test/zfs-tests/tests/functional/history/
H A Dhistory_001_pos.ksh69 run_and_verify -p "$MPOOL" "$ZPOOL create $MPOOL mirror $VDEV1 $VDEV2"
70 run_and_verify -p "$MPOOL" "$ZPOOL add -f $MPOOL spare $VDEV3"
71 run_and_verify -p "$MPOOL" "$ZPOOL remove $MPOOL $VDEV3"
72 run_and_verify -p "$MPOOL" "$ZPOOL offline $MPOOL $VDEV1"
73 run_and_verify -p "$MPOOL" "$ZPOOL online $MPOOL $VDEV1"
74 run_and_verify -p "$MPOOL" "$ZPOOL attach $MPOOL $VDEV1 $VDEV4"
75 run_and_verify -p "$MPOOL" "$ZPOOL detach $MPOOL $VDEV4"
76 run_and_verify -p "$MPOOL" "$ZPOOL replace -f $MPOOL $VDEV1 $VDEV4"
77 run_and_verify -p "$MPOOL" "$ZPOOL scrub $MPOOL"
78 run_and_verify -p "$MPOOL" "$ZPOOL clear $MPOOL"
[all …]
H A Dhistory_005_neg.ksh55 log_must eval "$ZPOOL history $TESTPOOL >$OLD_HISTORY"
57 log_must $ZPOOL get all $TESTPOOL >/dev/null
58 log_must $ZPOOL list $TESTPOOL >/dev/null
59 log_must $ZPOOL status $TESTPOOL >/dev/null
60 log_must $ZPOOL iostat $TESTPOOL >/dev/null
62 log_must eval "$ZPOOL history $TESTPOOL >$NEW_HISTORY"
/titanic_44/usr/src/test/zfs-tests/tests/functional/cli_root/zpool_export/
H A Dzpool_export_004_pos.ksh52 datasetexists $TESTPOOL1 || log_must $ZPOOL import -d $mntpnt $TESTPOOL1
77 log_must $ZPOOL create $TESTPOOL1 mirror $vdev0 $vdev1 spare $vdev4
78 log_must $ZPOOL create $TESTPOOL2 mirror $vdev2 $vdev3 spare $vdev4
80 log_must $ZPOOL export $TESTPOOL1
81 log_must $ZPOOL import -d $mntpnt $TESTPOOL1
83 log_must $ZPOOL replace $TESTPOOL1 $vdev0 $vdev4
84 log_must $ZPOOL detach $TESTPOOL1 $vdev4
85 log_must $ZPOOL export $TESTPOOL1
86 log_must $ZPOOL import -d $mntpnt $TESTPOOL1
88 log_must $ZPOOL replace $TESTPOOL1 $vdev0 $vdev4
[all …]
/titanic_44/usr/src/test/zfs-tests/tests/functional/cachefile/
H A Dcachefile_004_pos.ksh82 log_must $ZPOOL create $TESTPOOL $DISKS
92 log_must $ZPOOL create -o cachefile=$CPATH1 $TESTPOOL1 $vdev0
94 log_must $ZPOOL create -o cachefile=$CPATH1 $TESTPOOL2 $vdev1
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
[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
/titanic_44/usr/src/test/zfs-tests/tests/functional/cli_root/zpool_import/
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 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 …]
H A Dzpool_import_features_003_pos.ksh61 log_must $ZPOOL create $TESTPOOL1 $VDEV0
62 log_must $ZPOOL export $TESTPOOL1
72 log_mustnot $ZPOOL import -d $DEVICE_DIR $TESTPOOL1
75 log_must eval "$ZPOOL import -d $DEVICE_DIR $TESTPOOL1 | $GREP readonly"
79 log_mustnot eval "$ZPOOL import -d $DEVICE_DIR $TESTPOOL1 \
85 log_must eval "$ZPOOL import -d $DEVICE_DIR $TESTPOOL1 \
90 log_must $ZPOOL import -o readonly=on -d $DEVICE_DIR $TESTPOOL1
93 state=$($ZPOOL list -Ho unsupported@$feature $TESTPOOL1)
100 state=$($ZPOOL list -Ho unsupported@$feature $TESTPOOL1)
H A Dzpool_import_006_pos.ksh66 log_must $ZPOOL create $TESTPOOL1 mirror $VDEV0 $VDEV1 $VDEV2
73 log_must $ZPOOL destroy $TESTPOOL1
75 log_must $ZPOOL create $TESTPOOL2 $VDEV0 $VDEV2
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
H A Dzpool_import_011_neg.ksh66 log_must $ZPOOL create $TESTPOOL1 $VDEV0 $VDEV1 $VDEV2
73 log_must $ZPOOL destroy $TESTPOOL1
74 log_must $ZPOOL create $TESTPOOL2 $VDEV2
76 log_mustnot $ZPOOL import -d $DEVICE_DIR -D -f $target
78 log_must $ZPOOL destroy $TESTPOOL2
79 log_mustnot $ZPOOL import -d $DEVICE_DIR -D -f $target
/titanic_44/usr/src/test/zfs-tests/tests/functional/pool_names/
H A Dpool_names_002_neg.ksh56 log_must $ZPOOL destroy $POOLNAME
67 for pool in $($ZPOOL list -H -o name | \
71 log_must $ZPOOL destroy $pool
86 log_mustnot $ZPOOL create -m $TESTDIR $POOLNAME $DISK
91 log_mustnot $ZPOOL destroy $POOLNAME
102 log_mustnot $ZPOOL create -m $TESTDIR $POOLNAME $DISK
107 log_mustnot $ZPOOL destroy $POOLNAME
121 log_mustnot $ZPOOL create -m $TESTDIR ${POOLNAME[$i]} $DISK
126 log_mustnot $ZPOOL destroy ${POOLNAME[$i]}
/titanic_44/usr/src/test/zfs-tests/tests/functional/cli_root/zpool/
H A Dzpool_003_pos.ksh49 log_must $ZPOOL -? > /dev/null 2>&1
52 log_must $ZPOOL freeze $TESTPOOL
54 log_mustnot $ZPOOL freeze $TESTPOOL
55 log_mustnot $ZPOOL freeze ${TESTPOOL%%/*}
58 log_mustnot $ZPOOL freeze fakepool
64 $ZPOOL > /dev/null 2>&1
67 [[ -f core ]] || log_fail "$ZPOOL did not dump core by request."
/titanic_44/usr/src/test/zfs-tests/tests/functional/slog/
H A Dslog_013_pos.ksh51 log_must $ZPOOL destroy -f $TESTPOOL2
64 log_must $ZPOOL create $TESTPOOL ${DISKS#$dsk1}
67 log_must $ZPOOL add $TESTPOOL log $dsk1
70 log_must $ZPOOL add $TESTPOOL log $LDEV
78 log_must $ZPOOL add $TESTPOOL log $lofidev
88 log_must $ZPOOL add $TESTPOOL $mntpnt/vdev
93 log_must $ZPOOL create -V 64M $vol
94 log_must $ZPOOL add $TESTPOOL /dev/zvol/dsk/$vol
H A Dslog_014_pos.ksh52 log_must $ZPOOL create $TESTPOOL $type $VDEV $spare $SDEV \
60 log_must $ZPOOL scrub $TESTPOOL
62 log_must $ZPOOL status $TESTPOOL 2>&1 >/dev/null
64 $ZPOOL status -v $TESTPOOL | \
70 $ZPOOL status -v $TESTPOOL | $GREP logs | \
76 log_must $ZPOOL destroy -f $TESTPOOL
/titanic_44/usr/src/test/zfs-tests/tests/functional/cli_root/zpool_scrub/
H A Dzpool_scrub_005_pos.ksh49 log_must $ZPOOL scrub $TESTPOOL
50 log_must $ZPOOL detach $TESTPOOL $DISK2
51 log_must $ZPOOL attach $TESTPOOL $DISK1 $DISK2
57 log_must $ZPOOL scrub $TESTPOOL
58 log_must $ZPOOL detach $TESTPOOL $DISK1
59 log_must $ZPOOL attach $TESTPOOL $DISK2 $DISK1
/titanic_44/usr/src/test/zfs-tests/tests/functional/cli_root/zpool_create/
H A Dzpool_create_features_002_pos.ksh45 datasetexists $TESTPOOL && log_must $ZPOOL destroy $TESTPOOL
50 for prop in $($ZPOOL get all $TESTPOOL | $AWK '$2 ~ /feature@/ { print $2 }'); do
51 state=$($ZPOOL list -Ho "$prop" $TESTPOOL)
62 log_must $ZPOOL create -f -d $TESTPOOL $DISKS
64 log_must $ZPOOL destroy -f $TESTPOOL
66 log_must $ZPOOL create -f -o version=28 $TESTPOOL $DISKS
/titanic_44/usr/src/test/zfs-tests/tests/functional/poolversion/
H A Dpoolversion_002_pos.ksh49 log_must $ZPOOL set version=6 $TESTPOOL2
53 VERSION=$($ZPOOL get version $TESTPOOL2| $GREP version | $AWK '{print $3}')
58 log_must $ZPOOL set bootfs=$TESTPOOL2 $TESTPOOL2
61 log_mustnot $ZPOOL set version=5 $TESTPOOL2
62 log_mustnot $ZPOOL set version=-1 $TESTPOOL2
65 VERSION=$($ZPOOL get version $TESTPOOL2 | $GREP version | $AWK '{print $3}')
/titanic_44/usr/src/test/zfs-tests/tests/functional/cache/
H A Dcache.kshlib36 log_must $ZPOOL destroy -f $TESTPOOL
39 log_must $ZPOOL destroy -f $TESTPOOL2
53 $ZPOOL status -xv $pool > /dev/null 2>&1
56 $ZPOOL iostat > /dev/null 2>&1
63 $ZPOOL iostat -v 1 3 > /dev/null
103 set -A dev_stat_tab $($ZPOOL status -v $pool | $NAWK 'BEGIN {start=0} \
158 $ZPOOL upgrade -v | $GREP "Cache devices" > /dev/null 2>&1
H A Dcache_006_pos.ksh56 log_must $ZPOOL create $TESTPOOL $type $VDEV \
65 log_must $ZPOOL export $TESTPOOL
66 log_must $ZPOOL import -d $VDIR $TESTPOOL
75 log_must $ZPOOL destroy $TESTPOOL
76 log_must $ZPOOL import -Df -d $VDIR $TESTPOOL
82 log_must $ZPOOL destroy -f $TESTPOOL
/titanic_44/usr/src/test/zfs-tests/tests/functional/privilege/
H A Dprivilege_001_pos.ksh65 log_mustnot $SU $ZFS_USER -c "$ZPOOL create $TESTPOOL $DISKS"
66 log_mustnot $SU $ZFS_USER -c "$PFEXEC $ZPOOL create $TESTPOOL $DISKS"
70 log_must $SU $ZFS_USER -c "$PFEXEC $ZPOOL create -f $TESTPOOL $DISKS"
84 log_mustnot $SU $ZFS_USER -c "$ZPOOL destroy $TESTPOOL"
85 log_must $SU $ZFS_USER -c "$PFEXEC $ZPOOL destroy $TESTPOOL"
89 log_mustnot $SU $ZFS_USER -c "$PFEXEC $ZPOOL create -f $TESTPOOL $DISKS"
/titanic_44/usr/src/test/zfs-tests/tests/functional/cli_user/misc/
H A Dzpool_history_001_neg.ksh49 log_mustnot $ZPOOL history
50 log_mustnot $ZPOOL history $TESTPOOL
51 log_mustnot $ZPOOL history -i $TESTPOOL
52 log_mustnot $ZPOOL history -l $TESTPOOL
53 log_mustnot $ZPOOL history -il $TESTPOOL

12345678910