summaryrefslogtreecommitdiffstats
path: root/sbin/geom
Commit message (Collapse)AuthorAgeFilesLines
...
* Fix arguments syntax.pjd2005-01-1514-123/+81
| | | | | Manual pages fixes by: ru MFC after: 3 days
* Markup fixes.ru2005-01-152-19/+27
|
* Connect SHSEC GEOM class to the build.pjd2005-01-112-0/+2
|
* Introduce a new GEOM class - SHSEC. It provides sharing secret betweenpjd2005-01-113-0/+435
| | | | | | | | the given providers. Without even one of the configured components there should be no way to get the secret. Supported by: WHEEL Sp. z o.o. http://www.wheel.pl
* Scheduled mdoc(7) sweep.ru2005-01-101-7/+12
|
* Detect if class name is '-h' or 'help' and if it is, show general helppjd2004-12-281-0/+6
| | | | | | | | | message, i.e.: geom: usage: geom <class> <command> [options] PR: bin/71537 Submitted by: bugghy <bugghy@phenix.rootshell.be> MFC after: 5 days
* - Add genid field to the metadata which will allow to improve reliability a bit.pjd2004-12-251-0/+1
| | | | | | | | | | | | | | | After this change, when component is disconnected because of an I/O error, it will not be connected and synchronized automatically, it will be logged as broken and skipped. Autosynchronization can occur, when component is disconnected (on orphan event) and connected again - there were no I/O error, so there is no need to not connected the component, but when there were writes while it wasn't connected, it will be synchronized. This fix cases, when component is disconnected because of I/O error and can be connected again and again. - Bump version number. - Implement backward compatibility mechanism. After this change when metadata in old version is detected, it is automatically upgraded to the new (current) version.
* - Add genid field to the metadata which will allow to improve reliability a bit.pjd2004-12-221-0/+1
| | | | | | | | | | | | | | | | After this change, when component is disconnected because of an I/O error, it will not be connected and synchronized automatically, it will be logged as broken and skipped. Autosynchronization can occur, when component is disconnected (on orphan event) and connected again - there were no I/O error, so there is no need to not connected the component, but when there were writes while it wasn't connected, it will be synchronized. This fix cases, when component is disconnected because of I/O error and can be connected again and again. - Bump version number. - Add version change history. - Implement backward compatibility mechanism. After this change when metadata in old version is detected, it is automatically upgraded to the new (current) version.
* 'forget' command takes device names, not provider names.pjd2004-12-221-1/+1
|
* NOSHARED -> NO_SHAREDru2004-12-211-1/+1
|
* - Turn off 'fast' mode by default and increase maximum memory to consumepjd2004-12-091-3/+3
| | | | | when this mode is used. - Manual page update.
* Note that sysctls documentation is missing.pjd2004-11-052-0/+4
|
* Grammatical and spelling improvements.ceri2004-11-047-64/+65
| | | | Reviewed by: pjd
* Remove extra 's'.pjd2004-11-031-2/+2
| | | | Submitted by: ceri
* Be more correct.pjd2004-11-031-2/+2
| | | | Submitted by: ceri
* Remove one more redundant 'not'.pjd2004-11-031-1/+1
|
* Remove redundant 'not'.pjd2004-11-011-1/+1
|
* Embellish the man page after trying to migrate to gstripe from ccd(4).obrien2004-09-261-4/+27
|
* Don't allow to specify wrong stripe size.pjd2004-09-261-1/+11
| | | | Reported by: obrien
* Document '-p' flag for 'insert' command correct.pjd2004-09-181-3/+4
|
* Do not exit after printing usage, give geom(8) a chance to show standardpjd2004-09-172-2/+0
| | | | commands.
* - Show all commands in usage, even if those commands are not available.pjd2004-09-171-19/+32
| | | | | - When command is not available, just say it, instead of says, that command is unknown. Old behaviour seems to be too confusing.
* When configuring RAID3 with verification option, force synchronizationpjd2004-08-301-0/+7
| | | | | | | of parity component, because we can't return an EIO error for read of every sector which wasn't written first. Discussed with: phk
* Warn the user if we are not going to use the whole provider's space.pjd2004-08-281-1/+21
|
* Warn the user if we are not going to use whole provider space.pjd2004-08-281-5/+9
| | | | Requested by: Michael Handler <handler@grendel.net>
* - If error string begins with "warning: ", don't exit, treat it as a warningpjd2004-08-281-4/+6
| | | | | only. - Use getprogname() function when informing about versions problem.
* Add missing GEOM classes, which are aware of geom(8).pjd2004-08-231-0/+6
| | | | Submitted by: kuriyama
* Fix sysctl name.pjd2004-08-221-1/+1
|
* Implementation of 'verify reading' algorithm, which uses parity data forpjd2004-08-222-6/+39
| | | | | | | | verification of regular data when device is in complete state. On verification error, EIO error is returned for the bio and sysctl kern.geom.raid3.stat.parity_mismatch is increased. Suggested by: phk
* Implement new reading algorithm, which will use parity component for readingpjd2004-08-212-9/+30
| | | | | | | | | | | | | | | | | | | | | | | | as well, even if device is in complete state. I observe 40% of speed-up with this option for random read operations, but slowdown for sequential reads. Basically, without this option reading from a RAID3 device built from 5 components (c0-c4) looks like this: Request no. Used components 1 c0+c1+c2+c3 2 c0+c1+c2+c3 3 c0+c1+c2+c3 With the new feature: Request no. Used components 1 c0+c1+c2+c3 2 (c1^c2^c3^c4)+c1+c2+c3 3 c0+(c0^c2^c3^c4)+c2+c3 4 c0+c1+(c0^c1^c3^c4)+c3 5 c0+c1+c2+(c0^c1^c2^c4) 6 c0+c1+c2+c3 [...]
* - Add a manual page for graid3(8) utility.pjd2004-08-183-1/+213
| | | | | - Connect it to the build. - Inform geom(8) about it.
* Add a line to BUGS section about the need of implementation description.pjd2004-08-181-0/+2
|
* Add some missing empty lines.pjd2004-08-181-0/+2
|
* Fix typo.pjd2004-08-181-1/+1
|
* Actually one can specify more than one device to stop.pjd2004-08-182-2/+2
|
* Ok, let's try again:pjd2004-08-181-0/+290
| | | | Add manual page for gmirror(8) utility.
* - Add a manual page for gmirror(8) utility.pjd2004-08-182-1/+1
| | | | | | | - Connect it to the build. - Inform geom(8) manual page about it. Reviewed by: trhodes
* Connect RAID3 GEOM class to the build.pjd2004-08-161-0/+1
|
* Introduce GEOM RAID3 class, i.e. kernel module, which implements RAID3pjd2004-08-162-0/+351
| | | | | | | transformation and graid3(8) userland utility, which can be used for configuration. No manual page yet, sorry. Hardware provided by: Daniel Seuffert
* The geom(8) utility needs dynamic linker functionality to work, so it can'tpjd2004-08-121-0/+2
| | | | | be staticaly linked. This fixes problems on systems compiled with NO_DYNAMICROOT.
* Forgot to commit those: introduce hardcoded provider functionality,pjd2004-08-101-14/+31
| | | | | which allow to store provider's name in the metadata and avoid problems when few providers share the same last sector.
* - Introduce option for hardcoding providers' names into metadata.pjd2004-08-094-41/+79
| | | | | | | | | | | | It allows to fix problems when last provider's sector is shared between few providers. - Bump version number for CONCAT and STRIPE and add code for backward compatibility. - Do not bump version number of MIRROR, as it wasn't officially introduced yet. Even if someone started to play with it, there is no big deal, because wrong MD5 sum of metadata will deny those providers. - Update manual pages. - Add version history to g_(stripe|concat).h files.
* Add and document kern.geom.stripe.fast_failed sysctl, which shows howpjd2004-08-061-0/+7
| | | | many times "fast" mode failed.
* Don't use version number in library name. The library version is checkedpjd2004-08-024-6/+3
| | | | | | after dlopen() anyway, so we should be safe. Suggested by: ru
* After changing LIBDIR to SHLIBDIR, because of dependencies problems,pjd2004-08-014-6/+8
| | | | | | | new problem shows up: symblic links (<libname>.so) are created under /usr/lib/ now, instead of under /lib/geom/ where geom(8) looks for them. Introduce a workaround to fix this by teaching geom(8) to open libraries via /lib/geom/<libname>.so.<major_number> instead of /lib/geom/<libname>.so.
* Use SHLIBDIR instead of LIBDIR. This should fix buildworld breakage.pjd2004-07-311-2/+1
| | | | Reported by: des
* Add '-p' option for 'insert' command which allows to specify prioritypjd2004-07-311-1/+3
| | | | | | of the new component. Version number wasn't bumped (it should be), because I think there are no geom_mirror users yet.
* Connect GEOM_MIRROR class to the build.pjd2004-07-301-0/+1
|
* Add GEOM_MIRROR class which provide RAID1 functionality and has many usefulpjd2004-07-302-0/+419
| | | | | | | | features. The gmirror(8) utility should be used for control of this class. There is no manual page yet, but I'm working on it with keramida@. Many useful tests provided by: simon (thank you!) Some ideas from: scottl, simon, phk
* - Add '-S' option, which allow to specify sector size for transparentpjd2004-07-302-1/+6
| | | | | | | | | | provider. - Bump version number. This allows for a quite interesting trick. One can setup a stripe with stripe size of 512 bytes and create transparent provider on top of it with sector size equal to <ndisks> * 512. The result will be something like RAID3 without parity disk (every access will touch all disks).
OpenPOWER on IntegriCloud