Chan Chung Hang Christopher
2009-Aug-14 02:31 UTC
[CentOS] OT: Fortunate clueless dd chum - lvm recovery
Looks like the chum did not have to lose any data. Wiping out the MBR and the next 63 blocks apparently only wiped out grub stage1, partition table, and part of the lvm config data. I get to try to do a lvm 'recovery' at his expense now but this is my first time...has anybody ever tried restoring lvm config data back to the md/pv device? Cheers, Christopher
Chan Chung Hang Christopher
2009-Aug-14 02:38 UTC
[CentOS] OT: Fortunate clueless dd chum - lvm recovery
Chan Chung Hang Christopher wrote:> Looks like the chum did not have to lose any data. >I cannot believe he actually tried to create a new filesystem on sda according to the .bash_history file after the dd commands. I think I need a titanium clueby4. Anybody know where I can get one?
----- Original Message ----> From: Chan Chung Hang Christopher <christopher.chan at bradbury.edu.hk> > To: CentOS mailing list <centos at centos.org> > Sent: Friday, 14 August, 2009 3:31:32 > Subject: [CentOS] OT: Fortunate clueless dd chum - lvm recovery > > Looks like the chum did not have to lose any data. > > Wiping out the MBR and the next 63 blocks apparently only wiped out grub > stage1, partition table, and part of the lvm config data. > > > I get to try to do a lvm 'recovery' at his expense now but this is my > first time...has anybody ever tried restoring lvm config data back to > the md/pv device? > > > Cheers, > > Christopher > _______________________________________________ > CentOS mailing list > CentOS at centos.org > http://lists.centos.org/mailman/listinfo/centosFirst of all, I would dd a copy of the whole drive off to another drive, so you can have a few goes at this. How do you know only those bits where lost?