← Back to team overview

touch-packages team mailing list archive

[Bug 533493] Re: lvremove fails

 

** Changed in: lvm2 (Debian)
       Status: New => Fix Released

-- 
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to lvm2 in Ubuntu.
https://bugs.launchpad.net/bugs/533493

Title:
  lvremove fails

Status in lvm2 package in Ubuntu:
  Confirmed
Status in lvm2 package in Debian:
  Fix Released
Status in lvm2 package in Fedora:
  Unknown

Bug description:
  Binary package hint: lvm2

  Create 2 logical volumes on the same volume group.

  On each of these logical volumes, create one snapshot each.

  Now attempt to remove them all using something like "lvremove -f vg".

  I expect them all to be removed.  What I see instead is:

  (v4c-dev)rich@adriatic> sudo lvremove -f v4c
    Logical volume "ss-test.0" successfully removed
    Logical volume "lv-test.0" successfully removed
    Logical volume "ss-test.1" successfully removed
    Logical volume "lv-test.1" successfully removed
    Logical volume "ss-test.2" successfully removed
    LV v4c/lv-test.2 in use: not deactivating
    Unable to deactivate logical volume "lv-test.2"
  (v4c-dev)rich@adriatic> sudo lvs --noheadings -o name v4c
    lv-test.2
  (v4c-dev)rich@adriatic> sudo lvremove -f v4c
    Logical volume "lv-test.2" successfully removed

  Note that there are no dependents of lv-test.2 at that time, that the
  other 2 logical volumes with snapshots were successfully removed, and
  that a successive lvremove does indeed remove the remaining logical
  volume.

  (v4c-dev)rich@adriatic> lsb_release -a
  No LSB modules are available.
  Distributor ID: Ubuntu
  Description:    Ubuntu lucid (development branch)
  Release:        10.04
  Codename:       lucid
  (v4c-dev)rich@adriatic> apt-cache policy lvm2
  lvm2:
    Installed: 2.02.54-1ubuntu3
    Candidate: 2.02.54-1ubuntu3
    Version table:
   *** 2.02.54-1ubuntu3 0
          500 http://ubunturep.palm.com lucid/main Packages
          500 http://us.archive.ubuntu.com lucid/main Packages
          100 /var/lib/dpkg/status
  (v4c-dev)rich@adriatic> dpkg -l | grep lvm2
  ii  lvm2                            2.02.54-1ubuntu3                  The Linux Logical Volume Manager

  ProblemType: Bug
  Architecture: amd64
  Date: Sat Mar  6 13:26:10 2010
  DistroRelease: Ubuntu 10.04
  Package: lvm2 2.02.54-1ubuntu3
  ProcEnviron:
   PATH=(custom, user)
   LANG=en_US.UTF-8
   SHELL=/bin/bash
  ProcVersionSignature: Ubuntu 2.6.32-15.22-server
  SourcePackage: lvm2
  Uname: Linux 2.6.32-15-server x86_64

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/lvm2/+bug/533493/+subscriptions