[Bug 1136494] Re: "Cannot read device" on inactive volumes

Launchpad Bug Tracker 1136494 at bugs.launchpad.net
Fri Jun 21 07:02:06 UTC 2013


Status changed to 'Confirmed' because the bug affects multiple users.

** Changed in: cryptsetup (Ubuntu)
       Status: New => Confirmed

-- 
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:
  Confirmed

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