summaryrefslogtreecommitdiffstats
path: root/sbin/vinum
Commit message (Collapse)AuthorAgeFilesLines
* - Backout botched attempt to introduce MANSECT feature.ru2001-03-261-0/+1
| | | | - MAN[1-9] -> MAN.
* Set the default manual section for sbin/ to 8.ru2001-03-201-1/+0
|
* Use _PATH_DEV.obrien2001-02-282-5/+7
| | | | Reviewed by: grog
* Fix vinum for both devfs and non-devfs systems.alfred2001-02-206-53/+84
| | | | | | | | | | | | | | | | | | | | | | | | | userland tool: Use the vfs.devfs.generation sysctl to test for devfs presense (thanks phk!) when devfs is active it will not try to create the device nodes in /dev and therefore will not complain about the failure to do so. Revert the change in the #define for VINUM_DIR in the kernel header so that vinum can find its device nodes. Replace perror() with vinum_perror() to print file/line when DEVBUG is defined (not defined by default). kernel: Don't use the #define names for the "superdev" creation since they will be prepended by "/dev/" (based on VINUM_DIR), instead use string constants. Create both debug and non-debug "superdev" nodes in the devfs. Problem noticed and fix tested by: Martin Blapp <mblapp@fuchur.lan.attic.ch>
* Fix typo.grog2001-01-151-4/+6
| | | | | | | | | Submitted by: Jimmy Olgeni <olgeni@uli.it> PR: 24233 Fix typos. Submitted by: "Jeroen C. van Gelderen" <jeroen@vangelderen.org>
* Remove references to lockinfo.plex.grog2001-01-141-10/+7
| | | | Reported by: dougb
* Prepare for mdoc(7)NG.ru2000-12-271-1/+1
|
* Cosmetics.grog2000-12-201-38/+42
| | | | | | | | Correct location of history file. Change references from /dev/wd to /dev/ad. Use more appropriate defaults for stripe size in examples.
* roughlength: Use correct format strings.grog2000-12-201-4/+4
|
* Correct some comments.grog2000-12-201-3/+6
| | | | | | vinum_attach: Get correct names (were being overwritten). Submitted by: Terry Glanfield <Terry.Glanfield@program-products.co.uk>
* mdoc(7) police: use canonical form of .Dd macro.ru2000-12-111-1/+1
|
* Correct the pathname of the history file.grog2000-11-231-1/+1
| | | | Reported by: Crist J . Clark <cjclark@alum.mit.edu>
* mdoc(7) police: use the new features of the Nm macro.ru2000-11-201-15/+20
|
* mdoc(7) police: use certified section headers wherever possible.ru2000-11-171-1/+1
|
* Document the correct default states for additional plexes of agrog2000-11-141-23/+31
| | | | | | | | multi-plex volume. Confusion reported by: many Clarify recommendations for default plex stripe size.
* Spell the `daemon' correctly.ru2000-11-141-2/+2
|
* Use Fx macro wherever possible.ru2000-11-141-2/+6
|
* Add 'setupstate' to RAID-10 example.grog2000-09-231-2/+7
| | | | Tripped-over-by: Nicole Harrington <nicole@picturetrail.com>
* Bring LDADD in line with DPADD.grog2000-09-061-1/+1
| | | | Reported by: bde
* Clean up now that setproctitle() is in libc.grog2000-09-033-3/+1
| | | | Submitted by: brian
* Clarify which bit of the daemon config disables configuration saves.grog2000-06-081-2/+2
| | | | | | This is still terrible. I need to finally implement variables. Reported-by: jmg
* Update description of checkparity and rebuildparity commands.grog2000-06-071-5/+57
|
* continue_revive: Set the revive blocksize correctly in the ioctl request.grog2000-06-071-0/+6
|
* vinum_start: Set the revive blocksize correctly.grog2000-06-071-1/+3
| | | | checkparity: Allow the -v flag to display progress.
* Add new function declarations.grog2000-06-021-1/+6
|
* Change the default command history file from /var/tmp/vinum_history togrog2000-06-021-3/+50
| | | | | | | | | | /var/log/vinum_history. Also check that any existing history file is a regular file. Admonished-by: imp Allow stopping long-running commands with ^C (well, SIGINTR). Previously this would stop the program.
* Add new function dumpconfig: dump the configuration informationgrog2000-06-022-0/+237
| | | | | | | | | directly off the drives. This command shows a minor problem: it requires that the device nodes exist, whereas kernel Vinum does not. Thus dumpconfig may show no configuration for certain drives which are up and happily running. This is documented in the man page.
* attach command: allow attaching striped or parity plexes if the -fgrog2000-06-021-1/+2
| | | | option is given. This will break the data in the plex.
* Add external for -i option.grog2000-05-111-1/+2
|
* Remove description of the -v option for init and start.grog2000-05-111-40/+43
| | | | | | | | | | Describe -i option for start. Update description of start command (will now work on plexes). Update discussion of choice of stripe size (don't use power of 2). Remove references to raw devices.
* Add -i (interval) option, for use with start command.grog2000-05-111-2/+15
|
* vinum_info: Use the correct field to determine whether trace entriesgrog2000-05-111-16/+11
| | | | | | | | | are read or write. Bug-introduced-in: Revision 1.26 Show percentage complete in brief status of reviving and initializing subdisks.
* start plex/subdisk:grog2000-05-111-57/+31
| | | | | | | | | | | | Add -i option to delay between blocks copied, to reduce performance impact. Remove -v option, things work now. Rewrite parity maintenance functions. Rebuildparity: Add -v option to check whether it was broken before rebuilding each block.
* Remove MAINTAINER.grog2000-04-161-2/+0
|
* Fixed a missing library in DPADD.bde2000-03-271-3/+4
| | | | Fixed some misformattings.
* B_READ is gone, check for BIO_READ instead.phk2000-03-201-8/+8
| | | | Not tested.
* Remove description of defunct DEBUG_NUMOUTPUT by commenting out.grog2000-03-011-34/+40
| | | | | | | | | Describe stop -f to stop when config updates are disabled. Explain in more detail why Vinum needs its own partition type, and why you can't make it the c partition. Implicitly-sanctioned-by: jkh
* Add declaration for parityops.grog2000-03-011-1/+2
| | | | Implicitly-sanctioned-by: jkh
* Increase the time we'll wait for a reviving disk to carry on and notgrog2000-03-011-4/+14
| | | | | | be marked as stalled, from 1 second to 5 seconds. Implicitly-sanctioned-by: jkh
* Implement vinum_rebuildparity, which had got forgotten. In thegrog2000-03-011-35/+58
| | | | | | | process, move the body of vinum_rebuildparity and vinum_checkparity to a new function, parityops. Implicitly-sanctioned-by: jkh
* Add definitions for vinum_raid[45] and checkupdates.grog2000-02-291-0/+3
| | | | Approved-by: jkh
* Don't print any error message if we can't open the history file. Thisgrog2000-02-291-10/+8
| | | | | | | | | | | | | | | replaces an older attempt to silence vinum(8) when started in single-user mode. Add entries for vinum_raid[45]. Replace the preprocessor variable name CDEV_MAJOR with VINUM_CDEV_MAJOR. continue_revive: Set the proc title to 'reviving <sdname>' so that it can be recognized in a ps list. Approved-by: jkh
* vinum_ldi: Honour the 'recurse' flag and show the subdisks on thisgrog2000-02-291-22/+69
| | | | | | | | | | | | | | | | | | drive if it is set. vinum_lvi: Change line spacing. This is still not right. Change checks for striped or RAID-5 plexes to a macro 'isstriped', which now also includes RAID-4. Change checks for RAID-5 plexes to a macro 'isparity', which now also includes RAID-4. vinum_lsi: If the subdisk is initializing or reviving, don't wait a whole second to check whether it's advancing; wait in increments of 50 ms up to 1 second. This makes for a barely perceptible delay. Approved-by: jkh
* New function checkupdates: check whether configuration updates aregrog2000-02-291-5/+357
| | | | | | | | | | | | | | | | | | | | | | enabled and print a warning message in varous places if they are not. Fix typos in comments. Change some indents to approach style(9). initvol: If init fails, place the subdisks in a "down" state. vinum_start(): If we're starting a plex, try doing it directly. It's possible that the state of the plex differs from that of the subdisks, for example if somebody has used 'setupstate'. New functions vinum_raid4 and vinum_raid5 to create RAID-4 and RAID-5 volumes, analagous to vinum_mirror and vinum_stripe. vinum_checkparity: Don't try to check the parity of a non-parity plex, print a rude remark instead. Approved-by: jkh
* Don't use /dev/vinum/rsd/XXX for init as it doesn't exist any more.peter2000-02-062-2/+2
| | | | | | | Without this change, you cannot do the required init on a new raid5 volume. Reviewed by: grog Approved by: jkh
* make_devices(): Create devices with permissions 640, not 740.grog2000-01-051-10/+10
| | | | Pointed-out-by: "Rodney W. Grimes" <freebsd@gndrsh.dnsmgr.net>
* Describe 'move' function.grog2000-01-051-14/+79
| | | | | | | Submitted-by: Marius Bendiksen <marius@marius.scancall.no> Describe state transitions in more detail, in particular how to revive subdisks.
* Change parameters of some declarations.grog2000-01-051-3/+4
| | | | Add declaration for vinum_mv.
* makedev: Give all devices permissions 740.grog2000-01-051-57/+25
| | | | | | | | | | | | | | | | | Suggested-by: Bernd Walter (ticso@cicely.de) Add key pairs for 'mv' and 'move' (a synonym for 'mv'). Required for the move command code submitted by Marius Bendiksen <marius@marius.scancall.no> make_devices: Don't create symlinks for drives if they are only referenced. Previously, spurious symlinks appeared in the current directory. Problem-reported-by: Bernd Walter (ticso@cicely.de) No longer create character devices, now that there is no difference. Make the devices as character devices, not block devices.
* Explicitly type large scalar parameters to avoid compilation warningsgrog2000-01-051-90/+168
| | | | | | | | | | | | | | | | on alpha. Submitted-by: Bernd Walter <ticso@cicely.de> Replace %q formats with %lld. Desired-by: bde Remove #ifdef RAID5 vinum_lsi: If a subdisk is in 'reviving' state, check the status of the revive and report the status of the revive. In verbose mode, display the pid of the reviver.
OpenPOWER on IntegriCloud