Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

My computer just died (won't turn on) and I had some data saved across 4 raid5 disks configured with mdadm. I don't have another computer with sata controllers and want to try to recover using my laptop with a sata to usb adapter.

My plan is to image three of the disks one at a time with dd using the raid5 partion as the image - something like: dd if=/dev/sda1 of=image1.img

Then I'm thinking I should be able to use losetup to map the image file to a device and then assemble these loopback devices.

Will this work? Is there anything I should be aware of when making the images?

share|improve this question
add comment

1 Answer

up vote 2 down vote accepted

I went ahead and tried this and after Many hours of copying the data I created the loop backs with losetup then madm detected and assembled automatically so I mounted and got my data

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.