summaryrefslogtreecommitdiffstats
path: root/sbin/geom
Commit message (Collapse)AuthorAgeFilesLines
* Add and describe GEOM_PART_EBR.marcel2010-04-231-0/+5
|
* Implement the resize command for resizing partitions. Without newmarcel2010-04-232-1/+134
| | | | | | | size, the partition in question is resized to fill all available space. Quality work by Andrey! Submitted by: "Andrey V. Elsukov" <bu7cher@yandex.ru>
* Flush disk write cache after storing and clearing metadata.pjd2010-04-151-0/+2
|
* fix copyright format, as requested by Joel Dahlluigi2010-04-132-3/+6
|
* use correct .PATH, remove unused CFLAGSluigi2010-04-131-3/+2
|
* Bring in geom_sched, support for scheduling disk I/O requestsluigi2010-04-124-0/+304
| | | | | | | | | | | | in a device independent manner. Also include an example anticipatory scheduler, gsched_rr, which gives very nice performance improvements in presence of competing random access patterns. This is joint work with Fabio Checconi, developed last year and presented at BSDCan 2009. You can find details in the README file or at http://info.iet.unipi.it/~luigi/geom_sched/
* Change how multipath labels are created and managed. This makes it easiermjacob2010-03-291-45/+51
| | | | | | | | | | | | | | | | | to support various storage boxes which really aren't active-active. We only write the label on the *first* provider. For all other providers we just "add" the disk. This also allows for an "add" verb. A usage implication is that you should specificy the currently active storage path as the first provider. Note that this does not add RDAC-like functionality, but better allows for autovolumefailover configurations (additional checkins elsewhere will support this). Sponsored by: Panasas MFC after: 1 month
* Add 'rotate' and 'getactive' verbs to provide some control and informationmjacob2010-03-211-0/+8
| | | | | | | about what the currently active path is. Sponsored by: Panasas MFC after: 1 month
* Use our standard license text. No more voices in the authors head. :-)joel2010-03-042-16/+16
| | | | Approved by: trasz
* Fixed dependencies (make checkdpadd).ru2010-02-251-0/+1
|
* Add the long missing "destroy" option.mjacob2010-02-041-0/+4
| | | | MFC after: 2 weeks
* Also output stripeoffset for consumer even if stripesize is zero, whiledelphij2010-01-181-1/+1
| | | | | | stripeoffset is non-zero. Pointed out by: mav
* Small fixes.brueffer2010-01-171-3/+4
|
* Stripe offset may be usable even without stripe size known,delphij2010-01-171-1/+1
| | | | | | so give the output when either is non-zero. Suggested by: mav
* Expose stripe offset and stripe size through libgeom and geom(8) userlanddelphij2010-01-171-0/+8
| | | | | | utilities. Reviewed by: pjd, mav (earlier version)
* Add gmountver, disk mount verification GEOM class.trasz2010-01-165-0/+194
| | | | | | | | Note that due to e.g. write throttling ('wdrain'), it can stall all the disk I/O instead of just the device it's configured for. Using it for removable media is therefore not a good idea. Reviewed by: pjd (earlier version)
* Increase default block size from 4K to 64K. It was reduces 6 yeard ago,mav2010-01-061-1/+1
| | | | | | | | | | when trees were big and FAST mode was enabled by default. So small block size doesn't benefits linear I/O operations in FAST and significantly slowdowns in ECONOMIC (default) mode. For single stream random I/Os so small block doesn't give much benefits, as access time is usually bigger then transfer time there. Same time it requires all heads to seek together for every single request, reducing performance on parallel load.
* For completeness, add -s argument, manually specifying array block size.mav2010-01-052-3/+13
|
* Add manual page for gcache(8).trasz2010-01-033-2/+193
|
* The default balance algorithm has changed from "split" toru2009-12-091-2/+2
| | | | (the improved version of) "load".
* Change gmirror default balance algorithm from "split" to "load".mav2009-12-081-1/+1
| | | | | | | | | | | "split" is very ineffective for devices with rotating media as HDDs. To be effective, it needs that transfer time reduction due to block splitting was bigger then access time increase due to non-sequential access. For modern HDDs I was able to reproduce it only with read sizes of 2MB and above, which is almost not applicable in real life. "load" algorithm same time is more universal and effective now. Reviewed by: pjd
* - Initialize variable in order to avoid GCC warning and enable WARNS=6.lulf2009-10-262-2/+1
| | | | | PR: bin/139970 Submitted by: Ulrich Spörlein <uqs -at- spoerlein.net>
* Switch the default WARNS level for sbin/ to 6.ru2009-10-192-1/+1
| | | | Submitted by: Ulrich Spörlein
* Clean up markup (mainly).ru2009-10-191-77/+149
|
* Fix the example, -w is the right switch for write failure probability.brueffer2009-09-171-3/+3
| | | | | | | PR: 136219 Submitted by: Kouki Hashimoto <hsmtkk@gmail.com> Patch by: gavin MFC after: 3 days
* Actually component with the greatest priority is used by the prefer balancepjd2009-09-091-1/+1
| | | | algorithm.
* Add support for changing providers priority.pjd2009-09-062-9/+19
| | | | Submitted by: Mel Flynn
* Update copyright years.pjd2009-09-061-1/+1
|
* For any given subcommand allow to specify multi-line usage (separated by \n).pjd2009-09-061-2/+12
| | | | Submitted by: Mel Flynn
* Remove (c) line.ivoras2009-08-231-1/+0
| | | | | | Requested by: pjd Approved by: gnn (mentor) MFC after: 1 month
* Emit a proper error message instead of dumping core when 1)marcel2009-08-161-2/+14
| | | | | | | | | | | GEOM_PART does not exist in the kernel, and 2) the GEOM in question does not exist. Additionally abort in case of programming errors that result in neither the class nor geom not being present in the gctl request. Submitted by: "Andrey V. Elsukov" <bu7cher@yandex.ru> Approved by: re (kib)
* Add support for labels derived from GPT metadata.ivoras2009-06-131-2/+14
| | | | | | | Approved by: gnn (mentor) Reviewed by: pjd PR: 128398 Submitted by: Marius Nuennerich < marius at nuenneri.ch >
* Change the printf format string to match the variable type to quietjhb2009-06-081-2/+2
| | | | warnings.
* Make the size (-s) and start (-b) parameters of the add verb optional.marcel2009-06-081-2/+126
| | | | The missing parameter(s) are automatically filled-in.
* Allow humanized numbers for LBAs, as well as partition indices formarcel2009-06-073-21/+120
| | | | | | gpart(8). LBAs in particular are ugly. The ganularity is a sector, but users expect byte granularity when specifying the size or offset with a SI unit. Handle LBAs specially to deal with this.
* o Fix typo in the example.maxim2009-05-251-1/+1
| | | | | | PR: docs/134930 Submitted by: Alex Keda MFC after: 1 week
* Add links to libgeom(3) where appropriate.trasz2009-05-191-0/+1
|
* Slightly improve gjournal documentation.trasz2009-04-291-1/+2
| | | | Reviewed by: pjd
* Man page accompanying r190423 - introduce UFS ID labels.ivoras2009-03-251-2/+8
| | | | | Actually-by: pjd Approved by: gnn (mentor)
* - Punctuation fixes.pjd2009-02-221-9/+18
| | | | | | | | - New sentence - new line. Reported by: Ben Kaduk <minimarmot@gmail.com> - No more than 80 chars per line.
* Correct the year.pjd2009-02-171-1/+1
| | | | Reported by: Florian Smeets <flo@kasimir.com>
* Document kern.geom.journal.* sysctls.pjd2009-02-171-6/+102
| | | | | | PR: docs/130548 Submitted by: Hywel Mallett <hywel@hmallett.co.uk> MFC after: 1 week
* Prefer the start and end attributes over the offset and sizemarcel2009-02-081-14/+31
| | | | | | attributes. The start and end more accurately describe the space taken by a partition. The offset and size are used to describe the effective (usable) storage of that partition.
* - Use a separate pointer to the allocated memory for freeing, as strsep maylulf2009-02-021-3/+3
| | | | | | | | | | modify the pointer argument passed to it. This triggered an assert in malloc when a geom command being run under the livefs environment. PR: bin/130632 Submitted by: Dimitry Andric <dimitry -at- andric.com> Pointy hat to: me MFC after: 2 days
* - grammar and language fixesdanger2009-01-041-45/+49
| | | | | | | | | - hard sentence breaks - trim EXIT STATUS section and move it to DIAGNOSTICS as well as use .Er macro - sort SEE ALSO MFC after: 7 days
* Several significant updates:ivoras2009-01-041-49/+105
| | | | | | | | | | * Better wording of sections dealing with physical storage * A new section on assumptions gvirstor has on its consumer devices (components) and its interaction with file systems * Improved markup (by hrs@) Reviewed by: hrs Approved by: gnn (mentor)
* - Back out r186038. Rather than changing the intent of the caller, the problemlulf2008-12-271-1/+1
| | | | | | should be handled internally in gvinum. Suggested by: pjd
* - When writing metadata to a geom provider, open the it as read-write since itlulf2008-12-131-1/+1
| | | | | | | | | | | | | | might do subsequent reads from other providers. This stopped geli (and probably other classes using g_metadata_store as well) from being put on top of gvinum raid5 volumes. Note: The reason it fails in the gvinum raid5 case is that gvinum will read back the old parity stripe before calculating the new parity stripe to be written out again. The write will then fail because the underlying disk to be read is opened write only. MFC after: 1 week
* Print error messages as-is, when they don't conform tomarcel2008-11-301-6/+9
| | | | | <errno> [<parameter> 'value'] These are error messages from (lib)geom itself.
* Call gctl_free() after we processed the error string.marcel2008-11-301-5/+11
| | | | It's being freed as part of the request.
OpenPOWER on IntegriCloud