<feed xmlns='http://www.w3.org/2005/Atom'>
<title>packages/utils/lvm2, branch master</title>
<subtitle>Mirror of packages feed</subtitle>
<id>https://git-03.infra.openwrt.org/feed/packages/atom?h=master</id>
<link rel='self' href='https://git-03.infra.openwrt.org/feed/packages/atom?h=master'/>
<link rel='alternate' type='text/html' href='https://git-03.infra.openwrt.org/feed/packages/'/>
<updated>2026-11-19T10:07:27Z</updated>
<entry>
<title>lvm2: update to 2.03.44</title>
<updated>2026-11-19T10:07:27Z</updated>
<author>
<name>Thanh Vũ</name>
</author>
<published>2026-11-14T16:11:41Z</published>
<link rel='alternate' type='text/html' href='https://git-03.infra.openwrt.org/feed/packages/commit/?id=d21796cc7f629f6ddad9727da2eebdf55c968475'/>
<id>urn:sha1:d21796cc7f629f6ddad9727da2eebdf55c968475</id>
<content type='text'>
Patch update:
- 002-const-stdio.patch: adjust hunk offsets

LVM2 2.03.44:
- round non-power-of-two VDO slab size up to a power of two in lvcreate
- make pthread_setname_np optional for older pthread libraries
- fix blkio invalidation of held or dirty blocks and interrupted waits
- report synchronous I/O failures through the blkio completion path
- release the label scan before forking the polldaemon
- add configure --with/out-libaio to control async engine support
- add configure --with/out-liburing to control io_uring support
- add optional io_uring io engine (requires liburing, kernel 5.1+)
- default the I/O engine to iouring, then threads, then libaio, then sync
- add pthread-based I/O engine to eliminate libaio io_destroy penalty
- deprecate use_aio; use_aio=0 still selects sync I/O
- add io_engine config to select the I/O engine
- warn and use sync I/O when the requested I/O engine is unavailable
- zero fill the tail of a short io engine read at the end of a device
- drain in-flight libaio on io engine destroy
- remove orphaned pvmove LV when force-removing a RAID LV locked for pvmove
- preserve committed metadata when pv_write updates an existing PV
- use mdadm-compatible CRC-32 when detecting DDF metadata
- detect NVMe multipath devices and handle uncached primary devices
- use the VDO pool data LV size for VDO memory checks
- warn about RAID reshape data corruption on kernels older than 6.11
- suggest remedies when duplicate PV devices block VG updates or activation
- improve documentation about PVs layered on top of LVs
- reject cache pool resize with a clear error instead of failing internally
- preserve RAID1 recovery state and rebuild markers when reducing images
- accept transient or incomplete dm-raid status during repair and reduction
- report the dead-primary RAID repair advice instead of refusing a rebuild
- fix out-of-bounds read when parsing short dmeventd client messages
- reject malformed numeric fields in dmeventd client registration messages
- reject dmeventd registrations without a plugin or device name
- use non-blocking dmeventd FIFO I/O and timeouts for stalled clients
- fix dmeventd timeout thread spin when no timeout is scheduled
- fix dmeventd monitor thread list when a thread fails before linking
- unregister dmeventd devices from plugins if monitoring stops early
- do not reuse dmeventd grace-period threads when the device inode is unknown
- reset dmeventd pending SIGALRM without changing signal disposition
- warn when parent directories of dmeventd FIFO paths are not secure
- validate systemd-activated dmeventd FIFOs and use non-blocking I/O
- fix dmeventd info when the running daemon returns no status reply data
- run build-tree binaries against build libraries, not installed copies
- avoid spurious dmeventd unregister errors when removing monitored snapshots
- run mirror repair from dmeventd when mirror reports in-sync with failed legs
- fix out-of-bounds access on an unterminated mda_header raw_locns (BZ2510937)
- log open failures at debug for devices excluded after scan I/O errors
- fix blkdeactivate to exit 0 when devices stay mounted by policy
- fix blkdeactivate -l wholevg when another LV in the VG stays mounted
- fix blkdeactivate exit status on failed deactivation or mpath queueing
- fix blkdeactivate umount for paths with spaces or lsblk hex escapes
- update lvmdump for lvmlockd; add -A; drop lvmetad collection
- harden fsadm size parsing and use mktemp for temporary mount dirs
- ignore _FSADM_YES from the environment; pass --yes only from the CLI
- fix fsadm fsck exit codes and mount detection via /proc/self/mountinfo
- harden lvm_import_vdo YAML and stat parsing against shell injection
- use mktemp in lvm_import_vdo; validate TMPDIR and tool binary overrides
- harden lvresize_fs_helper temp mounts, signal cleanup, and TMPDIR checks
- validate lvresize_fs_helper resize sizes and value-taking options
- fix lvresize_fs_helper btrfs, e2fsck handling, and --fsextend/--fsreduce
- prevent redundant device access after scan I/O errors (DEV_SCAN_NOT_READ)
- apply lvmlockd --lockopt force to all lock requests
- keep PR state after failed start
- apply PTPL when extending VG to ensure persistence when power cycling devs
- allow vgextend before any host starts PR on new devs
- fix pvscan autoactivation when DEVLINKS symlinks are not yet created

LVM2 2.03.43:
- wipe stale signatures before formatting a VDO data LV on thin storage
- warn on non-power-of-2 thin pool chunk size; prompt when --chunksize is used
- fix lvmpolld shutdown when reaping a finished client thread
- fix dmeventd raid repair after partial replacement or resync completion
- retry failed dmeventd snapshot extension with exponential backoff
- fix dmeventd snapshot threshold advance when lvextend failed
- fix dmeventd snapshot unmount on Invalid/Overflow, not 100% usage alone
- reject undersized --pooldatavdo conversion before allocating pool metadata
- allow lvchange --refresh and properties on hidden thin and cache pool sub LVs
- allow 4K stripe size smaller than page size (except on DAX and MD RAID)
- set recursion limit to 1024 LVs when processing device tree
- remove cmirrord and clustered mirror log daemon support
- remove legacy vgimportclone.sh script (superseded by native vgimportclone)
- respect /run/mdadm/creating-&lt;md_dev_name&gt; in 69-dm-lvm.rules
- add lvmconfig --edit Section/Field=Value to set an lvm.conf setting
- add lvmconfig --edit Section/Field=- to remove an lvm.conf setting
- fix use-after-free of host tag list on toolcontext refresh
- fix memleak of config tree list nodes on toolcontext refresh
- fix lvmconfig output of merged and unregistered config nodes
- recurse into subsections when merging config trees
- make lvmpersist reject non-block devices and unsupported device types
- make lvmpersist validate --vg/--device and key options before use
- make lvmpersist check for required PR tools (sg_persist, nvme, mpathpersist, jq)
- make lvmpersist clean up registered keys when interrupted during start/takeover
- make lvmpersist report failures from start, stop, clear, remove and query commands
- fix lvmpersist --vg device list splitting to avoid pathname expansion

device-mapper 1.02.218:
- handle incomplete RAID health status from dm-raid 1.9.0/1.9.1
- fix dmstats handling of stale group members after @stats_delete
- fix dmstats histogram bounds leak when statistics regions are re-listed
- validate dmsetup vdostats device name before use
- only prefix log output with source location when verbose is enabled

device-mapper 1.02.217:
- ignore stale raid sync/nosync in active table for reload suppression
- fix dmvdostats help -c to list VDO report fields instead of dmstats fields
- resolve dmsetup vdostats through device tree and try -vpool name suffix
- make library initialization and finalization safe with dlopen and dlclose
- disable LeakSanitizer for the dmsetup udevcomplete udev rule
- hard limit config parser to 128 section nesting
- convert recursive config cloning to iteration
- fix missing phtread key delete. (1.02.216)
- set parent pointers in dm_config_clone_node_with_mem when cloning nodes
- fix dm_config_parent_name for root nodes in tree parsed by dm_config_parse

Signed-off-by: Thanh Vũ &lt;thanhv@tutamail.com&gt;
</content>
</entry>
<entry>
<title>lvm2: conflict with the selinux variants</title>
<updated>2026-11-03T11:01:12Z</updated>
<author>
<name>Josef Schlehofer</name>
</author>
<published>2026-10-28T23:15:38Z</published>
<link rel='alternate' type='text/html' href='https://git-03.infra.openwrt.org/feed/packages/commit/?id=3cc71150f7a25c21fab824d7996f679659ee6933'/>
<id>urn:sha1:3cc71150f7a25c21fab824d7996f679659ee6933</id>
<content type='text'>
libdevmapper and libdevmapper-selinux both install
/usr/lib/libdevmapper.so.1.02, and lvm2 and lvm2-selinux both install
/sbin/lvm, /sbin/dmsetup and /etc/lvm/lvm.conf. The selinux variants
provide the plain names, so apk never installs both of a pair, but
Kconfig lets both be selected, and the image then silently gets only
the selinux variant.

Declare the conflicts on libdevmapper and lvm2 and mark them as the
default variant, as include/package-pack.mk asks for variants that
share a provide. cryptsetup, autopart and nfs-utils-v4 depend on them,
and Kconfig selects them depending on the selinux variants, so a
conflict in the other direction creates a Kconfig dependency cycle.

Checked with defconfig: libdevmapper drops to m when
libdevmapper-selinux is selected, and lvm2 drops to m when lvm2-selinux
is selected.

Signed-off-by: Josef Schlehofer &lt;pepe.schlehofer@gmail.com&gt;
</content>
</entry>
<entry>
<title>lvm2: update to 2.03.42</title>
<updated>2026-08-31T16:30:15Z</updated>
<author>
<name>Daniel Golle</name>
</author>
<published>2026-08-20T13:58:34Z</published>
<link rel='alternate' type='text/html' href='https://git-03.infra.openwrt.org/feed/packages/commit/?id=3b40dd12b62cb69781b8d52c72e58b3594e634cb'/>
<id>urn:sha1:3b40dd12b62cb69781b8d52c72e58b3594e634cb</id>
<content type='text'>
LVM2 2.03.42:
- add --lockopt retries=N / removeretry=SECONDS to lvmlockd
- use lockd_lv lock probes for pvmove holder availability in shared VGs
- auto-revert metadata when initial pvmove mirror activation fails
- refuse activation of a pvmove-locked LV when pvmove runs on another
  node; allow pvmove --abort without args when using lvmlockd
- add cluster lock lifecycle for pvmove LV in shared VGs, and support
  for pvmove in a shared VG
- allow lvremove -f to remove pvmove-locked LVs after an interrupted
  pvmove; handle active pvmove during vgchange -an with force flags
- fix pvmove completion to use suspend+resume for DM table reload; fix
  deactivation cascade during active pvmove
- support inactive LVs in pvmove with metadata-only mirror insertion;
  kill orphaned polling process on pvmove --abort
- support formatting vdo volumes with the kernel vdo target (&gt;=9.2);
  fix VDO index_memory_size_mb quantisation and report the minimum
  required pool size
- add --enable-asan/--enable-tsan build options

device-mapper 1.02.216:
- make libdm thread safe
- add use_kernel_format to dm_vdo_target_params
- introduce libdevmapper-san with --enable-asan/--enable-tsan
- parent table force reload when child device table changes

Refreshed 002-const-stdio.patch and 003-no-mallinfo.patch against the
new upstream source (make package/lvm2/refresh; hunk offsets only, no
content change) and gave both a proper git-am header block (From/Date/
Subject/Signed-off-by), crediting their original authorship (Daniel
Golle, 2015) with an accurate subject/body; they previously had none,
which the CI formality bot flagged. The header block was drafted via
git format-patch against a scratch commit of the pristine source, then
the whole patch re-refreshed through quilt so the diff body matches
what make package/lvm2/refresh actually produces byte for byte -
format-patch output alone does not survive OpenWrt's own refresh
(diff --git/index lines and full @@ context get stripped, the
trailing signature dropped), which is what the CI patch-format check
was rejecting before this.

Signed-off-by: Daniel Golle &lt;daniel@makrotopia.org&gt;
</content>
</entry>
<entry>
<title>lvm2: update to 2.03.41</title>
<updated>2026-05-20T12:20:42Z</updated>
<author>
<name>Daniel Golle</name>
</author>
<published>2026-05-19T10:25:40Z</published>
<link rel='alternate' type='text/html' href='https://git-03.infra.openwrt.org/feed/packages/commit/?id=75d4b7a129031b53924361063d2482e0618f9be1'/>
<id>urn:sha1:75d4b7a129031b53924361063d2482e0618f9be1</id>
<content type='text'>
Stable bug-fix release in the 2.03.x series. The bundled
device-mapper library bumps from 1.02.209 to 1.02.215; track that
in PKG_VERSION_DM as well so the libdevmapper package shows the
correct upstream version.

Signed-off-by: Daniel Golle &lt;daniel@makrotopia.org&gt;
</content>
</entry>
<entry>
<title>lvm2: update to 2.03.40 (libdm 1.02.209)</title>
<updated>2026-05-09T16:14:58Z</updated>
<author>
<name>Daniel Golle</name>
</author>
<published>2026-05-08T17:40:01Z</published>
<link rel='alternate' type='text/html' href='https://git-03.infra.openwrt.org/feed/packages/commit/?id=4c2d847a31e349772f3985594f556aabd829d2da'/>
<id>urn:sha1:4c2d847a31e349772f3985594f556aabd829d2da</id>
<content type='text'>
Update LVM2 from 2.03.33 to 2.03.40, bundled libdm from 1.02.207 to
1.02.209.

LVM2 highlights since 2.03.33:

2.03.40 (28th April 2026):
 * Many bug fixes and memory/lock leak fixes throughout the
   tree (vgcreate, vgmerge, vgimportclone, pvscan, raid, dmeventd,
   pvmove, lvmpolld).
 * Validate area_count and metadata sizes to prevent overflows.
 * Fix percent_check threshold stuck above 100% in dmeventd
   thin/vdo plugins.
 * Pre-create udev cookie before critical section to avoid
   resume failures.

2.03.39 (13th March 2026):
 * Support --interval +N to delay first poll in pvmove and lvpoll.
 * Add atomic leases using Compare and Write (CAW) to lvmlockd.
 * Add lvm-index(7), lvm-categories(7), lvm-args(7) man pages.
 * Show active cache mode in kernel table line (lvs -o kernel_cache_mode).
 * Switch from internal device_mapper library to libdm.

2.03.34 - 2.03.38:
 * Persistent reservation support on a VG; VG attr character + pr
   field on vgs reflecting persistent reservation status.
 * dmeventd: restart with no monitored devices, no actions on
   removed devices.
 * Various filter, integrity, cache, raid and pvmove fixes.

libdm changes since 1.02.207 (1.02.208 / 1.02.209) consist purely
of internal cleanups and version bumps; no user-visible changes
documented in WHATS_NEW_DM.

Link: https://gitlab.com/lvmteam/lvm2/-/blob/v2_03_40/WHATS_NEW
Link: https://gitlab.com/lvmteam/lvm2/-/blob/v2_03_40/WHATS_NEW_DM
Signed-off-by: Daniel Golle &lt;daniel@makrotopia.org&gt;
</content>
</entry>
<entry>
<title>lvm2: install: fix "Argument list too long" error when copying symlinks</title>
<updated>2025-10-20T19:53:11Z</updated>
<author>
<name>Petr Štetiar</name>
</author>
<published>2025-05-21T18:48:30Z</published>
<link rel='alternate' type='text/html' href='https://git-03.infra.openwrt.org/feed/packages/commit/?id=073b460cb199d096e71f48279efe4e7b4fd64e57'/>
<id>urn:sha1:073b460cb199d096e71f48279efe4e7b4fd64e57</id>
<content type='text'>
It was reported that in some build environments the install step fails
with following:

 find /home/.../buildsystem/build_dir/target-aarch64-unknown-linux-gnu_musl/lvm2-normal/LVM2.2.03.22/ipkg-install/usr/sbin/ -type l -exec cp -fpR -a {} /home/.../buildsystem/build_dir/target-aarch64-unknown-linux-gnu_musl/lvm2-normal/LVM2.2.03.22/.pkgdir/lvm2/sbin/ \;
 make[6]: /bin/sh: Argument list too long

This is likely happening once the number of symlinks exceeds the shell's
maximum argument limit.

So lets fix it by switching to more reliable xargs based solution:

 print0/xargs -0 to handle filenames with special characters
 xargs -r to skip execution if no files are found
 cp -t to specify the target directory once instead of for each file

Fixes: #26552
Signed-off-by: Petr Štetiar &lt;ynezz@true.cz&gt;
</content>
</entry>
<entry>
<title>lvm2: disable readline and interactive shell</title>
<updated>2025-09-25T11:54:52Z</updated>
<author>
<name>Maxim Storchak</name>
</author>
<published>2025-09-25T09:38:21Z</published>
<link rel='alternate' type='text/html' href='https://git-03.infra.openwrt.org/feed/packages/commit/?id=2a1e7734ed055a3107d673f3d147c0031ded532f'/>
<id>urn:sha1:2a1e7734ed055a3107d673f3d147c0031ded532f</id>
<content type='text'>
remove support of interactive mode in /sbin/lvm

Benefits:
- drop dependency on readline and ncurses (-700kb if there are no other users of these libs)
- shrink the lvm binary itself (-260k)

Drawback:
- lose interactive shell:
lvm&gt; vgchange -ay
  4 logical volume(s) in volume group "vg0" now active
lvm&gt;

"lvm &lt;subcommand&gt; --params" and "&lt;subcommand&gt; --params" entry points are still available

Signed-off-by: Maxim Storchak &lt;m.storchak@gmail.com&gt;
</content>
</entry>
<entry>
<title>lvm2: update to 2.03.33 and libdm to 1.02.207</title>
<updated>2025-07-08T16:28:11Z</updated>
<author>
<name>Daniel Golle</name>
</author>
<published>2025-07-04T15:25:39Z</published>
<link rel='alternate' type='text/html' href='https://git-03.infra.openwrt.org/feed/packages/commit/?id=f2b49654eb76bb933404654d6a5adea90101f3c2'/>
<id>urn:sha1:f2b49654eb76bb933404654d6a5adea90101f3c2</id>
<content type='text'>
LVM changes:

Version 2.03.33 - 27th June 2025
================================
  Various spelling, grammar, formatting, test, and build script improvements.
  Override LC_NUMERIC locale if unsuitable for json_std report format.
  Repair raid arrays with transiently lost devices.

Version 2.03.32 - 05th May 2025
===============================
  Lvconvert vdopool conversion properly validates acceptable LVs.
  Accept thin pool data LV as cacheable LV.
  Allow using zram block devices (likely for testing).
  Fix lvresize when resizing COW snapshots already covering origin.
  Fix lvmdbusd read of executed lvm commands output.
  Fix construction of DM UUID for cachevol _cdata and _cmeta devices.
  Ignore PV claims from old metadata when then PV belongs to a new VG.
  Fix integrity metadata rounding.
  Accept --autobackup option in pvresize.

libdm changes:

Version 1.02.207 - 27th June 2025
=================================
  Escape the escape character itself on JSON report format output.
  Fail dm_report_group_create if radix char from locale unsuitable for JSON_STD.

Version 1.02.206 - 05th May 2025
================================
  Add support for using regex in selection criteria for string lists.
  Fix string list selection when using [&lt;item&gt; || &lt;item&gt; ...].

Signed-off-by: Daniel Golle &lt;daniel@makrotopia.org&gt;
</content>
</entry>
<entry>
<title>lvm2: build without libnvme</title>
<updated>2025-05-03T00:52:24Z</updated>
<author>
<name>Daniel Golle</name>
</author>
<published>2025-05-03T00:47:09Z</published>
<link rel='alternate' type='text/html' href='https://git-03.infra.openwrt.org/feed/packages/commit/?id=8908998cc72d1b495017cb9acd16857754ff7174'/>
<id>urn:sha1:8908998cc72d1b495017cb9acd16857754ff7174</id>
<content type='text'>
Instead of depending on libnvme always build without support for
libnvme.

Signed-off-by: Daniel Golle &lt;daniel@makrotopia.org&gt;
</content>
</entry>
<entry>
<title>lvm2: add missing dependency</title>
<updated>2025-04-29T01:04:41Z</updated>
<author>
<name>John Audia</name>
</author>
<published>2025-04-28T14:11:38Z</published>
<link rel='alternate' type='text/html' href='https://git-03.infra.openwrt.org/feed/packages/commit/?id=7f99ff45c981e68310200b9e8d5872d768f9f74c'/>
<id>urn:sha1:7f99ff45c981e68310200b9e8d5872d768f9f74c</id>
<content type='text'>
This package fails to build without defining libmvme as a DEPENDS.

Package lvm2 is missing dependencies for the following libraries:
libnvme.so.1

Build system: x86/64
Build-tested: x86/64
Run-tested: x86/64

Signed-off-by: John Audia &lt;therealgraysky@proton.me&gt;
</content>
</entry>
</feed>
