Cannot create lvm upon IMSM raid array
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
lvm2 (Ubuntu) |
Expired
|
Undecided
|
Unassigned | ||
Focal |
Expired
|
Undecided
|
Unassigned | ||
Groovy |
Won't Fix
|
Undecided
|
Unassigned | ||
Hirsute |
Expired
|
Undecided
|
Unassigned |
Bug Description
The issue has been observed on 2.3.7 (Ubuntu 20.04).
Reported to lvm team:
https:/
Steps to Reproduce:
1. Create IMSM raid array:
#mdadm -CR imsm -e imsm -n2 /dev/nvme[01]n1
#mdadm -CR vol -l1 -n2 /dev/nvme[01]n1 -z 5G
2. Create lvm volume on raid:
# pvcreate -ff -y /dev/md/vol
# vgcreate group0 /dev/md/vol
# lvcreate -Z y -y -l +100%FREE group0 -n lvm0
Actual results:
Vg creation fails.
Expected results:
LVM should be able to determine the best drive and ignore duplicates.
Additional info:
IMSM metadata is written at the end of the drive. The first drive sector belongs to the raid volume and other metadata saved there (like lvm) can be recognized directly on raid members.
The following patches should fix the issue (not verified yet):
https:/
https:/
summary: |
- Cannot create lvm opon IMSM raid array + Cannot create lvm upon IMSM raid array |
tags: | added: rls-gg-incoming |
Changed in lvm2 (Ubuntu): | |
status: | New → Confirmed |
tags: | removed: rls-gg-incoming |
tags: | added: id-5f22e4a155f2382e506a52b3 |
tags: | added: vroc |
tags: | added: fr-337 |
Changed in lvm2 (Ubuntu Focal): | |
status: | New → Confirmed |
Changed in lvm2 (Ubuntu): | |
status: | Confirmed → Incomplete |
Changed in lvm2 (Ubuntu Focal): | |
status: | Confirmed → Incomplete |
Changed in lvm2 (Ubuntu Hirsute): | |
status: | Confirmed → Incomplete |
Can this please be targeted for 21.10?