History log of /netbsd-src/sbin/raidctl/raidctl.8 (Results 1 – 25 of 82)
Revision Date Author Comments
# 808873b5 25-Sep-2023 oster <oster@NetBSD.org>

We no longer need the deprecated copyback functionality now that
incorporating a used spare is automatic.

Copyback has always been an issue, as to do a copyback all IO to
the array had to be suspend

We no longer need the deprecated copyback functionality now that
incorporating a used spare is automatic.

Copyback has always been an issue, as to do a copyback all IO to
the array had to be suspended, and so was very, very unlikely to
have been used in anything resembling a production system.

show more ...


# 74ff9ea8 21-Sep-2023 oster <oster@NetBSD.org>

Implement command-line configuration of simple RAID sets with raidctl
based on the usage pattern:

raidctl <device> create <level> <component1> <component2> ...

For example,

raidctl raid0 c

Implement command-line configuration of simple RAID sets with raidctl
based on the usage pattern:

raidctl <device> create <level> <component1> <component2> ...

For example,

raidctl raid0 create mirror absent /dev/wd1e

will create a RAID level 1 (mirror) set with an absent first component
and /dev/wd1e as the second component. The resulting RAID device will
be marked as auto-configurable, will have a serial number set (based
on the current time), and parity will be initialized. Reasonable
performance values are automatically used by default for other parameters
normally specified in the configuration file.

Also: Only print out Autoconfig status if being verbose.

show more ...


# a6071800 17-Sep-2023 oster <oster@NetBSD.org>

Implement hot removal of spares and components. From manu@.

Implement a long desired feature of automatically incorporating
a used spare into the array after a reconstruct.

Given the configuration

Implement hot removal of spares and components. From manu@.

Implement a long desired feature of automatically incorporating
a used spare into the array after a reconstruct.

Given the configuration:
Components:
/dev/wd0e: failed
/dev/wd1e: optimal
/dev/wd2e: optimal
Spares:
/dev/wd3e: spare

Running 'raidctl -F /dev/wd0e raid0' will now result in the
following configuration after a successful rebuild:
Components:
/dev/wd3e: optimal
/dev/wd1e: optimal
/dev/wd2e: optimal
No spares.

Thanks to manu@ for the development of the initial set of changes
which allowed the changes to automatically incorporate a used spare
to come to fruition. Thanks also to manu@ for useful discussions
about and additional testing of these changes.

show more ...


# d73b978a 14-Jun-2022 kre <kre@NetBSD.org>

Implement "raidctl -t config-file"

This does the same config file parse that -c/-C do, but only
that (hence no raidframe device is needed, or accepted).

Any syntax errors in the config file will b

Implement "raidctl -t config-file"

This does the same config file parse that -c/-C do, but only
that (hence no raidframe device is needed, or accepted).

Any syntax errors in the config file will be reported, nothing
else happens.

show more ...


# 7464f2dd 02-Aug-2021 oster <oster@NetBSD.org>

Support on-demand re-scanning all devices to look for
autoconfig RAID sets. raidctl now supports looking
for autoconfig RAID sets with a new '-L' flag.


# 55f2c234 27-May-2021 wiz <wiz@NetBSD.org>

Avoid using Pq.

In this case, the parentheses were wrong when a line was extended.


# 41c1322c 27-May-2021 mrg <mrg@NetBSD.org>

move the basic history i wrote from raidctl(8) to raid(4), and
fix the x86 (thanks simonb) and sparc bootable dates, a couple
of spelling errors.


# debaf475 26-May-2021 mrg <mrg@NetBSD.org>

update the list of platforms supporting loading kernels from raid.
expand the HISTORY section to include notable RF moments in netbsd.
bump date.


# f2b04ca0 18-Jan-2018 mrg <mrg@NetBSD.org>

implement 32-bit compat support for raidframe.

convert several raidframe ioctls to be bitsize idempotent so that
they work the same in 32 and 64 bit worlds, allowing netbsd32 to
configure and query

implement 32-bit compat support for raidframe.

convert several raidframe ioctls to be bitsize idempotent so that
they work the same in 32 and 64 bit worlds, allowing netbsd32 to
configure and query raid properly. remove useless 'row' in a few
places. add COMPAT_80 and put the old ioctls there.

raidframeio.h:
RAIDFRAME_TEST_ACC
- remove, unused
RAIDFRAME_GET_COMPONENT_LABEL
- convert to label not pointer to label
RAIDFRAME_CHECK_RECON_STATUS_EXT
RAIDFRAME_CHECK_PARITYREWRITE_STATUS_EXT
RAIDFRAME_CHECK_COPYBACK_STATUS_EXT
- convert to progress info not pointer to info
RAIDFRAME_GET_INFO
- version entirely.
raidframevar.h:
- rf_recon_req{} has row, flags and raidPtr removed (they're
not a useful part of this interface.)
- RF_Config_s{} and RF_DeviceConfig_s{} have numRow/rows removed.
- RF_RaidDisk_s{} is re-ordered slightly to fix alignment
padding - the actual data was already OK.
- InstallSpareTable() loses row argument

rf_compat32.c has code for RF_Config_s{} in 32 bit mode, used
by RAIDFRAME_CONFIGURE and RAIDFRAME_GET_INFO32.

rf_compat80.c has code for rf_recon_req{}, RF_RaidDisk_s{} and
RF_DeviceConfig_s{} to handle RAIDFRAME_FAIL_DISK,
RAIDFRAME_GET_COMPONENT_LABEL, RAIDFRAME_CHECK_RECON_STATUS_EXT,
RAIDFRAME_CHECK_PARITYREWRITE_STATUS_EXT,
RAIDFRAME_CHECK_COPYBACK_STATUS_EXT, RAIDFRAME_GET_INFO.

move several of the per-ioctl code blocks into separate functions.

add rf_recon_req_internal{} to replace old usage of global
rf_recon_req{} that had unused void * in the structure, ruining
it's 32/64 bit ABI.

add missing case for RAIDFRAME_GET_INFO50.

adjust raid tests to use the new .conf format, and add a case to
test the old method as well.

raidctl:
deal with lack of 'row' members in a couple of places.
fail request no longer takes row.
handle "START array" sections with just "numCol numSpare", ie
no "numRow" specified. for now, generate old-style configuration
but update raidctl.8 to specify the new style (keeping reference
to the old style.)

note that: RF_ComponentLabel_s::{row,num_rows} and
RF_SingleComponent_s::row are obsolete but not removed yet.

show more ...


# cb7aeb82 20-Nov-2017 kardel <kardel@NetBSD.org>

support NAME=<wedge name> syntax for disks and spares


# 01869ca4 03-Jul-2017 wiz <wiz@NetBSD.org>

Remove workaround for ancient HTML generation code.


# 704ad63c 06-Jan-2016 wiz <wiz@NetBSD.org>

Use standard sort order for options.

Add -U to usage.


# c4e0e8f4 06-Jan-2016 christos <christos@NetBSD.org>

Access to the SET_LAST_UNIT ioctl.


# e485731c 30-Jun-2015 wiz <wiz@NetBSD.org>

Bump date for previous. Add whitespace.
Fix some mandoc warnings.


# 9a9013c6 30-Jun-2015 sborrill <sborrill@NetBSD.org>

Clarify that what was previously known as -A root is now -A forceroot, not
-A softroot and that -A root can still be used for historical reasons.


# 52334fd8 03-Apr-2014 christos <christos@NetBSD.org>

Add the ability to "softroot" mount (i.e. mount root only when the raid
set contains the boot device), as opposed to "hardroot" (the previous
default which forces the raid to be root no matter what).


# 6dc8fb47 07-Oct-2013 jdc <jdc@NetBSD.org>

Belatedly note root on RAIDframe support for sandpoint.


# b0eb4d7e 20-Sep-2013 tron <tron@NetBSD.org>

Note that NetBSD/amd64 can boot of RAID volumes.


# af97374d 23-Mar-2012 njoly <njoly@NetBSD.org>

Remove unexpected newline between Em macro and text.


# 1bd615d1 02-Aug-2011 wiz <wiz@NetBSD.org>

New sentence, new line.


# 3dd51f1b 28-Jul-2011 buhrow <buhrow@NetBSD.org>

Document the need for zeroing out the first 64 blocks of a replacement
component in a failed RAID set in order to avoid potentially configuring
RAId 1 sets with erroneous values taken from random ext

Document the need for zeroing out the first 64 blocks of a replacement
component in a failed RAID set in order to avoid potentially configuring
RAId 1 sets with erroneous values taken from random extent data in the
replacement component partitions.

show more ...


# e08d841a 27-Jan-2010 wiz <wiz@NetBSD.org>

+ Fatal errors due to uninitialized components are ignored.
for -C. For dillo@


# 4421a692 27-Jan-2010 wiz <wiz@NetBSD.org>

Consistently use "START disks" in examples. Bump date.


# feb9cdd5 17-Nov-2009 wiz <wiz@NetBSD.org>

Remove trailing whitespace.


# 9e2ba7b4 17-Nov-2009 jld <jld@NetBSD.org>

Bump date; also fix typo pointed out by snj@.


1234