Commit Graph

16 Commits

Author SHA1 Message Date
mhitch 17dec2055b Add ciss(4) to drivers supporting bio(4) and bioctl(8). 2008-05-25 20:09:55 +00:00
wiz 1d5c92c6f8 Various improvements (mdoc, wording, punctuation). 2008-03-16 11:07:23 +00:00
xtraeme c3a503482a Xref cac(4). 2008-03-16 10:01:32 +00:00
christos cc8760f4cb fix example (from anon ymous) 2008-03-03 19:11:45 +00:00
xtraeme 133f451fc4 Typo in previous. 2008-03-03 16:13:34 +00:00
xtraeme 89550ec143 Improve usage() and manpage commands/args. 2008-03-03 16:10:48 +00:00
xtraeme 3d60ce5de6 Add two examples to create and remove a RAID volume in a supported
controller... such as arcmsr(4) for now.
2008-02-02 03:21:47 +00:00
xtraeme aff55dbf6c New bioctl(8) first appeared on 5.0 not 4.1. 2008-01-11 17:11:42 +00:00
xtraeme 481db08b0a Rewrite bioctl(8) and add support for the following features:
- Ability to add/remove hot-spare disks (previously only 'add' was accepted).
- Ability to add/remove pass-through disks.
- Ability to create/remove RAID volumes with optional size, stripe, level,
  member disks and others.
- Ability to start/stop consistency checks in a RAID volume.
- Ability to show only information about physical disks, volumes or both.

Rather than using multiple flags, the utility has been modified to use
the same mode than dkctl(8) (and maybe others), i.e:

$ ./bioctl
usage: bioctl device command [arg [...]]
Available commands:
  show [disks] | [volumes]
  alarm [enable] | [disable] | [silence] | [test]
  blink start | stop [channel:target[.lun]]
  hotspare add | remove channel:target.lun
  passthru add DISKID | remove channel:target.lun
  check start | stop VOLID
  create volume VOLID DISKIDs [SIZE] STRIPE RAID_LEVEL channel:target.lun
  remove volume VOLID channel:target.lun
$

I'll add support for other features soon.
2008-01-02 23:45:06 +00:00
xtraeme 507f8b0669 - Remove -D flag... it's useless (it was removed in OpenBSD as well).
- Use errx(3) in the appropiate function rather than warn(4) and
  returning EXIT_SUCCESS all the time.
- Remove another case where it checks the device passed string will be
  the same than in bv_dev.
2007-12-05 14:28:13 +00:00
xtraeme 415141bdf8 Mention arcmsr(4) in SEE ALSO. 2007-12-05 12:29:55 +00:00
xtraeme d3f615b78d - Remove the code for softraid, it's unlikely that NetBSD will support
this because we do have a working raidframe(4).
- Miscellaneous cleanups and make the code WARNS=4 compliant.
- Removed all stuff that doesn't apply to NetBSD.
2007-11-04 08:25:04 +00:00
wiz f4a91b1899 Fix Dd argument (use full month names).
Use more markup.
Comment out references to safte(4) and softraid(4), which don't exist in
NetBSD.
Remove trailing whitespace.
Use macros instead of characters for HTML output (replace ">", "<"
with \*[Gt], \*[Lt]).
Sort sections.
2007-09-09 16:13:19 +00:00
bouyer 23448a2818 Fix typo. 2007-09-09 13:30:55 +00:00
xtraeme 04ae3cd1d0 Remove an extra comma. 2007-05-07 11:02:21 +00:00
bouyer 982bad256f Add bio(4) and associated bioctl(8) from OpenBSD, a driver control block
device controllers, and more specifically raid controllers.
Add a new sensor type, ENVSYS_DRIVE, to report drive status. From OpenBSD.
Add bio and sysmon support to mfi(4). This allow userland to query
status for drives and logical volumes attached to a mfi(4) controller. While
there fix some debug printfs in mfi so they compile.
Add bio(4) to amd64 and i386 GENERIC.
2007-05-01 17:18:52 +00:00