Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | Move metadata backup call after vg_commit. | Milan Broz | 2009-04-21 | 1 | -2/+5 | |
| | | | | | | | | | | | | The backup() call store metadata from memory. But in cluster backup() call performs remote nodes metadata backup and it reads data from disk. For metadata backup consistency, patch moves all backup() calls after vg_commit. (Moreover, some tools already do that this way.) | |||||
* | Properly release VG memory pool in all CLI tools. | Milan Broz | 2009-04-10 | 1 | -1/+1 | |
| | ||||||
* | . | Alasdair Kergon | 2009-02-28 | 1 | -1/+1 | |
| | ||||||
* | Attempt cleanup in child before execing new binary in exec_cmd() | Alasdair Kergon | 2009-02-28 | 1 | -3/+3 | |
| | ||||||
* | . | Alasdair Kergon | 2009-02-27 | 1 | -1/+1 | |
| | ||||||
* | fsadm cleanups & release prep | Alasdair Kergon | 2009-02-27 | 1 | -61/+66 | |
| | ||||||
* | Fixed bug where lvresize option -t was not properly passed to fsadm. | Zdenek Kabelac | 2009-02-24 | 1 | -57/+65 | |
| | | | | | | | Using argv[] list in exec_cmd() to allow more params for external commands. Fsadm does not allow checking mounted filesystem. Fsadm no longer accepts 'any other key' as 'no' answer to y/n. Fsadm improved handling of command line options. | |||||
* | Fix fsadm lvresize for filesystem block sizes != 1024. | Dave Wysochanski | 2009-01-15 | 1 | -2/+2 | |
| | | | | Fixes rhbz 480022. | |||||
* | Right, a simple build (without options) is working again. | Alasdair Kergon | 2008-11-03 | 1 | -5/+5 | |
| | ||||||
* | Prevent resizing an LV while lvconvert is using it. | Alasdair Kergon | 2008-09-18 | 1 | -0/+5 | |
| | ||||||
* | fixing fsadm usage with older blockdev,blkid,readline tools | Zdenek Kabelac | 2008-04-29 | 1 | -0/+5 | |
| | | | | fixing lvresize extension code path where size was not set for fsadm | |||||
* | more pre-release cleanup | Alasdair Kergon | 2008-04-10 | 1 | -4/+3 | |
| | ||||||
* | Fix lvresize to dump stack if vg_lock_and_read() fails. | Dave Wysochanski | 2008-04-02 | 1 | -1/+3 | |
| | | | | | | Necessary because vg_lock_and_read() may fail silently if the vg_check_status() call fails. Also add lvresize tests. | |||||
* | Fix redundant lvresize message if vg doesn't exist. | Dave Wysochanski | 2008-04-01 | 1 | -3/+1 | |
| | | | | | | | | | | | BEFORE: tools/lvm lvresize -l +4 vg22/lv1linear Volume group "vg22" not found Volume group vg22 doesn't exist AFTER: tools/lvm lvresize -l +4 vg22/lv1linear Volume group "vg22" not found | |||||
* | Fix lvresize to support /dev/mapper prefix in the lvname | Zdenek Kabelac | 2008-02-06 | 1 | -3/+12 | |
| | | | | | | Fix unfilled paramater passed to fsadm from lvresize Update fsadm to call lvresize if the partition size differs (with option -l) Fix fsadm to support vg/lv name (like the rest of lv-tools) | |||||
* | Some whitespace tidy-ups. | Alasdair Kergon | 2008-01-30 | 1 | -1/+1 | |
| | ||||||
* | Use stack return macros throughout. | Alasdair Kergon | 2008-01-30 | 1 | -12/+6 | |
| | ||||||
* | stacked mirror support (incomplete) | Alasdair Kergon | 2007-12-20 | 1 | -2/+2 | |
| | ||||||
* | Convert some vg_reads into vg_lock_and_reads | Alasdair Kergon | 2007-11-15 | 1 | -14/+8 | |
| | ||||||
* | Accept sizes with --readahead argument. | Alasdair Kergon | 2007-11-14 | 1 | -6/+5 | |
| | | | | Store size arguments as sectors internally. | |||||
* | readahead activation code (but no dm support yet) | Alasdair Kergon | 2007-11-12 | 1 | -3/+3 | |
| | ||||||
* | Fix compile warnings / minor errors introduced recently. | Dave Wysochanski | 2007-11-12 | 1 | -1/+1 | |
| | ||||||
* | Fix orphan-related locking in pvdisplay and pvs. | Alasdair Kergon | 2007-11-02 | 1 | -0/+6 | |
| | | | | | | | | Fix missing VG unlocks in some pvchange error paths. Add some missing validation of VG names. Rename validate_vg_name() to validate_new_vg_name(). Change orphan lock to VG_ORPHANS. Change format1 to use ORPHAN as orphan VG name. | |||||
* | Some const fixups for previous checkins | Dave Wysochanski | 2007-09-24 | 1 | -6/+7 | |
| | ||||||
* | Add %PVS extents option to lvresize, lvextend, and lvcreate. | Dave Wysochanski | 2007-09-20 | 1 | -6/+25 | |
| | ||||||
* | Fix last checkin | Dave Wysochanski | 2007-09-06 | 1 | -2/+1 | |
| | ||||||
* | Fixup _lvresize error return codes and modularize function | Dave Wysochanski | 2007-09-06 | 1 | -94/+129 | |
| | ||||||
* | Fix inconsistent licence notices: executables are GPLv2; libraries LGPLv2.1. | Alasdair Kergon | 2007-08-20 | 1 | -3/+3 | |
| | ||||||
* | Make warnings go to stderr. Change log_warn to that effect, log_print | Petr Rockai | 2007-06-28 | 1 | -7/+7 | |
| | | | | continues to send messages to stdout. | |||||
* | Allow keyboard interrupts in yes_no_prompt(). Add code to toollib.c | Petr Rockai | 2007-06-15 | 1 | -0/+2 | |
| | | | | | loops and to pvcreate.c, lvchange.c and lvresize.c to handle interrupted prompts. | |||||
* | Add vg_check_status to consolidate vg status flags checks and error messages. | Dave Wysochanski | 2007-06-06 | 1 | -14/+1 | |
| | ||||||
* | Add %VG, %LV and %FREE suffices to lvcreate/lvresize --extents arg. | Alasdair Kergon | 2006-09-26 | 1 | -0/+17 | |
| | | | | | | e.g. lvcreate -l 100%FREE to create an LV using all available space. lvextend -l 50%LV to increase an LV by 50% of its existing size. lvcreate -l 20%VG to create an LV using 20% of the total VG size. | |||||
* | When using local file locking, skip clustered VGs. | Alasdair Kergon | 2006-09-02 | 1 | -0/+6 | |
| | | | | Add fallback_to_clustered_locking and fallback_to_local_locking parameters. | |||||
* | Move lvm_snprintf into libdevmapper. | Alasdair Kergon | 2006-08-21 | 1 | -2/+2 | |
| | ||||||
* | Fix lvcreate corelog validation. | Alasdair Kergon | 2006-05-16 | 1 | -1/+1 | |
| | | | | | | | | | Add --config for overriding most config file settings from cmdline. Quote arguments when printing command line. Remove linefeed from 'initialising logging' message. Add 'Completed' debug message. Don't attempt library exit after reloading config files. Always compile with libdevmapper, even if device-mapper is disabled. | |||||
* | Make SIZE_SHORT the default for display_size(). | Alasdair Kergon | 2006-05-09 | 1 | -19/+12 | |
| | | | | | | | 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. | |||||
* | Improve stripe size validation. | Alasdair Kergon | 2006-04-29 | 1 | -7/+35 | |
| | | | | Increase maximum stripe size limit to physical extent size for lvm2 metadata. | |||||
* | Check for libsepol. | Alasdair Kergon | 2006-04-19 | 1 | -3/+3 | |
| | | | | | | Add some cflow & scope support. Separate out DEFS from CFLAGS. Remove inlines and use unique function names. | |||||
* | Fix vgexport/vgimport to set/reset PV exported flag so pv_attr is correct. | Alasdair Kergon | 2006-04-12 | 1 | -1/+1 | |
| | | | | Add vgid to struct physical_volume and pass with vg_name to some functions. | |||||
* | Introduce origin_from_cow() | Alasdair Kergon | 2006-04-06 | 1 | -3/+2 | |
| | ||||||
* | Allow signed mirrors arguments. | Alasdair Kergon | 2005-11-28 | 1 | -0/+4 | |
| | | | | Move create_mirror_log() into toollib. | |||||
* | Attempt to load missing targets using modprobe. | Alasdair Kergon | 2005-10-17 | 1 | -3/+3 | |
| | | | | Simplify dev_manager_info(). | |||||
* | Change LV locking macros to take lv instead of lvid. | Alasdair Kergon | 2005-08-15 | 1 | -6/+6 | |
| | ||||||
* | prevent active mirror resize for now | Alasdair Kergon | 2005-06-03 | 1 | -0/+5 | |
| | ||||||
* | Allow mirror images to be resized. | Alasdair Kergon | 2005-06-03 | 1 | -4/+44 | |
| | ||||||
* | lv_reduce tidying. | Alasdair Kergon | 2005-05-09 | 1 | -7/+7 | |
| | | | | | Remove some unnecessary parameters. Introduce seg_is macros. | |||||
* | Internal snapshot code restructuring. | Alasdair Kergon | 2005-04-07 | 1 | -3/+3 | |
| | ||||||
* | Allow offline extension of snapshot volumes. | Alasdair Kergon | 2005-04-07 | 1 | -5/+17 | |
| | | | | NB Requires kernel patch that is not upstream. | |||||
* | Only ask libdevmapper for open_count when we need it. | Alasdair Kergon | 2005-01-12 | 1 | -1/+1 | |
| | ||||||
* | Prevent snapshot origin resizing. | Alasdair Kergon | 2004-11-18 | 1 | -0/+5 | |
| |