| Summary: | mirror conversion _mimagetmp_ device sticking around after sync completes | ||
|---|---|---|---|
| Product: | Red Hat Enterprise Linux 7 | Reporter: | Corey Marthaler <cmarthal> |
| Component: | lvm2 | Assignee: | Jonathan Earl Brassow <jbrassow> |
| lvm2 sub component: | Mirroring and RAID | QA Contact: | Cluster QE <mspqa-list> |
| Status: | CLOSED NOTABUG | Docs Contact: | |
| Severity: | medium | ||
| Priority: | unspecified | CC: | agk, heinzm, jbrassow, msnitzer, prajnoha, prockai, thornber, zkabelac |
| Version: | 7.0 | ||
| Target Milestone: | rc | ||
| Target Release: | --- | ||
| Hardware: | x86_64 | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | Bug Fix | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2014-02-20 22:25:29 UTC | Type: | Bug |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
|
Description
Corey Marthaler
2013-12-07 00:26:28 UTC
This still exists in the latest rpms: [root@host-050 ~]# lvs -a -o +devices LV Attr LSize Log Cpy%Sync Convert Devices mirror_1 cwi-aom--- 2.00g 100.00 mirror_1_mimagetmp_3 mirror_1_mimagetmp_3(0),mirror_1_mimage_3(0) [mirror_1_mimage_1] iwi-aom--- 2.00g /dev/sdb1(0) [mirror_1_mimage_2] iwi-aom--- 2.00g /dev/sdd1(0) [mirror_1_mimage_3] iwi-aom--- 2.00g /dev/sda1(0) [mirror_1_mimagetmp_3] mwi-aom--- 2.00g mirror_1_mlog 100.00 mirror_1_mimage_1(0),mirror_1_mimage_2(0) [mirror_1_mlog] lwi-aom--- 4.00m /dev/sdf1(0) [root@host-050 ~]# /usr/tests/sts-rhel7.0/lvm2/bin/lvm_rpms lvm2-2.02.105-1.el7 BUILT: Wed Jan 22 07:34:15 CST 2014 lvm2-libs-2.02.105-1.el7 BUILT: Wed Jan 22 07:34:15 CST 2014 lvm2-cluster-2.02.105-1.el7 BUILT: Wed Jan 22 07:34:15 CST 2014 device-mapper-1.02.84-1.el7 BUILT: Wed Jan 22 07:34:15 CST 2014 device-mapper-libs-1.02.84-1.el7 BUILT: Wed Jan 22 07:34:15 CST 2014 device-mapper-event-1.02.84-1.el7 BUILT: Wed Jan 22 07:34:15 CST 2014 device-mapper-event-libs-1.02.84-1.el7 BUILT: Wed Jan 22 07:34:15 CST 2014 device-mapper-persistent-data-0.2.8-3.el7 BUILT: Fri Dec 27 13:40:56 CST 2013 cmirror-2.02.105-1.el7 BUILT: Wed Jan 22 07:34:15 CST 2014 Test suite problem... the lvconvert background process is being killed after the calling process logs out. [root@host-074 ~]# lvcreate --type mirror -m 1 -L 100M -n lv vg Logical volume "lv" created [root@host-074 ~]# lvs -a -o name,attr,copy_percent LV Attr Cpy%Sync root -wi-ao---- swap -wi-ao---- lv mwi-a-m--- 100.00 [lv_mimage_0] iwi-aom--- [lv_mimage_1] iwi-aom--- [lv_mlog] lwi-aom--- [root@host-074 ~]# lvconvert -m 2 vg/lv -b [root@host-074 ~]# lvs -a -o name,attr,copy_percent vg LV Attr Cpy%Sync lv mwi-a-m--- 100.00 [lv_mimage_0] iwi-aom--- [lv_mimage_1] iwi-aom--- [lv_mimage_2] iwi-aom--- [lv_mlog] lwi-aom--- [root@host-074 ~]# lvconvert -m 1 vg/lv -b Logical volume lv converted. [root@host-074 ~]# lvs -a -o name,attr,copy_percent vg LV Attr Cpy%Sync lv mwi-a-m--- 100.00 [lv_mimage_0] iwi-aom--- [lv_mimage_1] iwi-aom--- [lv_mlog] lwi-aom--- [root@host-074 ~]# ssh localhost lvconvert -m 2 vg/lv -b root@localhost's password: [root@host-074 ~]# lvs -a -o name,attr,copy_percent vg LV Attr Cpy%Sync lv mwi-a-m--- 100.00 [lv_mimage_0] iwi-aom--- [lv_mimage_1] iwi-aom--- [lv_mimage_2] iwi-aom--- [lv_mlog] lwi-aom--- [root@host-074 ~]# lvconvert -m 1 vg/lv -b Logical volume lv converted. [root@host-074 ~]# lvs -a -o name,attr,copy_percent vg LV Attr Cpy%Sync lv mwi-a-m--- 100.00 [lv_mimage_0] iwi-aom--- [lv_mimage_1] iwi-aom--- [lv_mlog] lwi-aom--- [root@host-074 ~]# qarsh host-074 lvconvert -m 2 vg/lv -b [root@host-074 ~]# lvs -a -o name,attr,copy_percent vg LV Attr Cpy%Sync lv cwi-a-m--- 100.00 [lv_mimage_0] iwi-aom--- [lv_mimage_1] iwi-aom--- [lv_mimage_2] iwi-aom--- [lv_mimagetmp_2] mwi-aom--- 100.00 [lv_mlog] lwi-aom--- You can take the '-b' out of the 'lvconvert' command, or you'll have to find a way to allow the process to keep running like ssh does. |