[raring] vgchange -a n removed dm mappings but they come back immediately
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
lvm2 (Ubuntu) |
New
|
Undecided
|
Unassigned |
Bug Description
When trying to release a partition so I could resize it I was requesting that all of the logical volumes in my volume group were closed using the command below:
vgchange -a n datavg
Normally the volumes all disappear from device mapper and the underlying disk is closed. In this case the device mapper mappings were still present after completion of the command.
On closer inspection of the udev logs we determined that actually they are closed out and removed. The kernel then emits a change even for the underlying disk device as it is closed which causes them to come straight back.
ProblemType: Bug
DistroRelease: Ubuntu 13.04
Package: lvm2 2.02.95-6ubuntu4
ProcVersionSign
Uname: Linux 3.8.0-21-generic x86_64
ApportVersion: 2.9.2-0ubuntu8
Architecture: amd64
Date: Thu May 23 14:05:28 2013
EcryptfsInUse: Yes
InstallationDate: Installed on 2012-05-17 (371 days ago)
InstallationMedia: Ubuntu 12.04 LTS "Precise Pangolin" - Release amd64 (20120425)
MarkForUpload: True
SourcePackage: lvm2
UpgradeStatus: Upgraded to raring on 2012-12-06 (167 days ago)