summaryrefslogtreecommitdiffstats
path: root/tools/vgreduce.c
Commit message (Collapse)AuthorAgeFilesLines
...
* readahead activation code (but no dm support yet)Alasdair Kergon2007-11-121-1/+1
|
* Add pv_dev_name() to access PV device name.Dave Wysochanski2007-10-121-2/+2
| | | | Patch by Jun'ichi Nomura <j-nomura@ce.jp.nec.com>
* Clean up numerous compiler warnings that crept in recently.Alasdair Kergon2007-08-221-1/+1
| | | | Remove several unused parameters from _allocate().
* Fix inconsistent licence notices: executables are GPLv2; libraries LGPLv2.1.Alasdair Kergon2007-08-201-3/+3
|
* Convert vg->status checks to use vg_check_status function.\nRename ↵Dave Wysochanski2007-06-191-15/+1
| | | | status_flags to status in vg_check_status.
* Remove get_ prefix from get_pv_* functionsDave Wysochanski2007-06-151-7/+7
|
* Convert pv->dev to get_pv_devDave Wysochanski2007-06-131-4/+4
|
* Convert pv->size to get_pv_sizeDave Wysochanski2007-06-131-1/+1
|
* Convert pv->pe_count to get_pv_pe_countDave Wysochanski2007-06-131-2/+2
|
* Convert pv->pe_alloc_count to get_pv_pe_alloc_countDave Wysochanski2007-06-131-1/+1
|
* Add vg_check_status to consolidate vg status flags checks and error messages.Dave Wysochanski2007-06-061-7/+2
|
* Add a few missing pieces of vgname command line validation.Alasdair Kergon2007-03-091-0/+6
|
* Support the /dev/mapper prefix on most command lines.Alasdair Kergon2007-03-091-1/+1
|
* Fix some &->&& vgreduce cmdline validation. [Andre Noll]Alasdair Kergon2007-01-311-2/+2
|
* Avoid vgreduce error when mirror code removes the log LV.Alasdair Kergon2007-01-091-1/+3
|
* Adjust some alignments for ia64 and sparc.Alasdair Kergon2006-11-301-1/+1
| | | | (Some of the changes are probably unnecessary.)
* fix vgreduce clustered checkAlasdair Kergon2006-09-071-1/+1
|
* When using local file locking, skip clustered VGs.Alasdair Kergon2006-09-021-0/+14
| | | | Add fallback_to_clustered_locking and fallback_to_local_locking parameters.
* Add skip_dev_dir() to process command line VGs.Alasdair Kergon2006-08-251-1/+1
|
* Differentiate between the two 'log device failed' cases in vgreduce.Alasdair Kergon2006-07-041-2/+7
|
* If VG is already consistent with --removemissing, return success not failure.Alasdair Kergon2006-07-041-1/+1
|
* Add --monitor to vgcreate and lvcreate to control dmeventd registration.Alasdair Kergon2006-05-121-1/+7
| | | | | Propagate --monitor around cluster. Filter LCK_NONBLOCK in clvmd lock_vg.
* Allow vgreduce to handle mirror log failures.Alasdair Kergon2006-05-111-5/+30
|
* Make SIZE_SHORT the default for display_size().Alasdair Kergon2006-05-091-2/+3
| | | | | | | Fix some memory leaks in error paths found by coverity. Use C99 struct initialisers. Move DEFS into configure.h. Clean-ups to remove miscellaneous compiler warnings.
* Fix vgexport/vgimport to set/reset PV exported flag so pv_attr is correct.Alasdair Kergon2006-04-121-2/+2
| | | | Add vgid to struct physical_volume and pass with vg_name to some functions.
* suspend using existing LV metadata; vgreduce then needs partial flagAlasdair Kergon2006-02-031-0/+3
|
* vgreduce remove mirror imagesAlasdair Kergon2006-01-041-4/+48
| | | | adjust block_on_error version no detection for RHEL4U3
* Add --mirrorsonly arg to vgreduce. (Doesn't handle mirrors yet.)Alasdair Kergon2005-12-211-2/+20
|
* some fixesAlasdair Kergon2005-12-211-17/+33
|
* vgreduce replaces active LVs with error segment before removing them.Alasdair Kergon2005-12-211-22/+102
|
* more lvconvert mirror codeAlasdair Kergon2005-11-291-1/+1
|
* Change LV locking macros to take lv instead of lvid.Alasdair Kergon2005-08-151-2/+2
|
* Basic support for mirrors.Alasdair Kergon2005-06-011-2/+2
|
* lv_reduce tidying.Alasdair Kergon2005-05-091-3/+3
| | | | | Remove some unnecessary parameters. Introduce seg_is macros.
* Reinstate full PV size when removing from VG.Alasdair Kergon2005-05-031-1/+8
| | | | | Support loopfiles for testing. Complete the pv_segment support.
* Internal snapshot code restructuring.Alasdair Kergon2005-04-071-18/+16
|
* Revise internal locking semantics.Alasdair Kergon2004-05-051-4/+2
|
* Update copyright notices.Alasdair Kergon2004-03-301-13/+8
|
* More consistent error code usage.Alasdair Kergon2003-10-211-1/+1
|
* macro changesAlasdair Kergon2003-10-151-6/+5
|
* Another sync point - numerous fixes & clean ups.Alasdair Kergon2003-07-041-2/+2
|
* o Metadata area struct change.Alasdair Kergon2003-04-241-2/+7
| | | | | o Support physical extent restrictions on PV lists for allocations e.g. lvcreate -l 200 vg1 /dev/sda1:100-199:300-399
* Tidy various pre-processing incl. making libdl optional.Alasdair Kergon2003-03-241-1/+1
|
* vgreduce --removemissing to remove missing PVs & deps & make VG consistentAlasdair Kergon2003-01-171-24/+231
|
* Default stripesize 64k & config file setting for it;Alasdair Kergon2002-12-191-2/+2
| | | | | | Clear many compiler warnings (i386) & associated bugs - hopefully without introducing too many new bugs:-) (Same exercise required for other archs.) Default compilation has optimisation - or else use ./configure --enable-debug
* Some new features.Alasdair Kergon2002-11-181-65/+53
|
* agk, I recall you saying you had a massive commit pending; if you need meAndres Salomon2002-10-271-0/+3
| | | | | | | | | | | to back this out so you can do that commit, let me know. Also, if there's an issue with the error message that's displayed, just change it in tools.h. This causes a "device-mapper driver/module not loaded?" error message to be displayed for the commands that require dm-mod, if the tools can't get the driver version. It's not done for commands that don't require dm-mod. This should clear up some problems people have had attempting to use lvm2 without rtfm'ing.
* Merge with text format branch.Alasdair Kergon2002-04-241-6/+6
| | | | | | | | | | | | | | | | | | | Lots of changes/very little testing so far => there'll be bugs! Use 'vgcreate -M text' to create a volume group with its metadata stored in text files. Text format metadata changes should be reasonably atomic, with a (basic) automatic recovery mechanism if the system crashes while a change is in progress. Add a metadata section to lvm.conf to specify multiple directories if you want (recommended) to keep multiple copies of the metadata (eg on different filesystems). e.g. metadata { dirs = ["/etc/lvm/metadata1","/usr/local/lvm/metadata2"] } Plenty of refinements still in the pipeline.
* o activate/reactivate mergeAlasdair Kergon2002-03-111-5/+5
| | | | o unlocking macro
* o Lock mechanism for LV activationAlasdair Kergon2002-02-271-6/+6
| | | | | | o #defines for common lock flag combinations o Try out hyphens instead of colons in device-mapper names - does this make messages containing filenames easier to read?