Re: raid5 disaster
From: Mike Hardy <hidden>
Date: 2006-05-23 21:07:24
Bruno Seoane wrote:
mdadm -C -l5 -n5 -c=128 /dev/md0 /dev/sdb1 /dev/sdd1 /dev/sde1 /dev/sdc1 /dev/sda1 I took the devices order from the mdadm output on a working device. Is this the way it's supposed to be the command assembled? Is there anything alse I should consider or any other valid solution to gain access to my data?
If you create the array, it will immediately start resyncing unless you list one of the devices in your command line as "missing". Just pick one (ideally one of the ones that isn't getting picked up anyway) and put 'missing' in its place. Using "missing" is the only way to have it be read-only in the data regions. That'll let you make a mistake and still be able to recover data after you find the right command line. -Mike