Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | config: add silent mode | Alasdair G Kergon | 2012-08-25 | 1 | -4/+4 |
| | | | | | | | | | | | | | | | | Accept -q as the short form of --quiet. Suppress non-essential standard output if -q is given twice. Treat log/silent in lvm.conf as equivalent to -qq. Review all log_print messages and change some to log_print_unless_silent. When silent, the following commands still produce output: dumpconfig, lvdisplay, lvmdiskscan, lvs, pvck, pvdisplay, pvs, version, vgcfgrestore -l, vgdisplay, vgs. [Needs checking.] Non-essential messages are shifted from log level 4 to log level 5 for syslog and lvm2_log_fn purposes. | ||||
* | Do not check for open_count when not needed. | Zdenek Kabelac | 2011-02-03 | 1 | -1/+1 |
| | | | | | | Disable open_count checking in lv_info it it's not used. Fix previous commit (comment out unsable code for now). | ||||
* | Remove dead assignment of lv_total and lv_capasity_total | Zdenek Kabelac | 2010-12-22 | 1 | -6/+0 |
| | | | | Variables 'lv_total' and 'lv_capasity_total' are unused. | ||||
* | Refactor the percent (mirror sync, snapshot usage) handling code to use | Petr Rockai | 2010-11-30 | 1 | -8/+5 |
| | | | | fixed-point values instead of a combination of a float value and an enum. | ||||
* | Allow internal suspend and resume of origin without its snapshots. | Alasdair Kergon | 2010-08-17 | 1 | -1/+1 |
| | |||||
* | Use __attribute__ consistently throughout. | Alasdair Kergon | 2010-07-09 | 1 | -1/+1 |
| | |||||
* | Introduce percent_range_t and centralise snapshot full/mirror in-sync checks. | Alasdair Kergon | 2009-10-01 | 1 | -4/+7 |
| | |||||
* | Rework the toollib interface (process_each_*) on top of new vg_read. | Dave Wysochanski | 2009-07-01 | 1 | -1/+1 |
| | | | | | | | | | Sun May 3 12:32:30 CEST 2009 Petr Rockai <me@mornfall.net> * Rework the toollib interface (process_each_*) on top of new vg_read. Rebased 6/26/09 by Dave W. - Add skipping message to process_each_lv - Remove inconsistent_t. | ||||
* | Merge lv_is_displayable and lv_is_visible. | Milan Broz | 2009-05-13 | 1 | -1/+1 |
| | | | | | | | Displayable and visible is the same thing. volumes_count(vg) is now vg_visible_lvs() and always returns number of LVs from user perspective. | ||||
* | Added displayable_lvs_in_vg and lv_is_displayable functions to deal with | Peter Rajnoha | 2008-12-04 | 1 | -1/+1 |
| | | | | | the counts of visible LVs from user's perspective consistently throughout the code. | ||||
* | Right, a simple build (without options) is working again. | Alasdair Kergon | 2008-11-03 | 1 | -1/+1 |
| | |||||
* | Some whitespace tidy-ups. | Alasdair Kergon | 2008-01-30 | 1 | -1/+1 |
| | |||||
* | readahead activation code (but no dm support yet) | Alasdair Kergon | 2007-11-12 | 1 | -1/+1 |
| | |||||
* | Fix inconsistent licence notices: executables are GPLv2; libraries LGPLv2.1. | Alasdair Kergon | 2007-08-20 | 1 | -3/+3 |
| | |||||
* | Make SIZE_SHORT the default for display_size(). | Alasdair Kergon | 2006-05-09 | 1 | -2/+2 |
| | | | | | | | 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. | ||||
* | lv_is_visible() | Alasdair Kergon | 2006-04-07 | 1 | -3/+1 |
| | |||||
* | more snapshot code tidying | Alasdair Kergon | 2006-04-06 | 1 | -2/+1 |
| | |||||
* | Introduce origin_from_cow() | Alasdair Kergon | 2006-04-06 | 1 | -2/+2 |
| | |||||
* | Fix lvscan snapshot full display. | Alasdair Kergon | 2005-12-08 | 1 | -2/+24 |
| | | | | dmeventd fixes | ||||
* | lvscan -a | Alasdair Kergon | 2005-10-17 | 1 | -1/+6 |
| | |||||
* | Only ask libdevmapper for open_count when we need it. | Alasdair Kergon | 2005-01-12 | 1 | -1/+1 |
| | |||||
* | Fix rounding of large displayed sizes. | Alasdair Kergon | 2004-06-07 | 1 | -1/+1 |
| | |||||
* | Update copyright notices. | Alasdair Kergon | 2004-03-30 | 1 | -13/+8 |
| | |||||
* | More consistent error code usage. | Alasdair Kergon | 2003-10-21 | 1 | -1/+1 |
| | |||||
* | Another sync point - numerous fixes & clean ups. | Alasdair Kergon | 2003-07-04 | 1 | -3/+0 |
| | |||||
* | Improve build robustness. | Alasdair Kergon | 2003-04-15 | 1 | -1/+1 |
| | |||||
* | configure --disable-devmapper if you don't have libdevmapper | Alasdair Kergon | 2003-01-08 | 1 | -1/+1 |
| | |||||
* | Default stripesize 64k & config file setting for it; | Alasdair Kergon | 2002-12-19 | 1 | -0/+3 |
| | | | | | | 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 | ||||
* | New column-based reporting tools: lvs, pvs & vgs. | Alasdair Kergon | 2002-12-12 | 1 | -6/+3 |
| | |||||
* | Some new features. | Alasdair Kergon | 2002-11-18 | 1 | -68/+14 |
| | |||||
* | i) There's now a seperate field in struct logical_volume that stores the | Joe Thornber | 2002-07-11 | 1 | -3/+2 |
| | | | | | | | | | | | | | | | | | allocation policy. This can currently take one of three values: typedef enum { ALLOC_NEXT_FREE, ALLOC_STRICT, ALLOC_CONTIGUOUS } alloc_policy_t; Notice that 'SIMPLE' has turned into the slightly more meaningful NEXT_FREE. ii) Put code into display.[hc] for converting one of these enums to a text representation and back again. ii) Updated the text format so this also has the alloc_policy field. | ||||
* | Missing VG lock when iterating through all LVs. | Alasdair Kergon | 2002-04-15 | 1 | -1/+1 |
| | |||||
* | lv_info replaces lv_active etc. | Alasdair Kergon | 2002-03-11 | 1 | -22/+21 |
| | |||||
* | Remove VG arg from lv_is_cow() and lv_is_origin() - use lv->vg instead. | Alasdair Kergon | 2002-02-20 | 1 | -2/+2 |
| | |||||
* | o First pass at format1 snapshot support. | Joe Thornber | 2002-02-13 | 1 | -2/+2 |
| | |||||
* | Run through indent - no (intentional) changes to any code. | Alasdair Kergon | 2002-02-11 | 1 | -1/+1 |
| | |||||
* | Preparation for an LVM2 liblvm - pass cmd_context into each tool and | Alasdair Kergon | 2002-02-11 | 1 | -6/+6 |
| | | | | link some globals that the tools need into that structure. | ||||
* | Allow compilation against a device-mapper that was installed into $DESTDIR | Alasdair Kergon | 2002-01-18 | 1 | -1/+1 |
| | | | | Always check for negative (error) return code from lv_active() | ||||
* | o ACTIVE is no longer a status flag - lv_active() used to check if an LV | Alasdair Kergon | 2002-01-10 | 1 | -3/+4 |
| | | | | | | | | | | is active in the device-mapper. o Many operations can be carried out regardless of whether the VG is active or not. o vgscan does not activate anything - use vgchange. o Change lvrename to support renaming of active LVs. o Remove '//' appearing in some pathnames. o Dummy lv_check_segments() for compilation. | ||||
* | o Tool support for segments. | Alasdair Kergon | 2001-11-28 | 1 | -1/+3 |
| | | | | o vgmerge working. | ||||
* | Tool support for multiple (striped) segments (incomplete). | Alasdair Kergon | 2001-11-27 | 1 | -2/+3 |
| | |||||
* | vgdisplay | Alasdair Kergon | 2001-11-19 | 1 | -3/+3 |
| | |||||
* | More LV-related tidying. lvdisplay without args now shows all LVs. | Alasdair Kergon | 2001-11-14 | 1 | -52/+25 |
| | |||||
* | iospace restructured | Alasdair Kergon | 2001-11-12 | 1 | -2/+2 |
| | |||||
* | o LGPL list implementation | Joe Thornber | 2001-10-31 | 1 | -3/+3 |
| | |||||
* | basic lvscan | Alasdair Kergon | 2001-10-29 | 1 | -0/+148 |