From: Song Hu <kellyhu258@gmail.com>
To: pve-devel@lists.proxmox.com
Subject: Need access to `bin/pve-osd-lvm-enable-autoactivation` (Bug #6652)
Date: Fri, 20 Mar 2026 12:28:56 +0800 [thread overview]
Message-ID: <CAA4=k41_FX6EMVR=ZJMVirs-OLLN3sBLK3cStxgFH4kcgiRGvQ@mail.gmail.com> (raw)
Need access to `bin/pve-osd-lvm-enable-autoactivation` (Bug #6652)
Hi Proxmox team,
I’m running into the issue described in bug #6652 “LVM Autoactivation
Missing for Ceph OSD LVs”, and I need the helper script
`bin/pve-osd-lvm-enable-autoactivation` in order to enable autoactivation
for existing OSD logical volumes.
I’m using:
- Proxmox VE: 8.x (based on Debian bookworm)
- pve-manager package: `pve-manager/8.x.x` (you can fill in the exact
version)
- Kernel: `6.8.xx-pve` (adjust if needed)
I’ve read the fix series for #6652:
- v1:
https://lore.proxmox.com/pve-devel/20250812164631.428424-1-m.carrara@proxmox.com/T/
- v2:
https://lore.proxmox.com/pve-devel/20250813134028.292213-1-m.carrara@proxmox.com/T/
From the “applied: (subset)” reply, I understand that only the first patch
(changing `PVE/API2/Ceph/OSD.pm`) has been merged so far:
> Applied the first patch, thanks!
> [1/2] fix #6652: ceph: osd: enable autoactivation for OSD LVs on creation
> commit: 92bbc0c89fe7331ab122ff396f5e23ab31fa0765
The second patch, which introduces `bin/pve-osd-lvm-enable-autoactivation`
and adjusts `debian/postinst`, has not been applied yet.
I’ve checked the `pve-manager.git` repository:
- https://git.proxmox.com/?p=pve-manager.git;a=tree;hb=refs/heads/master
- https://git.proxmox.com/?p=pve-manager.git;a=tree;hb=refs/heads/stable-8
and I can confirm that `bin/pve-osd-lvm-enable-autoactivation` is not
present in either the `master` or `stable-8` branches. The `bin/` directory
contains many other helpers (e.g. `pve-lvm-disable-autoactivation`,
`pve-init-ceph-crash`, etc.) but not this one.
Since I’m affected by #6652 on nodes that already have OSDs with missing
autoactivation, I would like to run this helper script instead of manually
invoking `lvchange --setautoactivation y` on each LV.
Could you please clarify:
1. Is there an official recommended way to obtain the
`pve-osd-lvm-enable-autoactivation` script for existing deployments while
the second patch is still pending?
2. If not, would it be possible to provide a standalone copy of the script
(e.g. as a downloadable blob or via a tagged commit) that users can safely
use on production clusters?
3. Is there a timeline or additional work required before the second patch
can be merged? I’m happy to help with testing or providing feedback on the
behavior in a real-world setup.
In the meantime, I’m manually working around the issue by:
- Listing OSD LVs with:
`lvs --options lv_name,vg_name,autoactivation,active`
- For LVs named `osd-db-*` or `osd-wal-*` in VGs named `ceph-*` where
“AutoAct” is empty:
`lvchange --setautoactivation y <vg_name>/<lv_name>`
- Then reactivating OSDs as described in the v2 cover letter.
Any guidance you can provide would be greatly appreciated.
Thanks,
buladou
next reply other threads:[~2026-03-20 7:31 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-03-20 4:28 Song Hu [this message]
2026-03-20 10:58 ` Max R. Carrara
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to='CAA4=k41_FX6EMVR=ZJMVirs-OLLN3sBLK3cStxgFH4kcgiRGvQ@mail.gmail.com' \
--to=kellyhu258@gmail.com \
--cc=pve-devel@lists.proxmox.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox