lvmpersist
Manage persistent reservations (PR) on block devices or all PVs in a volume group. More information: https://manned.org/lvmpersist.
- Start PR on all PVs in a VG with a local key (exclusive access by default):
lvmpersist start --ourkey --vg
- Start PR for a shared VG (allow multiple hosts):
lvmpersist start --ourkey --access --vg
- Stop PR on a VG and unregister the local key:
lvmpersist stop --ourkey --vg
- Take over a local VG by preempting another host while starting PR:
lvmpersist start --ourkey --removekey --vg
- Remove another host's key from a shared VG:
lvmpersist remove --ourkey --removekey --vg
- Show registered keys and reservations for a VG:
lvmpersist read --vg
- Operate on specific devices instead of a VG:
lvmpersist start --ourkey --device --device
来源:tldr-pages contributors · 作者与贡献记录 · CC BY 4.0。离线整理了版式、链接和媒体显示。
