Share your knowledge at the LQ Wiki.
Go Back > Forums > Linux Forums > Linux - Distributions > Debian
User Name
Debian This forum is for the discussion of Debian Linux.


  Search this Thread
Old 07-12-2012, 06:03 AM   #1
Registered: Aug 2011
Posts: 75

Rep: Reputation: Disabled
restore deleted data from lvm

Hello folks!

I need to restore data I've been inadvertently deleted from my lvm. This is how it happend.

I have two hdds. One is sda and the other one is sdb. I was planning to add some space to my volume group (vol1) which was made of volume /dev/sdb6. I created one partition on /dev/sda (/dev/sda6), tagged it as Linux lvm and when I was going to format the partition and create filesystem I switched hdds letters and instead of formated my /dev/sda6 I deleted and foramated /dev/sdb6

I know that metadata are stored in /etc/lvm/backup if I'm not wrong but can I restore my data now when I deleted and formated my /dev/sdb6???

Last edited by tech_soul8; 07-12-2012 at 06:04 AM.
Old 07-12-2012, 12:26 PM   #2
Senior Member
Registered: Oct 2008
Location: S.E. Montana
Distribution: Debian Testing, Stable, Sid and Manjaro, Mageia 3, LMDE
Posts: 2,622

Rep: Reputation: 493Reputation: 493Reputation: 493Reputation: 493Reputation: 493
Try running testdisk on it from a different drive or Live CD.

If you use a live CD you may have to install testdisk unless you get a dedicated recovery type live distro.

Should do the trick.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Restore data from LVM Mirror eldo Linux - Server 1 11-17-2009 05:13 PM
LXer: Back Up (And Restore) LVM Partitions With LVM Snapshots LXer Syndicated Linux News 0 04-17-2007 11:16 AM
Restore deleted files Winanjaya Linux - Newbie 5 01-09-2007 01:23 AM
how to restore deleted files? ice99 Linux - Security 13 04-13-2006 03:10 AM
how to restore deleted files ? ilyes Linux - General 3 08-01-2003 07:13 AM > Forums > Linux Forums > Linux - Distributions > Debian

All times are GMT -5. The time now is 01:57 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration