| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
| |
eventually refactor the way we structure #includes in the all of the library.
|
| |
|
|
|
|
|
| |
Add supporting uuid function to allocate memory and call id_write_format.
Call id_format_and_copy from _uuid_disp.
|
|
|
|
|
| |
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.
|
|
|
|
| |
report any activation oddities they see.
|
|
|
|
|
|
|
|
|
| |
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.)
|
|
|
|
| |
struct logical_volume.
|
| |
|
|
|
|
|
|
|
| |
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 added uuid unit
o stubbed partition stuff
|