Bug 1410743
Summary: | blkdeactivate does not umount software raid prior to deactivating it | ||
---|---|---|---|
Product: | Red Hat Enterprise Linux 7 | Reporter: | Peter Rajnoha <prajnoha> |
Component: | lvm2 | Assignee: | Peter Rajnoha <prajnoha> |
lvm2 sub component: | Scripts / lvmdump / vgimportclone | QA Contact: | cluster-qe <cluster-qe> |
Status: | CLOSED ERRATA | Docs Contact: | |
Severity: | medium | ||
Priority: | medium | CC: | agk, cluster-qe, heinzm, jbrassow, lvm-team, msnitzer, prajnoha, prockai, rbednar, rick, zkabelac |
Version: | 7.3 | ||
Target Milestone: | rc | ||
Target Release: | --- | ||
Hardware: | x86_64 | ||
OS: | Linux | ||
Whiteboard: | |||
Fixed In Version: | lvm2-2.02.169-1.el7 | Doc Type: | If docs needed, set a value |
Doc Text: | Story Points: | --- | |
Clone Of: | 1410585 | Environment: | |
Last Closed: | 2017-08-01 21:49:49 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: | |
Embargoed: | |||
Bug Depends On: | 1410585 | ||
Bug Blocks: |
Description
Peter Rajnoha
2017-01-06 10:27:38 UTC
Verified. 'blkdeactivate -u' now unmounts md raid devices as well. BEFORE PATCH # mount | tail -n 1 /dev/md0 on /mnt/test type ext4 (rw,relatime,seclabel,stripe=2048,data=ordered) # blkdeactivate -u Deactivating block devices: [SKIP]: unmount of rhel_virt--365-swap (dm-1) mounted on [SWAP] [SKIP]: unmount of rhel_virt--365-root (dm-0) mounted on / [MD]: deactivating raid1 device md0... skipping # mount | grep test /dev/md0 on /mnt/test type ext4 (rw,relatime,seclabel,stripe=2048,data=ordered) AFTER PATCH # mount | tail -n 1 /dev/md0 on /mnt/test type ext4 (rw,relatime,seclabel,stripe=2048,data=ordered) # blkdeactivate -u Deactivating block devices: [SKIP]: unmount of rhel_virt--362-swap (dm-1) mounted on [SWAP] [UMOUNT]: unmounting md0 (md0) mounted on /mnt/test... done [SKIP]: unmount of rhel_virt--362-root (dm-0) mounted on / [MD]: deactivating raid1 device md0... done 3.10.0-647.el7.x86_64 lvm2-2.02.169-3.el7 BUILT: Wed Mar 29 16:17:46 CEST 2017 lvm2-libs-2.02.169-3.el7 BUILT: Wed Mar 29 16:17:46 CEST 2017 lvm2-cluster-2.02.169-3.el7 BUILT: Wed Mar 29 16:17:46 CEST 2017 device-mapper-1.02.138-3.el7 BUILT: Wed Mar 29 16:17:46 CEST 2017 device-mapper-libs-1.02.138-3.el7 BUILT: Wed Mar 29 16:17:46 CEST 2017 device-mapper-event-1.02.138-3.el7 BUILT: Wed Mar 29 16:17:46 CEST 2017 device-mapper-event-libs-1.02.138-3.el7 BUILT: Wed Mar 29 16:17:46 CEST 2017 device-mapper-persistent-data-0.7.0-0.1.rc6.el7 BUILT: Mon Mar 27 17:15:46 CEST 2017 cmirror-2.02.169-3.el7 BUILT: Wed Mar 29 16:17:46 CEST 2017 Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory, and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://access.redhat.com/errata/RHBA-2017:2222 |