partition table and filesystem recovery after raid failure
Posted: 28 Feb 2016, 05:03
				
				Hi,
I've run into hard raid disk failure and raid 5 virtual disk went to raid 0 ! !
for recovery I made followig steps so far:
- deletion of raid virtual disk
- replacement of failed disk ( disks order maintained on controller slots)
- recreation of a raid 5 virtual disk
- unplugged new disk out to push raid to degraded mode
- replaced with other disk, which has rebuild for now
now booting server leads to grub> prompt with error of not knowing partition
parted shows 3 partitions:
testdisk discovered the following:
sfdisk dump
tesdisk log
in attached file
- system installed is virtualisation environnement proxmox, with some openvz and kvm VMs
- partition table was a primary partition (may be 100MB,10GB for /boot or /, don't remember exactly cause old install, and a vg with 2 or 3 lvms (partition table should be the default partitions and sizes with proxmox 2.x install but I can't find it nor install iso to check)
- If both partition table and file system are corrupted is there a chance that data is definitely lossed?
- I've made a dd copy of the disk to a file, is this enough to continue recovery later while resintalling the server?
help please
thanks
			I've run into hard raid disk failure and raid 5 virtual disk went to raid 0 ! !
for recovery I made followig steps so far:
- deletion of raid virtual disk
- replacement of failed disk ( disks order maintained on controller slots)
- recreation of a raid 5 virtual disk
- unplugged new disk out to push raid to degraded mode
- replaced with other disk, which has rebuild for now
now booting server leads to grub> prompt with error of not knowing partition
parted shows 3 partitions:
Code: Select all
#parted /dev/sda print
Error: Can't have a partition outside the disk!
Ignore/Cancel? I  
Model: DELL PERC H710 (scsi)
Disk /dev/sda: 1198GB
Sector size (logical/physical): 512B/512B
Partition Table: msdos
Disk Flags:
Number  Start  End  Size  Type  File system  Flags
1  1049kB  537MB  536MB  primary  boot
2  537MB  599GB  598GB  primary  lvm
3  599GB  1497GB  898GB  primary  lvm
testdisk discovered the following:
Code: Select all
Disk /dev/sda - 1197 GB / 1115 GiB - CHS 145619 255 63                                            
     Partition               Start        End    Size in sectors                                  
>* Linux                  453 180 48  1759  32  1   20971520                                      
P HPFS - NTFS          11957 209 29 12002 112 14     716800                                      
P Linux                21794  54 21 25840 223 47   65009664                                      
L Linux                39304   0  1 45083 167 20   92850176        Code: Select all
#1456609510 Disk /dev/sda - 1197 GB / 1115 GiB - CHS 145619 255 63
 1 : start=     2048, size=  1046528, Id=83, *
 2 : start=  1048576, size=1168637952, Id=8E, P
 3 : start=1169686528, size=1754529032, Id=8E, Pin attached file
- system installed is virtualisation environnement proxmox, with some openvz and kvm VMs
- partition table was a primary partition (may be 100MB,10GB for /boot or /, don't remember exactly cause old install, and a vg with 2 or 3 lvms (partition table should be the default partitions and sizes with proxmox 2.x install but I can't find it nor install iso to check)
- If both partition table and file system are corrupted is there a chance that data is definitely lossed?
- I've made a dd copy of the disk to a file, is this enough to continue recovery later while resintalling the server?
help please
thanks