PHWinfo banniere

Titres
PORTAIL ANNUAIRE ARTICLES COMPARATEUR HÉBERGEURS DEVIS FORUMS RÉDUCTEUR D'URL
Précédent   PHWinfo > Forums Hébergement > Forum Serveur - Sécurité et techniques > linux.debian.user > Test with raid 6 software
S'inscrire FAQ Membres Recherche Messages du jour Marquer les forums comme lus
linux.debian.user debian-user@lists.debian.org.

Test with raid 6 software

Réponse
 
LinkBack Outils de la discussion
Vieux 30/01/2008, 13h00   #1
Pol Hallen
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Test with raid 6 software

Good day :-)

I've 8 sata disk on raid 6 software (debian stable).

For purpose test I stopped 3 disks of 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?

Thanks
Pol


--
To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
  Réponse avec citation
Vieux 30/01/2008, 15h20   #2
Douglas A. Tutty
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut 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 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@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
  Réponse avec citation
Vieux 30/01/2008, 16h40   #3
Pol Hallen
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: Test with raid 6 software

> 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.

Is failure the same of disconnession of disk?

I thinked there is it so. Because if the disk crash the all data are lost, but
I if disconnect the disk there are date yet.

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

Yes :-)

> You hosed the RAID6 array by pulling 3 disks. The spares only 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.

Is there another way to increase the security data?

Thanks
Pol


--
To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
  Réponse avec citation
Vieux 30/01/2008, 16h50   #4
Douglas A. Tutty
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: Test with raid 6 software

On Wed, Jan 30, 2008 at 05:36:35PM +0100, Pol Hallen wrote:
> > 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.

> Is failure the same of disconnession of disk?


As far as the raid system is, yes a missing disk is indistinguisable
from a failed disk that is non-responsive.

>
> I thinked there is it so. Because if the disk crash the all data are lost, but
> I if disconnect the disk there are date yet.
>


But how does the raid system know that the data is intact? Remember
that the parity data for the other disks is interspursed with the data
on each disk. Without the raid system adopting the disk, how do you
sort it out?

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

> Yes :-)
>
> > You hosed the RAID6 array by pulling 3 disks. The spares only 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.

> Is there another way to increase the security data?


I always use raid1 or raid 10. With either, there is not parity data
floating around, just more copies of the data. Take raid1 for example.
You could have as many active disks spread out over many controllers as
you like until the risk of multiple disk failures is as low as the
cumulative risk to the box which contains the disks and controllers.

Normally, good backups, one two live copies plus a spare disk is
adequate. If it is not, then you don't have a "normal" threat tolerance
and you need to consider the risk of an individual box. I.e. totally
redundant boxes with real-time fail-over, Network Attached Storage,
iSCSI to remote boxes, etc.

Doug.


--
To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
  Réponse avec citation
Réponse


Outils de la discussion

Règles de messages
Vous ne pouvez pas créer de nouvelles discussions
Vous ne pouvez pas envoyer des réponses
Vous ne pouvez pas envoyer des pièces jointes
Vous ne pouvez pas modifier vos messages

Les balises BB sont activées : oui
Les smileys sont activés : oui
La balise [IMG] est activée : oui
Le code HTML peut être employé : non
Trackbacks are oui
Pingbacks are oui
Refbacks are oui


Fuseau horaire GMT +1. Il est actuellement 18h39.


Édité par : vBulletin® version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0 RC5 Tous droits réservés.
Version française #16 par l'association vBulletin francophone
PHWinfo est un site Éducation Sans Frontières ©2000-2008
Ad Management by RedTyger
©Tous droits réservés par les parties respectives
Page generated in 0,12301 seconds with 12 queries