Re: Test with raid 6 software



On Wed, Jan 30, 2008 at 01:52:49PM +0100, Pol Hallen wrote:
I've 8 sata disk on raid 6 software (debian stable).

For purpose test I stopped 3 disks of the array.
^^^^
NOTE WELL: The md(4) man pages says that raid6 can handle the failure of
any 2 disks. You pulled 3. Good way to hose the array.

Now I rebooted and I tring to re-assemble the array but without successful..

mdadm -A /dev/md0
mdadm: /dev/md0 assembled from 5 drives and 3 spares - not enough to
start the array.

cat /proc/mdstat

Personalities :
md0 : inactive sdb[0](S) sdi[10](S) sdk[9](S) sdj[8](S) sdf[4](S)
sde[3](S) sdd[2](S) sdc[1](S)
3907091968 blocks

unused devices: <none>

Consider the data there are on the raid, and there aren't any disks
failure, is there a way to re-assemble the same raid and maintan the data?

Considering that this is a test, there should be no concern over data.
You did a backup prior to this test?

You hosed the RAID6 array by pulling 3 disks. The spares only help if a
spare disk can get syncd before a third disk died.

So, no, you have to make a new raid and restore from backup.

Doug.


--
To UNSUBSCRIBE, email to debian-user-REQUEST@xxxxxxxxxxxxxxxx
with a subject of "unsubscribe". Trouble? Contact listmaster@xxxxxxxxxxxxxxxx



Relevant Pages

  • Re: Hardware vs software RAID these days...
    ... I was able to resurect the array and rebuild it. ... Just to add "flavour" to this, I have had a mid level hardware RAID box ... have a drive failure, we assumed something crapped on the internal (ie ... utility in C to recover the data off the disks after connecting the disks ...
    (uk.comp.os.linux)
  • Re: building on your own a large data storage ...
    ... RAID-5 array because doing I/O on two devices on the same IDE ... primary IDE port and one on the secondary IDE port. ... understanding the trade-offs (partioning an array of disks vs. ... When a fan goes ...
    (comp.sys.ibm.pc.hardware.storage)
  • Re: Clustering Newbie - SAN Advice
    ... I have not used that particular unit, bit it does meet my basic criteria of having the controllers and cache on-board the array. ... Senior SQL Infrastructure Consultant ... A SAN generally has gigabtes of cache and uses large internal block sizes ... The SAN or Smart array will dictate what internal connection the disks have. ...
    (microsoft.public.sqlserver.clustering)
  • Re: Replacing Multiple Failed Disks on StoreEdge T3 Array
    ... > We've replaced the two failed disks with new ones, but the array still ... You had a double failure, the data is lost, so the system cant reenable it ... if you didnt have a standby it can recover anyway, ...
    (comp.unix.solaris)
  • SUMMARY: Network attached storage ideas
    ... Let me start by clarifying that the issue with Solaris ... and NFS is not with Solaris but with how the Snaps ... 3310/3311/3510 array). ... more expensive SCSI or FC disks. ...
    (SunManagers)