|
Background: I have two 250GB IDE hard drives, which were originally contained within a failed LaCie external USB drive. The drives themselves seem fine, and are fully accessible, just the hardware that made them appear as one, and provided USB connectivity has failed. From viewing the raw data on the disks, it'd appear that they were simply spanned by the drive hardware (nothing fancy like striping or anything), and I've succeeded in recovering a lot of files that were contained solely on the first drive which has the partition table, NTFS partition header etc. on it. Question: I'd really like to be able to recover data that's stored on either disk and have been looking at the software RAID options in Linux. It seems that if I were to create a "linear" RAID drive with mdadm, with no superblocks, this may just allow the system to read the whole drive, without making any changes to the data on disk (which I really want to avoid since I may at some point obtain a replacement for the original drive hardware that failed). Does this seem a likely possibility, and will this configuration (especially the no-superblock setting) prevent any changes being made to the disks? If not, does anyone have any suggestions as to alternatives I could try?
|
| # ¿ Jul 13, 2007 09:38 |
|
|
| # ¿ May 22, 2013 08:18 |
|
marcan posted:The best thing to do in these cases is a test with dummy data. I've created two random data files, set them up as loopback devices, RAIDed them (linear mode, no superblocks), and dumped the RAID device out to a file. The resulting file is identical to "cat data1 data2", so it should work for you. This was semi-successful - it created the /dev/md0 device fine but didn't seem to take any notice of the partition table, resulting in no /dev/md0pX devices being created, and hence I was unable to mount the drive.
|
| # ¿ Jul 14, 2007 16:05 |
|
marcan posted:Try naming it /dev/mdp0, and make sure you use -a p when building the array with mdadm. Partitions will be named /dev/mdp0pX I typed the command exactly as given first time around, and it rejected the "mdp0" (couldn't create device or words to that effect), removing the "p" and it worked. (I'm using SLAX 5.1.8). I also tried all the other "-a XXX" partitionable variants (XXX = "p","mdp","part"), but none of them made the partition available. Even tried partprobe, but it complained that it was "unable to notify the kernel" that the new partition was available. I think I may just buy a new external drive and byte-by-byte copy everything over.
|
| # ¿ Jul 14, 2007 21:30 |




