Re: is it possible to recover LVM drive from accidental Fdisk? [SOLVED]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]





On Sun, Mar 7, 2010 at 8:50 AM, nate <centos@xxxxxxxxxxxxxxxx> wrote:

re-create the original partition table, which is just a map, as long
as you haven't formatted or overwritten data everything should still
be there

Also suggest if your not already doing it set your LVm partitons to
type 8e so it's obvious they are LVM

[root@dc1-mysql001b:~]# fdisk -l /dev/sdc

Disk /dev/sdc: 2197.9 GB, 2197949513728 bytes
255 heads, 63 sectors/track, 267218 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

  Device Boot      Start         End      Blocks   Id  System
/dev/sdc1               1      267218  2146428553+  8e  Linux LVM


nate

_______________________________________________


Thanx Nate, I didn't know if this could damage the data or not, but it seems that I could get the data of the HDD :) 

The partitions (there's 4 of them) was still mounted on the sever ( I didn't even think to check this before I sent-off this email) and I could recover the data through the mounts. 



--
Kind Regards
Rudi Ahlers
SoftDux

Website: http://www.SoftDux.com
Technical Blog: http://Blog.SoftDux.com
Office: 087 805 9573
Cell: 082 554 7532
_______________________________________________
CentOS mailing list
CentOS@xxxxxxxxxx
http://lists.centos.org/mailman/listinfo/centos

[Index of Archives]     [CentOS]     [CentOS Announce]     [CentOS Development]     [CentOS ARM Devel]     [CentOS Docs]     [CentOS Virtualization]     [Carrier Grade Linux]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Linux USB]
  Powered by Linux