Bug 2057759
| Summary: | '_get_device_info: device not found.' warning when deleting snapshot volumes | ||
|---|---|---|---|
| Product: | Red Hat Enterprise Linux 9 | Reporter: | Corey Marthaler <cmarthal> |
| Component: | lvm2 | Assignee: | Zdenek Kabelac <zkabelac> |
| lvm2 sub component: | Snapshots | QA Contact: | cluster-qe <cluster-qe> |
| Status: | ASSIGNED --- | Docs Contact: | |
| Severity: | medium | ||
| Priority: | unspecified | CC: | agk, heinzm, jbrassow, mcsontos, msnitzer, prajnoha, zkabelac |
| Version: | 9.0 | Keywords: | Triaged |
| Target Milestone: | rc | ||
| Target Release: | --- | ||
| Hardware: | x86_64 | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | If docs needed, set a value | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | Type: | Bug | |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
| Embargoed: | |||
|
Description
Corey Marthaler
2022-02-24 03:05:27 UTC
This is not yet fixed in the latest. kernel-5.14.0-322.el9 BUILT: Fri Jun 2 10:00:53 AM CEST 2023 lvm2-2.03.21-2.el9 BUILT: Thu May 25 12:03:04 AM CEST 2023 lvm2-libs-2.03.21-2.el9 BUILT: Thu May 25 12:03:04 AM CEST 2023 [root@virt-499 ~]# lvs -a -o +devices,segtype LV VG Attr LSize Pool Origin Data% Meta% Move Log Cpy%Sync Convert Devices Type snap vdo_sanity swi-a-s--- 6.00g vdo_lv 5.69 /dev/sdb1(3202) linear vdo_lv vdo_sanity owi-aos--- 100.00g vdo_pool vdo_pool(0) vdo vdo_pool vdo_sanity dwi------- 50.00g 9.27 vdo_pool_vdata(0) vdo-pool [vdo_pool_vdata] vdo_sanity Dwi-ao---- 50.00g /dev/sda1(0) linear [vdo_pool_vdata] vdo_sanity Dwi-ao---- 50.00g /dev/sdb1(0) linear [root@virt-499 ~]# lvremove -f vdo_sanity Logical volume vdo_sanity/vdo_lv contains a filesystem in use. Logical volume vdo_sanity/vdo_lv contains a filesystem in use. [root@virt-499 ~]# umount /mnt/* [root@virt-499 ~]# lvremove -f vdo_sanity _get_device_info: LVM-cbz5joGpdO3htk6E7HebRXaKvNtDzDVhzsMyioYwv0lEY1X8bPuf6xcluilm0NJ6: device not found. WARNING: Failed to unmonitor vdo_sanity/snap. Logical volume "snap" successfully removed. Logical volume "vdo_lv" successfully removed. Another reproduction of this issue. This appears to be some timing issue, as this is not 100% reproducible. [root@grant-01 ~]# lvs LV VG Attr LSize Pool Origin Data% Meta% Move Log Cpy%Sync Convert bb_snap1 black_bird swi---s--- 252.00m synced_random_raid1_2legs_1 synced_random_raid1_2legs_1 black_bird owi-a-r--- 500.00m 100.00 [root@grant-01 ~]# lvremove -f black_bird _get_device_info: LVM-ebZovEeJooQwGsTfTn7eQjxUpHruNEEEMRvBkEPVc7cnNlpDV5nEVxThLXnNcTqy: device not found. WARNING: Failed to unmonitor black_bird/bb_snap1. Logical volume "bb_snap1" successfully removed. Logical volume "synced_random_raid1_2legs_1" successfully removed. kernel-5.14.0-322.el9 BUILT: Fri Jun 2 10:00:53 AM CEST 2023 lvm2-2.03.21-2.el9 BUILT: Thu May 25 12:03:04 AM CEST 2023 lvm2-libs-2.03.21-2.el9 BUILT: Thu May 25 12:03:04 AM CEST 2023 |