Home
last modified time | relevance | path

Searched full:stripe (Results 1 – 25 of 137) sorted by relevance

123456

/freebsd/tests/sys/cddl/zfs/tests/cli_root/zpool_upgrade/
H A Dzpool_upgrade.cfg47 # v1 stripe
64 # v2 stripe
81 # v3 stripe
179 CONFIGS="1 1stripe 1raidz 1mirror"
184 CONFIGS="1 1stripe 1raidz 1mirror \
185 2 2stripe 2raidz 2mirror 2brokenmirror"
189 CONFIGS="1 1stripe 1raidz 1mirror \
190 2 2stripe 2raidz 2mirror 2brokenmirror \
191 3 3stripe 3raidz 3mirror 3dblraidz 3hotspare"
195 CONFIGS="1 1stripe 1raidz 1mirror \
[all …]
/freebsd/lib/geom/stripe/
H A Dgstripe.870 utility is used for setting up a stripe on two or more disks.
94 method and the stripe will not exist after a reboot (see
141 Specifies size of stripe block in bytes.
152 .Nm STRIPE
156 .It Va kern.geom.stripe.debug : No 0
158 .Nm STRIPE
163 .It Va kern.geom.stripe.fast : No 0
171 uses more memory, but it is much faster for smaller stripe sizes.
173 .Nm STRIPE
176 .It Va kern.geom.stripe.maxmem : No 13107200
[all …]
/freebsd/usr.sbin/mptutil/
H A Dmpt_show.c48 format_stripe(char *buf, size_t buflen, U32 stripe) in format_stripe() argument
51 humanize_number(buf, buflen, stripe * 512, "", HN_AUTOSCALE, in format_stripe()
58 char stripe[5]; in display_stripe_map() local
65 format_stripe(stripe, sizeof(stripe), 1 << i); in display_stripe_map()
68 printf("%s", stripe); in display_stripe_map()
199 char buf[6], stripe[5]; in print_vol() local
205 stripe[0] = '\0'; in print_vol()
207 format_stripe(stripe, sizeof(stripe), info->StripeSize); in print_vol()
211 printf("(%6s) %-8s %6s %-*s", buf, level, stripe, state_len, in print_vol()
213 else if (stripe[0] != '\0') in print_vol()
[all …]
/freebsd/tests/sys/cddl/zfs/tests/slog/
H A Dslog.kshlib73 /\t (\/|[a-zA-Z])/ { print "stripe:" $1 " " $2; }
75 /\t (\/|[0-9])/ {print "stripe:" $NF " " $2}
112 # mirror:/disks/d ONLINE mirror:/disks/e ONLINE stripe:/disks/f ONLINE
123 stripe:$device)
135 if [[ -z "$type" || $type == 'stripe' ]]; then
136 log_note "Unexpected type: stripe"
/freebsd/sys/contrib/openzfs/tests/zfs-tests/tests/functional/cli_root/zpool_upgrade/
H A Dzpool_upgrade.cfg42 # v1 stripe
58 # v2 stripe
74 # v3 stripe
159 CONFIGS="1 1stripe 1raidz 1mirror \
160 2 2stripe 2raidz 2mirror 2brokenmirror \
161 3 3stripe 3raidz 3mirror 3dblraidz 3hotspare \
/freebsd/usr.sbin/mfiutil/
H A Dmfi_show.c48 format_stripe(char *buf, size_t buflen, uint8_t stripe) in format_stripe() argument
51 humanize_number(buf, buflen, (1 << stripe) * 512, "", HN_AUTOSCALE, in format_stripe()
59 char stripe[5]; in show_adapter() local
129 format_stripe(stripe, sizeof(stripe), info.stripe_sz_ops.min); in show_adapter()
130 printf(" Minimum Stripe: %s\n", stripe); in show_adapter()
131 format_stripe(stripe, sizeof(stripe), info.stripe_sz_ops.max); in show_adapter()
132 printf(" Maximum Stripe: %s\n", stripe); in show_adapter()
303 char size[6], stripe[5]; in print_ld() local
307 format_stripe(stripe, sizeof(stripe), in print_ld()
312 printf("(%6s) %-8s %6s %-*s", size, level, stripe, state_len, in print_ld()
[all …]
/freebsd/sys/geom/stripe/
H A Dg_stripe.h34 #define G_STRIPE_CLASS_NAME "STRIPE"
36 #define G_STRIPE_MAGIC "GEOM::STRIPE"
61 uint32_t sc_id; /* stripe unique ID */
75 char md_name[16]; /* Stripe name. */
79 uint32_t md_stripesize; /* Stripe size. */
H A Dg_stripe.c42 #include <geom/stripe/g_stripe.h>
71 static SYSCTL_NODE(_kern_geom, OID_AUTO, stripe, CTLFLAG_RW | CTLFLAG_MPSAFE, 0,
119 TUNABLE_ULONG_FETCH("kern.geom.stripe.maxmem,", &g_stripe_maxmem); in g_stripe_init()
609 /* Stripe number. */ in g_stripe_start()
614 /* Start position in stripe. */ in g_stripe_start()
676 sc->sc_provider = g_new_providerf(sc->sc_geom, "stripe/%s", in g_stripe_check_and_run()
844 /* Stripe size have to be grater than or equal to sector size. */ in g_stripe_create()
846 G_STRIPE_DEBUG(0, "Invalid stripe size for %s.", md->md_name); in g_stripe_create()
850 /* Stripe size have to be power of 2. */ in g_stripe_create()
852 G_STRIPE_DEBUG(0, "Invalid stripe size for %s.", md->md_name); in g_stripe_create()
[all …]
/freebsd/sys/contrib/openzfs/tests/zfs-tests/tests/functional/cache/
H A Dcache.kshlib96 # mirror:/disks/d ONLINE mirror:/disks/e ONLINE stripe:/disks/f ONLINE
102 {print "stripe:" $1 " " $2}
117 stripe:$device)
131 if [[ -z "$type" || $type == 'stripe' ]]; then
132 log_note "Unexpected type: stripe"
/freebsd/sys/contrib/openzfs/tests/zfs-tests/tests/functional/slog/
H A Dslog.kshlib103 # mirror:/disks/d ONLINE mirror:/disks/e ONLINE stripe:/disks/f ONLINE
109 {print "stripe:" $1 " " $2}
124 stripe:$device)
138 if [[ -z "$type" || $type == 'stripe' ]]; then
139 log_note "Unexpected type: stripe"
/freebsd/tests/sys/cddl/zfs/tests/cache/
H A Dcache.kshlib100 # mirror:/disks/d ONLINE mirror:/disks/e ONLINE stripe:/disks/f ONLINE
121 print "stripe:" parse_name($2) " " $2;
141 stripe:$device)
155 if [[ -z "$type" || $type == 'stripe' ]]; then
156 log_note "Unexpected type: stripe"
/freebsd/tools/test/stress2/misc/
H A Dgraid0.sh53 [ -c /dev/stripe/data ] || exit 1
54 newfs $newfs_flags /dev/stripe/data > /dev/null
55 mount /dev/stripe/data $mntpoint
62 while mount | grep $mntpoint | grep -q /stripe/; do
/freebsd/sbin/ccdconfig/
H A Dccdconfig.8146 The first example creates a 4-disk stripe out of
148 The stripe uses a 64-sector interleave.
149 The second example is an example of a complex stripe/mirror combination.
150 It reads as a two disk stripe of da4 and da5 which is mirrored
151 to a two disk stripe of da6 and da7.
/freebsd/sys/contrib/openzfs/tests/zfs-tests/tests/functional/bootfs/
H A Dbootfs_006_pos.ksh116 # stripe
120 # stripe + hotspare
126 # stripe
130 # stripe + hotspare
/freebsd/sys/geom/raid/
H A Dtr_raid0.c214 /* Stripe number. */ in g_raid_tr_iostart_raid0()
216 /* Start position in stripe. */ in g_raid_tr_iostart_raid0()
220 /* Stripe start position in disk. */ in g_raid_tr_iostart_raid0()
283 /* Stripe number. */ in g_raid_tr_kerneldump_raid0()
285 /* Start position in stripe. */ in g_raid_tr_kerneldump_raid0()
289 /* Stripe tart position in disk. */ in g_raid_tr_kerneldump_raid0()
/freebsd/sys/contrib/openzfs/tests/zfs-tests/tests/functional/replacement/
H A Drebuild_raidz.ksh30 # resilvers are only allowed for stripe/mirror/dRAID pools.
34 # 2. Create a stripe/mirror pool, verify 'zpool replace -s' passes
61 # stripe
/freebsd/tests/sys/geom/class/stripe/
H A Dconf.sh3 name="$(mktemp -u stripe.XXXXXX)"
4 class="stripe"
H A D2_test.sh20 dd if=${src} of=/dev/stripe/${name} bs=1m count=$tsize >/dev/null 2>&1
21 dd if=/dev/stripe/${name} of=${dst} bs=1m count=$tsize >/dev/null 2>&1
/freebsd/sbin/geom/core/
H A Dgeom.8167 STRIPE
185 The following example shows how to set up a stripe on three disks for automatic
188 geom stripe label -v -s 65536 data /dev/da0 /dev/da1 /dev/da2
/freebsd/sys/dev/hptmv/
H A Dcommand.h62 * Rebuild/verify one stripe line.
65 * begin of this stripe line.
68 LBA_T StripeLine; /* _physical_ stripe line on array */
169 struct stripe *stripes[5];
/freebsd/contrib/netbsd-tests/dev/dm/
H A Dt_dm.sh31 atf_set "descr" "Check dm driver routines and create lineary, stripe mapped disks"
36 # XXX Actually we need disks than 1 for stripe check let it leave for later now.
/freebsd/usr.sbin/diskinfo/
H A Ddiskinfo.889 media size in sectors, stripe size, stripe offset, firmware cylinders,
/freebsd/sys/contrib/openzfs/tests/zfs-tests/tests/functional/cli_root/zpool_import/
H A Dzpool_import_010_pos.ksh42 # 2. Create a stripe pool B with dev1. Then destroy it.
45 # 5. Create a stripe pool E with dev4. Then destroy it.
/freebsd/sys/contrib/openzfs/tests/zfs-tests/tests/functional/cli_root/zpool_create/
H A Dzpool_create_draid_003_pos.ksh35 # 1) Test valid stripe/spare combinations given the number of children.
36 # 2) Test invalid stripe/spare/children combinations outside the allow limits.
/freebsd/sys/fs/nfs/
H A Dnfsclstate.h370 * - stripe indices, each stored as one byte, since there can be many
373 * For Flex File, the addrcnt is always one and no stripe indices exist.
423 * Return the Nth ("pos") stripe index.
438 * Set the Nth ("pos") stripe index to "val".

123456