Commit Graph

71 Commits

Author SHA1 Message Date
wiz 1233505082 Use more markup. 2002-10-01 14:20:26 +00:00
wiz 2fb4b1db52 New sentence, new line. By Robert Elz with minimal fixes. 2002-10-01 13:40:23 +00:00
wiz 7b1f0f9426 Remove duplicate 'to'. From Ryo HAYASAKA in bin/17562. 2002-07-11 15:06:04 +00:00
simonb 6fccd7ab03 Open the raid device read-only for the commands that don't need
write access.  With the default set up this allows users in group
operator to query the status of the raid devices.

Fixes PR admin/15840.
2002-03-21 00:27:11 +00:00
ross dc5571b22e Generate <>& symbolically. I'm avoiding .../dist/... directories for now. 2002-02-08 01:21:55 +00:00
wiz 8c920e9e22 Drop trailing whitespace. 2002-01-21 11:40:20 +00:00
oster c4aed2da0e Add a description of how to possibly recover a RAID set in the
event of a multiple disk failure.
2002-01-20 02:30:11 +00:00
wiz dbb255dc26 Don't abuse -unfilled for -literal; sort sections, sort SEE ALSO, drop
lots of unnecessary .Pps.
2001-11-16 11:06:46 +00:00
wiz 4ce43ae0cd Whitespace nits 2001-11-16 10:25:42 +00:00
oster 6c2d6f6c4f Remove cruft. We no longer need to look into sys/dev/raidframe to
find the needed include files.
2001-10-04 16:03:05 +00:00
oster 541d521a40 rf_configure.c
- remove dependence on stuff in sys/dev/raidframe
 - now rely on <dev/raidframe/*>
 - bring in some needed prototypes for local functions
 - nuke RF_ASSERT's.
 - drag in some needed RF_ERRORMSG's

raidctl.c
 - rely on <dev/raidframe/*>
 - welcome to the New Way of doing RAIDframe #includes.

(No functional changes.)
2001-10-04 16:02:08 +00:00
oster 75d30c8978 Add a pruned-down version of rf_configure.h. First step at disentangling
raidctl files from the hairy .h file mess.
2001-10-04 16:00:37 +00:00
oster 91ffb9ffd3 Since this is the only place it's used, nuke RF_DEV2RAIDID and
replace it with DISKUNIT.
2001-09-26 02:59:40 +00:00
lukem 364e3039be * add -G, which lists the configuration of the given raid set in the
same configuration format that -c and -C use.
  this is useful if you're using autoconfig and you've misplaced the
  /etc/raidXXX.conf files
* "filesystem" -> "file system", and other man page cleanups.
2001-07-10 01:30:52 +00:00
wiz 73f545bb5b Drop arguments of .Os. 2001-06-05 11:22:41 +00:00
cgd 8a986b2e96 convert to use getprogname() 2001-02-19 22:48:57 +00:00
christos e2571306fb remove redundant prototypes. 2001-02-04 21:05:42 +00:00
oster 705631a231 Move parts of a RAID type mapping table from rf_layout.c to rf_configure.c.
This means we don't need to compile or link with rf_layout.c here.
2001-01-27 19:32:47 +00:00
wiz 944d6ad333 Check return value of fgets. Approved by Greg Oster. 2000-12-31 01:58:03 +00:00
lukem 4e9651bacd - use opendisk(3) instead of homegrown solution
- separate items in -s output with commas; much easier to read
- add maxOutstanding (aka queue len) to -s output
- sort #includes (per knf)
2000-10-31 14:18:39 +00:00
oster 617759aa4c - cleanup wording and add additional comments on such things as
"component1" and "raidctl -A yes"
- add a note about how to build a RAID set with a limited number of disks
    (thanks to Simon Burge for suggestions)
- improve layout of 'raidctl -i' discussion (thanks to Hubert Feyrer)
- add a (small) section on Performance Tuning
2000-10-27 02:40:37 +00:00
is 9979da6cbb Format string cleanups by Bill Sommerfeld. 2000-10-10 20:24:49 +00:00
oster 8b77995122 It is impolite to poll in a tight loop. (Thanks to Christos for noting
the problem.)
2000-08-19 19:51:17 +00:00
oster ff1bb25d60 Clarify a few things about parity. Add more documentation about RAID on RAID,
and root on RAID.
2000-08-10 15:14:14 +00:00
oster e828ccd7df Add a .Sq for single quotes, instead of doing it by hand.
Fixes a formatting problem noted by Hubert Feyrer (Thanks Hubert!).
2000-07-05 02:42:39 +00:00
oster 3fa8f52b84 In certain cases (e.g. where it makes sense) read/display the
component label for spare disks too.
2000-06-03 16:59:36 +00:00
oster f26e8d9a17 Slight wording improvement on the 'raidctl -R' case. 2000-06-02 04:11:46 +00:00
oster 4d75110047 Make sure we handle the 'no progress' case properly.
Thanks to Manuel Bouyer for noting the problem (and supplying a patch!).
2000-05-31 00:47:30 +00:00
oster 239e79a9ad Fix up some single quotes that messed up a line. (Thanks Wiz!) 2000-05-29 03:40:43 +00:00
oster c4f772eecb Obtaining component labels from spares is not supported yet, but add
some code that makes some progress in that direction.
2000-05-28 23:12:01 +00:00
oster 0ce56710af Cleanup ETA calculation stuff. 2000-05-28 22:22:11 +00:00
oster 64ad6c882c Have raidctl use the fine-grained progress info. ETA calculation stuff
needs to be cleaned up.
2000-05-28 00:49:35 +00:00
thorpej 340761f659 Apply indent. 2000-05-23 01:03:05 +00:00
thorpej a53c712bd6 Build with WARNS=2. 2000-05-23 00:46:53 +00:00
thorpej 632c1d5e7c ioctl(2) commands are u_long, so do_meter() must take the same. 2000-05-23 00:33:13 +00:00
simonb 48a5c3efa9 Don't declare 'extern opt*' getopt variables. 2000-04-14 05:58:01 +00:00
oster 807e453c32 When displaying component labels, indicate whether or not the set is
marked as being the one that should be used for the root partition.
2000-03-23 14:50:36 +00:00
oster 680c384366 Update for 'options RAID_AUTOCONFIG'. 2000-02-26 19:43:07 +00:00
oster 1f4cc78a38 Add a few more examples, and a summary. 2000-02-26 04:02:03 +00:00
oster f4f9f7bc66 More updates, spelling fixes, etc. 2000-02-25 22:38:51 +00:00
oster f1717bc7fd First revamp of the docs. This is still work-in-progress. More to come
shortly.
2000-02-25 22:24:46 +00:00
oster 3a374be745 Reorganize a few things. Make the general status ('-s') a bit more verbose
by including component labels, and less verbose by removing some other stuff.
2000-02-25 22:24:11 +00:00
oster 268ef0a8e2 Document the new autoconfiguration switches, and update the Usage: line.
More doc changes expected soon.
2000-02-24 23:52:46 +00:00
oster 5aee30c016 - support for autoconfig setup and / on RAID setup
- new parts are still work-in-progress (no docs yet either)
2000-02-13 04:55:30 +00:00
wiz 78798f9991 it's -> its 2000-01-22 14:48:43 +00:00
oster e5b5b86865 Nuke a debugging printf that I forgot to remove before last commit. 2000-01-09 03:06:35 +00:00
oster c714a07d22 - add '-v' (Verbose) option, which, most notably, provides
a spiffy lukemftp-inspired progress bar for parity re-writing,
reconstructs, copybacks, et al.

- make 'raidctl -P' wait until the parity has been updated before exiting
(it waited previously, but only because the parity re-write ioctl wouldn't
exit until the parity was successfully re-written)
2000-01-05 03:02:41 +00:00
kristerw ebf003eaf4 Typos (from OpenBSD) 1999-11-19 22:48:01 +00:00
oster b2af35bc2d rf_MakeConfig succeeds only if it returns 0, not if it returns
values 0 or greater.
1999-08-15 03:18:19 +00:00
oster 225f5a8b60 Display the parity status as part of the status ('-s') display. 1999-08-15 03:15:00 +00:00