summaryrefslogtreecommitdiffstats
path: root/sbin/geom
Commit message (Collapse)AuthorAgeFilesLines
* Fix typos and spelling mistakes.joel2010-08-062-2/+2
|
* gsched(8) was first released with FreeBSD 8.1uqs2010-07-301-1/+1
| | | | MFC after: 3 days
* Small typo fix: s/ommited/omittedbcr2010-07-271-2/+2
| | | | | | PR: docs/148977 Submitted by: Warren Block (wblock at wonkity dot com) MFC after: 4 days
* Document that SI unit suffixes are supported for -b and -s optionsae2010-07-231-7/+11
| | | | | | | | | of add verb. Mention about maximum size limit for "freebsd-boot" partition. It should be smaller than 545 KB (hardcoded in pmbr). Show usage of SI unit suffixes in example. Approved by: mav (mentor) MFC after: 1 week
* Do not bzero() NULL pointer on malloc() error.mav2010-07-141-1/+1
| | | | Submitted by: Dmitry Luhtionov
* Fix the clear function which has been broken for a bit.mjacob2010-07-041-6/+17
| | | | MFC after: 1 week
* Check for overflow before it occurs. Also add check forae2010-06-211-2/+2
| | | | | | | negative numbers. Suggested by: ache Approved by: kib (mentor)
* Remove G_TYPE_ASCLBA type and replace it with G_TYPE_STRING in gpart.ae2010-06-215-177/+210
| | | | | | | | | | | | | | | Move code that converts params from humanized numbers to sectors count to subr.c and adjust comment. Add post-processing for "size" and "start offset" params in gpart, now they are properly converted to sectors count with known sector size that can be greater that 512 bytes. Also replace "unsigned long long" type to "off_t" for unify code since it used for medium size in libgeom(3) and DIOCGMEDIASIZE ioctl. PR: bin/146277 Reviewed by: marcel (previous version) Approved by: kib (mentor) MFC after: 1 month
* mdoc nitpicking for gsched.8uqs2010-06-191-3/+3
| | | | | | | | | | - remove stray argument [1] - remove stray whitespace - use canonical wording for the HISTORY section PR: docs/147119 [1] Submitted by: Alexander Best <alexbestms@wwu.de> [1] MFC after: 1 week
* bgeom(3) does strdup of param name.ae2010-06-071-0/+1
| | | | | | | | Don't leak memory when deleting param from gctl_req. Reviewed by: marcel Approved by: mav (mentor) MFC after: 2 weeks
* - Mention that VTOC8 labels are found in Fujitsu SPARC64 machines as well.marius2010-06-031-14/+43
| | | | | | | | | | | - Add information regarding VTOC8 bootrstrap code and how it's handled with r208777 in place. - Document the mapping of partition types to VTOC8 tags. - Add examples for VTOC8 to the respective section. - Eliminated hard sentence breaks. Reviewed by: marcel (slightly buggy version) MFC after: 3 days
* - In gpart_bootfile_read() fix an off-by-one error preventing the bootstrapmarius2010-06-031-37/+102
| | | | | | | | | | | | | file to be of maximum size. - Add special handling required for SMI/VTOC8 disklabel partcode, i.e. avoid overwriting the label when writing the bootstrap code to the partition starting at 0 and install it to all partitions when the -i option is omitted just like geom_sunlabel(4) and sunlabel(8) do by default. - Add missing prototypes. - Add const where applicable. Reviewed by: marcel MFC after: 3 days
* Teach gpart about bootcode on APM.nwhitehorn2010-05-161-1/+1
|
* 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
|
OpenPOWER on IntegriCloud