Searched refs:spare (Results 1 - 25 of 171) sorted by relevance

1234567

/freebsd-current/sys/contrib/openzfs/tests/zfs-tests/tests/functional/fault/
H A Dauto_spare_shared.ksh31 # 2. Add the same spare device to different pools
34 # 5. Verify the ZED kicks in a hot spare and check pool/device status
36 # 7. Verify the hot spare is available and check pool/device status
42 # Add one 512b spare device (4Kn would generate IO errors on replace)
70 SPARE_FILEDEV="$TEST_BASE_DIR/file-spare-dev"
75 for spare in $SPARE_FILEDEV $SPARE_DISKDEV; do
80 # 2. Add the same spare device to different pools
81 log_must_busy zpool add $TESTPOOL spare $spare
82 log_must_busy zpool add $TESTPOOL1 spare
[all...]
/freebsd-current/sys/contrib/openzfs/tests/zfs-tests/tests/functional/inuse/
H A Dinuse_006_pos.ksh37 # dumpadm will not interfere with devices and spare devices that are in use
84 typeset spare="spare $sdisks"
87 [[ ${vdevs[i]} = "raidz2" ]] && spare="$sdisks"
88 create_pool $TESTPOOL1 ${vdevs[i]} $vdisks $spare
H A Dinuse_008_pos.ksh37 # Newfs will interfere with devices and spare devices that are in use
86 typeset spare="spare $sdisks"
89 [[ ${vdevs[i]} = "raidz2" ]] && spare="$sdisks"
90 create_pool $TESTPOOL1 ${vdevs[i]} $vdisks $spare
H A Dinuse_009_pos.ksh37 # format command will interfere with devices and spare devices that are in use
83 typeset spare="spare $sdisks"
86 [[ ${vdevs[i]} = "raidz2" ]] && spare="$sdisks"
87 create_pool $TESTPOOL1 ${vdevs[i]} $vdisks $spare
H A Dinuse_005_pos.ksh37 # newfs will not interfere with devices and spare devices that are in use
85 typeset spare="spare $sdisks"
88 [[ ${vdevs[i]} = "raidz2" ]] && spare="$sdisks"
89 create_pool $TESTPOOL1 ${vdevs[i]} $vdisks $spare
/freebsd-current/sys/contrib/openzfs/tests/zfs-tests/tests/functional/cli_root/zpool_remove/
H A Dzpool_remove_002_pos.ksh37 # Verify that 'zpool can only remove inactive hot spare devices from pool'
60 log_must zpool create $TESTPOOL $spare_devs1 spare $spare_devs2
64 log_must zpool add $TESTPOOL spare $spare_devs2
/freebsd-current/tests/sys/cddl/zfs/tests/hotspare/
H A Dhotspare_add_004_neg.ksh87 log_mustnot "$ZPOOL" add "$TESTPOOL" spare "$SWAPDEV"
88 log_mustnot "$ZPOOL" add -f "$TESTPOOL" spare "$SWAPDEV"
H A Dhotspare_add_003_neg.ksh117 log_mustnot $ZPOOL add $TESTPOOL spare ${arg[i]}
118 log_mustnot $ZPOOL add -f $TESTPOOL spare ${arg[i]}
126 log_must $ZPOOL add $TESTPOOL spare ${dump_dev}
128 log_must $ZPOOL add -f $TESTPOOL spare ${dump_dev}
134 log_mustnot $ZPOOL add "$TESTPOOL" spare ${pooldevs[1]}
/freebsd-current/tests/sys/cddl/zfs/tests/cli_root/zpool_remove/
H A Dzpool_remove_002_pos.ksh35 # Verify that 'zpool can only remove inactive hot spare devices from pool'
66 log_must $ZPOOL create $TESTPOOL $spare_devs1 spare $spare_devs2
70 log_must $ZPOOL add $TESTPOOL spare $spare_devs2
/freebsd-current/sys/contrib/openzfs/tests/zfs-tests/tests/functional/slog/
H A Dslog_004_pos.ksh53 for spare in "" "spare"
58 $spare $SDEV log $logtype $LDEV
H A Dslog_003_pos.ksh53 for spare in "" "spare"
60 $spare $SDEV log $logtype $LDEV
H A Dslog_002_pos.ksh53 for spare in "" "spare"
57 log_must zpool create $TESTPOOL $type $VDEV $spare $SDEV
H A Dslog_001_pos.ksh52 for spare in "" "spare"
57 $spare $SDEV log $logtype $LDEV
H A Dslog_012_neg.ksh52 for spare in "" "spare"
54 log_must zpool create $TESTPOOL $type $VDEV $spare $SDEV \
H A Dslog_006_pos.ksh53 for spare in "" "spare"
58 $spare $SDEV log $logtype $LDEV
H A Dslog_011_neg.ksh53 for spare in "" "spare"
55 log_must zpool create $TESTPOOL $type $VDEV $spare $SDEV \
H A Dslog_005_pos.ksh53 for spare in "" "spare"
55 log_must zpool create $TESTPOOL $type $VDEV $spare $SDEV \
H A Dslog_009_neg.ksh52 for spare in "" "spare"
58 $spare $SDEV $log $LDEV
H A Dslog_008_neg.ksh51 for spare in "" "spare"
56 $spare $SDEV log $logtype $LDEV $LDEV2
/freebsd-current/include/
H A Delf-hints.h43 u_int32_t spare[26]; /* Room for expansion */ member in struct:elfhints_hdr
/freebsd-current/sys/netinet6/
H A Dip_fw_nptv6.h47 uint8_t spare[2]; member in struct:_ipfw_nptv6_cfg
/freebsd-current/tools/regression/zfs/zpool/add/
H A Dspare.t12 expect_ok ${ZPOOL} add ${name0} spare ${disk1}
30 expect_ok ${ZPOOL} add ${name0} spare ${disk2} ${disk3}
51 expect_ok ${ZPOOL} add ${name0} spare ${disk3} ${disk4}
73 expect_ok ${ZPOOL} add ${name0} spare ${disk4} ${disk5}
95 expect_ok ${ZPOOL} create ${name0} ${disk0} spare ${disk1}
96 expect_ok ${ZPOOL} add ${name0} spare ${disk2} ${disk3}
116 expect_ok ${ZPOOL} add ${name0} spare ${disk1} ${disk2}
117 expect_ok ${ZPOOL} add ${name0} spare ${disk3}
/freebsd-current/tests/sys/cddl/zfs/tests/cli_root/zpool_add/
H A Dzpool_add_010_pos.ksh32 log_assert "'zpool add' can add devices, even if a replacing vdev with a spare child is present"
39 log_must $ZPOOL add $TESTPOOL spare ${DISK3}
42 log_must $ZPOOL add $TESTPOOL spare ${DISK4}
44 log_pass "'zpool add <pool> <vdev> ...' executes successfully, even when a replacing vdev with a spare child is present"
/freebsd-current/tests/sys/cddl/zfs/tests/cli_root/zpool_create/
H A Dzpool_create_008_pos.ksh67 # exported device to be as spare vdev need -f to create pool
71 log_mustnot $ZPOOL create $TESTPOOL1 ${disk}p3 spare ${disk}p2
72 create_pool $TESTPOOL1 ${disk}p3 spare ${disk}p2
/freebsd-current/contrib/libarchive/libarchive/
H A Darchive_entry_link_resolver.c80 struct links_entry *spare; member in struct:archive_entry_linkresolver
269 if (res->spare != NULL) {
270 archive_entry_free(res->spare->canonical);
271 archive_entry_free(res->spare->entry);
272 free(res->spare);
273 res->spare = NULL;
304 res->spare = le;
318 if (res->spare != NULL) {
319 archive_entry_free(res->spare->canonical);
320 archive_entry_free(res->spare
[all...]

Completed in 213 milliseconds

1234567