1.74. lvm2

1.74.1. RHBA-2011:0052: bug fix and enhancement update

Updated lvm2 packages that fix 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 incorrect removal of symlinks after LV deactivation fails.
* Fixes vgremove to allow removal of VG with missing PVs.
* Requires --restorefile when using pvcreate --uuid.
* Never scans internal LVM devices directly to avoid deadlock.
* Fixes allocation of wrong number of mirror logs with 'remove' fault policy.
* Checks if LV with specified name already exists when splitting a mirror.
* Fixes possible hang when all mirror images of a mirrored log fail.
* Ensures region_size of mirrored log does not exceed its full size.
* Does not return error code when using -o help with LVM reports.
* Requires partial option in lvchange --refresh for partial LVs.
* Do not merge old device cache after we run full scan to properly update cache
* Fixes truncated total size displayed by pvscan.
* Disallows the addition of mirror images while a conversion is happening.
* Disallows primary mirror image removal when mirror is not in-sync.
* Fixes return code of pvmove --abort PV.
* Fixes pvmove --abort to remove even for empty pvmove LV.
* Fixes pvmove allocation to take existing parallel stripes into account.
* Fixes --alloc contiguous policy only to allocate one set of parallel areas.
* Avoids scanning all pvs in the system if operating on a device with metadata areas.
* Suppresses repeated errors about the same missing PV uuids.
* Bypasses full device scans when using internally-cached VG metadata.
* Runs only do one full device scan during each read of text format metadata.
* Stops dmeventd trying to access already-removed snapshots.
* Fixes allocation code not to stop at the first area of a PV that fits.
* Keeps log type consistent when changing mirror image count.
* Corrects activated or deactivated text in vgchange summary message.
* Fixes lvm shell crash when input is entirely whitespace.
* Fixes fsadm command to properly handle user's break action and --dry-run option.
* Fails with correct error message when creating a too-small snapshot.
As well, this update adds the following enhancements:
* Adds "devices/default_data_alignment" to lvm.conf.
* Allows aborting if MD/swap signature is found in pvcreate.
* Detects LUKS signature in pvcreate.
* Allows to set limit for repeated access to broken devices by disable_after_error_count option in to lvm.conf.
* Adds --norestorefile option to pvcreate.
* Use built-in rule for device aliases which prefers more user friendly device names.
* Handles failure of all mirrored log devices and all but one mirror leg.
* Makes vgck warn about missing PVs.
* Adds metadata/vgmetadatacopies to lvm.conf and --[vg]metadatacopies option to allow metadata balancing (select number of mdas to use in a VG).
* Adds --metadataignore to pvcreate,pvchange and vgextend to set metadata ignore bit.
* Adds vg_mda_copies, pv_mda_used_count and vg_mda_used_count to reports.
* Adds man pages for lvmconf and non-existent lvmsadc and lvmsar tools.
* Adds --force, --nofsck and --resizefs to lvresize/extend/reduce man pages.
* Adds --sysinit compound option to vgchange and lvchange.
* Allows incomplete mirror restore in lvconvert --repair upon insufficient space.
* Allows VGs with active LVs to be renamed.
* Permits mirror image LVs to be striped in lvcreate, lvresize and lvconvert.
* Adds ability to create mirrored logs for mirror LVs.
* Adds --monitor and --ignoremonitoring to lvcreate.
* Adds default alternative to mlockall using mlock to reduce pinned memory size.
* Adds --splitmirrors to lvconvert to split off part of a mirror.
* Adds --poll flag to vgchange and lvchange to control background daemon launch.
* Removes PVs flagged as missing in vgreduce --removemissing --force.
* Adds vgextend --restoremissing to enable reappeared PVs.
Users of lvm2 are advised to upgrade to these updated packages, which resolve these issues and add these enhancements.

1.74.2. RHBA-2010:0510: bug fix update

Updated lvm2 packages that fix various bugs are now available.
The lvm2 packages contain support for Logical Volume Management (LVM).
These updated lvm2 packages include fixes for the following bugs:
* the command lvchange --refresh used to cause unexpected partial mapping if some PVs were missing. lvchange --refresh requires a partial flag for missing PVs. This problem is resolved and lvchange --refresh recognizes now --partial. ( BZ#601078)
* the lvm command used to fail when the log file specified in lvm.conf was not available. This problem is now resolved and the commands simply log the error and continue as if there was no log file specified at all. ( BZ#601079)
All users are advised to upgrade to these updated packages, which resolve these issues.

1.74.3. RHBA-2010:0433: bug fix update

Updated lvm2 packages that fix various bugs are now available.
The lvm2 packages contain support for Logical Volume Management (LVM).
These updated lvm2 package include fixes for the following bugs:
* fixes a crash in pvs -a command if some device in Volume Group is missing. ( BZ#583995)
* avoids repeated full device scans if using internally-cached VG metadata (which happens on system with missing device in Volume Group). ( BZ#584705)
* disallows removal of primary mirror image (using lvconvert) if the mirror is not fully synchronised yet. ( BZ#584801)
* fixes unexpected symbolic link removal if device is still active after deactivation failure. ( BZ#580831)
All users are advised to upgrade to this updated package, which resolves these issues.

1.74.4. RHBA-2010:0368: bug fix update

An updated lvm2 package that fixes various bugs is now available.
The lvm2 packages contain support for Logical Volume Management (LVM).
This updated lvm2 package includes fixes for the following bugs:
* updating the Red Hat Enterprise Linux 5.5 kernel package while clvmd (the cluster LVM daemon) was running caused LVM commands to subsequently fail, with the result that it was not possible to boot into the new kernel, though booting into an older kernel worked as expected. This issue was caused by an incompatible flag in the cluster lock request. This update properly masks this flag so that LVM is again able to communicate with the running clvmd daemon. With this update, LVM works as expected after installing the Red Hat Enterprise Linux 5.5 kernel.
Important: a workaround for this issue was described in the Red Hat Knowledgebase article linked to in the References. This workaround is not needed after installing this lvm2 update. ( BZ#582218)
* running certain LVM commands, such as "vgremove", simultaneously on two different volume groups occasionally caused one of the commands to fail. This was caused by a race condition that resulted in the following error message:
flock failed: Resource temporarily unavailable Can't get lock for orphan PVs This update includes a fix for the race condition that ensures that commands can be run in parallel without failure. ( BZ#582232)
All users are advised to upgrade to this updated package, which resolves these issues.