undelete logical volume
Hi,
I made a big mistake and deleted a logical volume with some still needed data.
It was the only active lv and no other write access happened on the physical disks till yet. Also I have no backup of lvm's metadata.
Is there any way to recover the lost logical volume? (lvm2)
Andreas
Use RIP (R)ecovery (I)s (P)ossible! (v15.2) to boot up.
And use command hexdump /dev/hda1 to collect the old LVM config information. They are nearly 1200.
Use the information to create a metadata file.
Use cfgrestore to recover.
Then mount back the lost LogVol00.
Just my two cents.
"Andreas Unterkircher" <[email protected]> �b�l��
news:[email protected] �����g...
Quoted 3 lines
Hi,
I made a big mistake and deleted a logical volume with some still needed
data.
Quoted 2 lines
It was the only active lv and no other write access happened on the
physical
Quoted 13 lines
disks till yet. Also I have no backup of lvm's metadata.
Is there any way to recover the lost logical volume? (lvm2)
Andreas
_______________________________________________
linux-lvm mailing list
[email protected]
https://www.redhat.com/mailman/listinfo/linux-lvm
read the LVM HOW-TO at http://tldp.org/HOWTO/LVM-HOWTO/
Thx for the hint. Also I found out that a metadata backup is created on a every command in /etc/lvm/archives.
The lv has been recovered, but it looks like the first xxx bytes of the lv have changed. Luks doesn't accept it
as luks partition anymore and so I can't mount the encrypted partition anymore. Data lost.... Backup is always
a good idea...
Andreas
Quoted 45 lines · Thomas
Use RIP (R)ecovery (I)s (P)ossible! (v15.2) to boot up.
And use command hexdump/dev/hda1to collect the old LVM config information. They are nearly 1200.
Use the information to create a metadata file.
Use cfgrestore to recover.
Then mount back the lost LogVol00.Just my two cents.
"Andreas Unterkircher" <[email protected]> �b�l��
news:[email protected] �����g...Quoted 4 lines
Hi,
I made a big mistake and deleted a logical volume with some still needed
data.
Quoted 2 lines
It was the only active lv and no other write access happened on the
physical
Quoted 4 lines
disks till yet. Also I have no backup of lvm's metadata.
Is there any way to recover the lost logical volume? (lvm2)
Quoted 10 lines
Andreas
_______________________________________________
linux-lvm mailing list
[email protected]
https://www.redhat.com/mailman/listinfo/linux-lvm
read the LVM HOW-TO at http://tldp.org/HOWTO/LVM-HOWTO/_______________________________________________
linux-lvm mailing list
[email protected]
https://www.redhat.com/mailman/listinfo/linux-lvm
read the LVM HOW-TO at http://tldp.org/HOWTO/LVM-HOWTO/