1.114. lvm2
1.114.1. RHBA-2009:1476: bug-fix update
Note
This update has already been released (prior to the GA of this release) as errata RHBA-2009:1476
The lvm2 packages contain support for Logical Volume Management (LVM).
This update applies the following bug fixes:
* Adds new option prioritise_write_locks in lvm.conf. Without enabling this option, whenever there are competing read-only and read-write access requests for a volume group's metadata, the write access may be stalled by a high volume of read-only requests.
NOTE: This option only affects locking_type 1 (local file-based locking).
* Make all tools use consistent lock ordering. This fixes vgextend command to block instead of failing when requested Volume Group is locked read-only.
* Use read-only instead or write lock for lvchange --refresh.
* Adds global/wait_for_locks to lvm.conf so blocking for locks can be disabled.
* Fixes bug where non-blocking file locks could be granted in error.
All users of lvm2 are advised to upgrade to these updated packages, which resolve these issues.
1.114.2. RHBA-2009:1538: bug-fix update
Note
This update has already been released (prior to the GA of this release) as errata RHBA-2009:1538
The lvm2 packages contain support for Logical Volume Management (LVM).
This update applies the following bug fix:
* Fix default device mode permissions when using static lvm.
All users of lvm2 are advised to upgrade to these updated packages, which resolve this issue.
1.114.3. RHBA-2010:0298: bug fix and enhancement update
Updated lvm2 packages that fix several bugs and add enhancements are now available.
The lvm2 packages contain support for Logical Volume Management (LVM).
This update applies the following bug fixes:
* Fixes crash in dmevnetd if both snapshot and mirror monitoring is used.
* Fixes several memory locking problems which could lead to deadlocks.
* Uses read-only instead or write lock for lvchange --refresh.
* Fixes bug where non-blocking file locks could be granted in error.
* Uses fixed buffer to prevent stack overflow in persistent filter dump.
* Fixes default device mode permissions when using static lvm.
* Fixes return code of info call for query by uuid.
* Allows vgremove of a VG with PVs missing.
* Drops metadata cache after device was autorepaired and removed from VG.
* Removes missing flag in metadata if PV reappeared and is empty.
* Fixes unlocking of Volume Group in pvresize and toollib error paths.
* Removes log volume from metadata if initial deactivation fails.
* Fixes several memory leaks in pvs and pvdisplay commands.
* Dumps persistent device filter after every full scan.
* Refreshes device filters before full device rescan.
* Returns error status if vgchange fails to activate some volume.
* Restricts vgchange to activate only visible LVs.
* Fixes pvmove region_size overflow for very large PVs.
* Fixes lvcreate and lvresize %PVS argument always to use sensible total size.
* Delays announcing mirror monitoring to syslog until initialisation succeeded.
* Doesn't attempt to deactivate an LV if any of its snapshots are in use.
* Fixes pvcreate string termination in duplicate uuid warning message.
* Makes lvchange --refresh only take a read lock on volume group.
* Makes lvconvert honour log mirror options combined with downconversion.
* Makes all tools use consistent lock ordering obtaining VG_ORPHAN lock second.
* Fixes memory leak in vgsplit when re-reading the vg.
* Fixes crash in vg_release.
* Explicitly requests fallback to default major number in device mapper.
* Rounds up requested readahead to at least one page and print warning.
* Fixes mirror convert polling to ignore LV with different UUID.
As well, this update adds the following enhancements:
* Uses lvconvert --repair instead of vgreduce in mirror dmeventd and introduces to use mirror image and log policies. In the event of a failure, the policy specified in lvm.conf will be used to determine what happens (for exact description see using mirror_log_fault_policy and mirror_image_fault_policy comments in lvm.conf).
* Updates man pages, including lvcreate,lvconvert to explain PhysicalVolume parameter, document --all option, clarify use of PE ranges, mention --repair in lvconvert and document size units uniformly.
* Adds new option prioritise_write_locks in lvm.conf. This option only affects locking_type 1 (local file-based locking).
* Introduces new read-only locking as locking type 4.
* Adds wait_for_locks option to lvm.conf so blocking for locks can be disabled.
* Adds an API version number, LVM_LIBAPI, to the VERSION string for liblvm.
* Handles metadata with unknown segment types more gracefully.
* Adds --pvmetadatacopies for pvcreate, vgcreate, vgextend, vgconvert.
* Adds implict pvcreate support to vgcreate and vgextend.
* Recognises DRBD devices and handle them like MD mirror devices.
* Checks MD devices for a partition table during device scan.
* Adds extended device (blkext) and md partition (mdp) types to filters.
* Distinguishes between powers of 1000 and powers of 1024 in unit suffixes (si_unit_consistency lvm.conf option).
* Introduces automatic data_alignment detection and adds devices/data_alignment_detection to lvm.conf.
* Adds --dataalignmentoffset to pvcreate to shift start of aligned data area.
* Updates 'md_chunk_alignment' to use stripe-width to align PV data area.
Users of lvm2 are advised to upgrade to these updated packages, which resolve these issues and add these enhancements.