| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Fixing some const warnings - with API change in:
int vg_extend(struct volume_group *vg, int pv_count, const char *const *pv_names,
Change is needed - as lvm2api expects const behaviour here.
So vg_extend() is doing local strdup for unescaping.
skip_dev_dir return const char* from const char* vg_name.
Rest of the patch is cleanup of related warnings.
Also using dm_report_filed_string() API change to simplify
casting in _string_disp and _lvname_disp.
|
|
|
|
| |
Small CPU relax...
|
|
|
|
|
| |
Add supporting uuid function to allocate memory and call id_write_format.
Call id_format_and_copy from _uuid_disp.
|
| |
|
| |
|
| |
|
|
|
|
| |
uuid/uuid.c:86: warning: implicit declaration of function 'isdigit'
|
|
|
|
|
| |
If volume group is downconverted to lvm1 format,
check if lvid has supported format for conversion to lv_num in lvm1.
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
| |
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.
|
| |
|
| |
|
| |
|
|
|
|
|
| |
[This situation could occur if the uuids were oritinally created by
LVM1 on a system without /dev/urandom.]
|
| |
|
| |
|
|
|
|
|
|
| |
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
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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.
|
|
|
|
|
|
|
|
|
| |
from lock_vol() - otherwise it now attempts to acquire the lock and then
immediately releases it.
o Extend the id field in struct logical_volume to hold VG uuid + LV uuid
for format1. This unique lvid can be used directly when calling lock_vol().
o Add the VG uuid to vgcache to make VG uuid lookups possible. (Another
step towards using them instead of VG names internally.)
|
| |
|
|
|
|
|
|
|
| |
o roll vgcache back to agk's implementation, we'll revisit this as part
of the cluster integration.
o change the extra_info field in a label to be a void *
|
| |
|
|
|
|
| |
o When reading a uuid all -'s are stripped, wherever they are.
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
o added uuid unit
o stubbed partition stuff
|