summaryrefslogtreecommitdiffstats
path: root/tools/pvchange.c
Commit message (Collapse)AuthorAgeFilesLines
...
* When using local file locking, skip clustered VGs.Alasdair Kergon2006-09-021-0/+6
| | | | Add fallback_to_clustered_locking and fallback_to_local_locking parameters.
* Make SIZE_SHORT the default for display_size().Alasdair Kergon2006-05-091-1/+1
| | | | | | | 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-1/+1
| | | | Add vgid to struct physical_volume and pass with vg_name to some functions.
* Fix non-orphan pvchange -u.Alasdair Kergon2005-05-241-0/+21
|
* Always fail if random id generation fails.Alasdair Kergon2005-01-201-1/+5
|
* Fix pvchange -x segfault with lvm2-format orphan.Alasdair Kergon2004-12-211-0/+2
|
* Display all filtered devices, not just PVs, with pvs -a.Alasdair Kergon2004-06-191-5/+4
|
* Update copyright notices.Alasdair Kergon2004-03-301-13/+8
|
* taggingAlasdair Kergon2004-03-081-3/+41
|
* pv/vgchange --uuid to change (non-random) UUIDs to random valuesAlasdair Kergon2004-01-131-43/+58
|
* Prevent PV allocation bit getting changed for format_text orphans.Alasdair Kergon2003-11-061-0/+8
|
* Fix pvchange segfault with orphans.Alasdair Kergon2003-11-061-1/+1
|
* Don't trigger error if changing PV allocation to the state it already is.Alasdair Kergon2003-11-061-2/+2
|
* More consistent error code usage.Alasdair Kergon2003-10-211-1/+1
|
* macro changesAlasdair Kergon2003-10-151-6/+4
|
* Another sync point - numerous fixes & clean ups.Alasdair Kergon2003-07-041-1/+1
|
* Default stripesize 64k & config file setting for it;Alasdair Kergon2002-12-191-11/+11
| | | | | | 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/+92
|
* Merge with text format branch.Alasdair Kergon2002-04-241-5/+5
| | | | | | | | | | | | | | | | | | | 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-8/+8
| | | | o unlocking macro
* o Lock mechanism for LV activationAlasdair Kergon2002-02-271-9/+9
| | | | | | 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?
* Begin conversion so LV id is passed to activation unit instead ofAlasdair Kergon2002-02-251-9/+9
| | | | struct logical_volume.
* Run through indent - no (intentional) changes to any code.Alasdair Kergon2002-02-111-22/+28
|
* Preparation for an LVM2 liblvm - pass cmd_context into each tool andAlasdair Kergon2002-02-111-14/+14
| | | | link some globals that the tools need into that structure.
* o Support locking with local lock filesAlasdair Kergon2002-02-111-0/+16
| | | | o Disable control-c during updates (except if blocked waiting for a lock)
* quotes around names in outputHeinz Mauelshagen2002-01-301-17/+20
|
* o Basic support for exporting (but importing not completed yet).Alasdair Kergon2002-01-291-2/+12
| | | | | o When volume group does not have write flag set, prevent changes to it. o Preparation for partial activation (not completed yet).
* o ChangedJoe Thornber2002-01-211-2/+2
| | | | | | | | | | | | | | | | | | | | struct pv_list { struct list list; struct physical_volume pv; }; to struct pv_list { struct list list; struct physical_volume *pv; }; o New function in toollib 'create_pv_list', which creates a list of pv's from a given command line array of pv's. o Changed lvcreate/extend to use this (fixes lvextend [pv list] bug).
* o Changed find_pv_in_vg, and find_lv_in_vg to return a struct pv_list * andJoe Thornber2002-01-211-3/+3
| | | | struct lv_list * respectively.
* o ACTIVE is no longer a status flag - lv_active() used to check if an LVAlasdair Kergon2002-01-101-6/+0
| | | | | | | | | | 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.
* Clarify terminology:Alasdair Kergon2002-01-101-7/+7
| | | | | VG is resizeable - PVs can be added or removed PV is allocatable - free extents on it may be allocated to LVs
* Add archiving.Alasdair Kergon2002-01-091-0/+2
|
* o sync tool changes for backup stuff.Joe Thornber2002-01-071-1/+1
|
* o Add autobackup support to tools (follows most vg_write calls).Alasdair Kergon2001-12-311-5/+1
| | | | | | o Skip autobackup when in test mode. o Set test mode from config file. o Create system/backup dirs if not present (unless LVM_SYSTEM_DIR holds "").
* o activation & active status testsAlasdair Kergon2001-11-211-0/+2
| | | | | o lvdisplay fields from kernel o update lv->size on resize
* iospace restructuredAlasdair Kergon2001-11-121-5/+5
|
* o LGPL list implementationJoe Thornber2001-10-311-6/+6
|
* o use dev_name(dev) to get the name of a device, this operation is cheapJoe Thornber2001-10-251-2/+2
| | | | since it just get's the first alias.
* pvchangeAlasdair Kergon2001-10-171-103/+81
|
* o vgremove.Alasdair Kergon2001-10-091-3/+0
| | | | o filter devices by major.
* Sync include file changes.Alasdair Kergon2001-10-051-5/+5
|
* metadata status flags regrouping & comments; misc tool changesAlasdair Kergon2001-10-041-4/+4
|
* vgrename & pvchange outlinesAlasdair Kergon2001-10-031-0/+181