How to recover logical volume deleted with lvremove

Posted by John P on Server Fault See other posts from Server Fault or by John P
Published on 2011-01-17T14:29:27Z Indexed on 2011/01/17 14:54 UTC
Read the original article Hit count: 128

Filed under:

I am on CentOS 5.5 and am running Xen. I have a large volume group that I create logical volumes on using lvcreate. Today I had a customer cancel her account, then change her mind about an hour later. Unfortunately I had already removed the LVM her Xen image resided on. (just using a standard lvremove ). There has been no other LVM activity on this disk since then (nothing else added or deleted). Is it possible to "undo" a lvremove, or recover logical volume? If so, how would I go about it?

© Server Fault or respective owner

Related posts about lvm