[Bug 1136494] [NEW] "Cannot read device" on inactive volumes
Lawren Quigley-Jones
1136494 at bugs.launchpad.net
Thu Feb 28 22:33:38 UTC 2013
Public bug reported:
Release:
Description: Ubuntu 10.04.4 LTS
Release: 10.04
Version:
cryptsetup:
Installed: 2:1.1.0~rc2-1ubuntu13
Candidate: 2:1.1.0~rc2-1ubuntu13
Version table:
*** 2:1.1.0~rc2-1ubuntu13 0
500 http://apt/ubuntu/ lucid/main Packages
100 /var/lib/dpkg/status
Scenario:
I have an lvm2 snapshot of an encrypted volume.
I mount the snapshot using cryptsetup.
The available space is exceeded for the snapshot and is left "inactive" by the filesystem.
At this point if I attempt to "luksClose" the crypt device the following error is issued:
"Cannot read device /dev/mapper/crypt-snapshotvolume"
I am unable to destroy the snapshot because it is in use.
Expected Behavior:
I would expect luksClose to have a "force" option where it would close the device even though it cannot read it.
Bug:
I am unable to destroy the snapshot without rebooting the system.
** Affects: cryptsetup (Ubuntu)
Importance: Undecided
Status: New
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to cryptsetup in Ubuntu.
https://bugs.launchpad.net/bugs/1136494
Title:
"Cannot read device" on inactive volumes
Status in “cryptsetup” package in Ubuntu:
New
Bug description:
Release:
Description: Ubuntu 10.04.4 LTS
Release: 10.04
Version:
cryptsetup:
Installed: 2:1.1.0~rc2-1ubuntu13
Candidate: 2:1.1.0~rc2-1ubuntu13
Version table:
*** 2:1.1.0~rc2-1ubuntu13 0
500 http://apt/ubuntu/ lucid/main Packages
100 /var/lib/dpkg/status
Scenario:
I have an lvm2 snapshot of an encrypted volume.
I mount the snapshot using cryptsetup.
The available space is exceeded for the snapshot and is left "inactive" by the filesystem.
At this point if I attempt to "luksClose" the crypt device the following error is issued:
"Cannot read device /dev/mapper/crypt-snapshotvolume"
I am unable to destroy the snapshot because it is in use.
Expected Behavior:
I would expect luksClose to have a "force" option where it would close the device even though it cannot read it.
Bug:
I am unable to destroy the snapshot without rebooting the system.
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/cryptsetup/+bug/1136494/+subscriptions
More information about the foundations-bugs
mailing list