linux-lvm.redhat.com archive mirror
 help / color / mirror / Atom feed
* [linux-lvm] unremovable lv
@ 2014-12-22 11:44 Alexey
  0 siblings, 0 replies; only message in thread
From: Alexey @ 2014-12-22 11:44 UTC (permalink / raw)
  To: Linux lvm

I have a lv in thin pool which I can't delete or activate. It has 
inactive table.

# lvs | grep 15259
   15259      vg0  Vwi---tz-- 160.00g tp0


# lvchange -ay vg0/15259
   15259      vg0  Vwi-i-tz-- 160.00g tp0


# dmsetup table | grep 15259
vg0-15259:


# lvremove --force vg0/15259
   Device vg0-tp0-tpool (254:22) is used by another device.
   Unable to deactivate logical volume "15259"


# dmsetup wipe_table vg0-15259
device-mapper: reload ioctl on vg0-15259 failed: Invalid argument
Command failed


# dmsetup remove vg0-15259
device-mapper: remove ioctl on vg0-15259 failed: No such device or 
address
Command failed

After 'dmsetup remove' I get lv in inactive state as at start.

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2014-12-22 11:44 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-12-22 11:44 [linux-lvm] unremovable lv Alexey

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).