[Bug 1869666] Re: Wrong thin pool lv cannot clean up properly

weisongf songwei-8 at 163.com
Mon Mar 30 09:01:58 UTC 2020


** Description changed:

- lvm2 version:
+ version info:
+ kern:
+ uname -a
+ Linux cmp011 4.15.0-46-generic #49~16.04.1-Ubuntu SMP Tue Feb 12 17:45:24 UTC 2019 x86_64 x86_64 x86_64 GNU/Linux
+ 
+ lvm2:
  ```
-  dpkg -l|grep lvm
+  dpkg -l|grep lvm
  ii  liblvm2app2.2:amd64                   2.02.133-1ubuntu10                         amd64        LVM2 application library
  ii  liblvm2cmd2.02:amd64                  2.02.133-1ubuntu10                         amd64        LVM2 command library
- ii  lvm2          
+ ii  lvm2
  ```
  ```
  root at cmp011:~# dmsetup status|grep error
- cinder--volume-volume--75ff72d6--22fb--43b1--85cd--519a86e75c18: 0 10485760 error 
+ cinder--volume-volume--75ff72d6--22fb--43b1--85cd--519a86e75c18: 0 10485760 error
  ```
  Always reminded that in use, can't find out the process used。
  ```
  lvs |grep 519a86e75c18
-   volume-75ff72d6-22fb-43b1-85cd-519a86e75c18 cinder-volume Vwi-aotz--   5.00g cinder-volume-pool        100.00 100.00
+   volume-75ff72d6-22fb-43b1-85cd-519a86e75c18 cinder-volume Vwi-aotz--   5.00g cinder-volume-pool        100.00 100.00
  
  lvremove -f /dev/cinder-volume/volume-75ff72d6-22fb-43b1-85cd-519a86e75c18
-   Logical volume cinder-volume/volume-75ff72d6-22fb-43b1-85cd-519a86e75c18 in use 
+   Logical volume cinder-volume/volume-75ff72d6-22fb-43b1-85cd-519a86e75c18 in use
  ```
  
  dmsetup also cannot be deleted:
  dmsetup suspend
  dmsetup remove

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to lvm2 in Ubuntu.
https://bugs.launchpad.net/bugs/1869666

Title:
  Wrong thin pool lv cannot clean up properly

Status in lvm2 package in Ubuntu:
  New

Bug description:
  version info:
  kern:
  uname -a
  Linux cmp011 4.15.0-46-generic #49~16.04.1-Ubuntu SMP Tue Feb 12 17:45:24 UTC 2019 x86_64 x86_64 x86_64 GNU/Linux

  lvm2:
  ```
   dpkg -l|grep lvm
  ii  liblvm2app2.2:amd64                   2.02.133-1ubuntu10                         amd64        LVM2 application library
  ii  liblvm2cmd2.02:amd64                  2.02.133-1ubuntu10                         amd64        LVM2 command library
  ii  lvm2
  ```
  ```
  root at cmp011:~# dmsetup status|grep error
  cinder--volume-volume--75ff72d6--22fb--43b1--85cd--519a86e75c18: 0 10485760 error
  ```
  Always reminded that in use, can't find out the process used。
  ```
  lvs |grep 519a86e75c18
    volume-75ff72d6-22fb-43b1-85cd-519a86e75c18 cinder-volume Vwi-aotz--   5.00g cinder-volume-pool        100.00 100.00

  lvremove -f /dev/cinder-volume/volume-75ff72d6-22fb-43b1-85cd-519a86e75c18
    Logical volume cinder-volume/volume-75ff72d6-22fb-43b1-85cd-519a86e75c18 in use
  ```

  dmsetup also cannot be deleted:
  dmsetup suspend
  dmsetup remove

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



More information about the foundations-bugs mailing list