Re: recover data from linear raid

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

 



On Saturday June 24, dzila@xxxxxxxxxxxxxxxxxxxxxxxx wrote:
> 
>  	Hello,
> 
>  	I had a scientific linux 3.0.4 system (rhel compatible), with 3 
> ide disks, one for / and two others in linear raid (250 gb and 300 gb 
> each).
>  	This system was obsoleted so i move the raid disks to a new 
> scientific linux 3.0.7 installation. However, the raid array was not 
> detected ( I put the disks on the same channels and same master/lsave 
> setup as in the previous setup). In fact fdisk reports that the disks are 
> not partitioned.
>  	I had around 70 gb data on that array I would like to recover. I 
> used dd on the disks  and strings on the resulting file. The data is there 
> but fsck complains about superblocks and fails.
> 
>  	Recommentations on how to proceed are greatly appreciated.

As Christian said, specific error message help a lot.
Assume the two devices are hdc and hde,

  fdisk -l /dev/hdc
  fdisk -l /dev/hde
  mdadm -E /dev/hdc
  mdadm -E /dev/hde

 and my best guess

   mdadm --build /dev/md0 --level linear --raid-disks 2 /dev/hdc /dev/hde
   fsck -n /dev/md0

(and linux-raid@xxxxxxxxxxxxxxx might be a better mailing list for
this particular sort of problem).

NeilBrown

_______________________________________________

Ext3-users@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/ext3-users

[Index of Archives]         [Linux RAID]     [Kernel Development]     [Red Hat Install]     [Video 4 Linux]     [Postgresql]     [Fedora]     [Gimp]     [Yosemite News]

  Powered by Linux