summaryrefslogtreecommitdiffstats
path: root/tools/toollib.h
Commit message (Collapse)AuthorAgeFilesLines
...
* o Metadata area struct change.Alasdair Kergon2003-04-241-0/+2
| | | | | o Support physical extent restrictions on PV lists for allocations e.g. lvcreate -l 200 vg1 /dev/sda1:100-199:300-399
* Default stripesize 64k & config file setting for it;Alasdair Kergon2002-12-191-1/+1
| | | | | | 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 Kergon2002-12-121-4/+9
|
* Some new features.Alasdair Kergon2002-11-181-10/+22
|
* Merge with text format branch.Alasdair Kergon2002-04-241-2/+2
| | | | | | | | | | | | | | | | | | | 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.
* Missing VG lock when iterating through all LVs.Alasdair Kergon2002-04-151-0/+1
|
* Run through indent - no (intentional) changes to any code.Alasdair Kergon2002-02-111-11/+16
|
* Preparation for an LVM2 liblvm - pass cmd_context into each tool andAlasdair Kergon2002-02-111-10/+13
| | | | link some globals that the tools need into that structure.
* o Support locking with local lock filesAlasdair Kergon2002-02-111-5/+1
| | | | o Disable control-c during updates (except if blocked waiting for a lock)
* o A vgimport implementationAlasdair Kergon2002-01-291-0/+2
| | | | | o Require -a or <list of vgs> parameters with vgexport/vgimport o Allow pvcreate -ff to destroy exported/partial VGs
* o ChangedJoe Thornber2002-01-211-0/+8
| | | | | | | | | | | | | | | | | | | | 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 Add autobackup support to tools (follows most vg_write calls).Alasdair Kergon2001-12-311-0/+2
| | | | | | 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 Use lvm_snprintf wherever return value is usedAlasdair Kergon2001-12-311-1/+2
| | | | o Add parameters to set retention limits for backups
* o Added a quick vgcfgbackup, needs parameters as yet.Joe Thornber2001-12-201-1/+1
|
* o sync backup changesJoe Thornber2001-12-201-2/+2
|
* vgdisplayAlasdair Kergon2001-11-191-5/+10
|
* More LV-related tidying. lvdisplay without args now shows all LVs.Alasdair Kergon2001-11-141-0/+4
|
* o lvcreate no longer needs the explicit -n flagJoe Thornber2001-11-141-2/+2
| | | | o disabled zeroing of lv until bug's worked out
* iospace restructuredAlasdair Kergon2001-11-121-2/+2
|
* lvcreateAlasdair Kergon2001-11-061-0/+1
|
* lvremoveAlasdair Kergon2001-10-291-0/+2
|
* More vgcreate error trappingAlasdair Kergon2001-10-151-2/+0
|
* vgreduce, vgremove, vgrename & vgscanAlasdair Kergon2001-10-111-0/+6
|
* vgrename & vgckAlasdair Kergon2001-10-081-0/+3
|
* Sync include file changes.Alasdair Kergon2001-10-051-2/+4
|
* Misc structural changes.Alasdair Kergon2001-10-011-1/+1
|
* Tidy include filesAlasdair Kergon2001-10-011-2/+2
|
* lvactivate checkpoint commitAlasdair Kergon2001-09-251-0/+28