Ce tuto est destiné à ceux ayant fait l'acquisition d'un serveur en Raid Hard, pour le passer de Raid1 à Raid0.

Le serveur utilisé pour la démonstration dans ce tutorial est le suivant:
SYS-IP-4

Mais cela fonctionne sur tous les modèles avec une MegaRAID.

1 • Pour commencer il faut installer Linux, peu importe lequel.





Une fois ceci fait, vous devriez voir cela.



Et une fois l'installation terminée.



2 • Maintenant il faut passer en mode rescue




3 • Redémarrez maintenant pour rendre effectif le rescue mode.



4 • Ouvrez votre terminal et connectez vous en SSH avec les informations reçues par email.

Tapez ensuite les commandes suivantes:

5 • Vérifions votre espace disque:
root@rescue:-# MegaCli -LDInfo -Lall -a0 lgrep -i size
Size	        : 1.817 TB
Sector Size	: 512
Strip Size	: 64 KB
6 • Vérifions votre niveau de grappe:
root@rescue:-# MegaCli -LDInfo -Lall -aALL

Adapter 0 -- Virtual Drive Information:
Virtual Drive: 0 (Target Id: 0)
Name	            :
RAID Level	    : Primary-1, Secondary-0, RAID Level Qualifier-0
Size	            : 1.817 TB
Sector Size	    : 512
Is VD emulated      : Yes
Mirror Data	    : 1.817 TB
State	            : Optimal
Strip Size	    : 64 KB
Number Of Drives    : 2
Span Depth	    : 1
Default Cache Policy: WriteBack, ReadAdaptive, Cached, Write Cache OK if Bad BBU
Current Cache Policy: WriteBack, ReadAdaptive, Cached, Write Cache OK if Bad BBU
Default Access Policy: Read/Write
Current Access Policy: Read/Write
Disk Cache Policy   : Disk's Default
Encryption Type     : None
Bad Blocks Exist: No
Is VD Cached: No

Exit Code: 0x00
7 • Vérifions votre Device ID:
root@rescue:-# MegaCli -EncInfo -aALL

    Number of enclosures on adapter 0 -- 1

    Enclosure 0:
    Device ID                     : 252
    Number of Slots               : 8
    Number of Power Supplies      : 0
    Number of Fans                : 0
    Number of Temperature Sensors : 0
    Number of Alarms              : 0
    Number of SIM Modules         : 1
    Number of Physical Drives     : 2
    Status                        : Normal
    Position                      : 1
    Connector None                : Unavailable
    Enclosure type                : SGPIO
    FRU Part Number               : N/A
    Enclosure Serial Number       : NA
    ESN Serial Number             : N/A
    Enclosure Zoning Mode         : N/A
    Partner Device Id             : Unavailable

    Inquiry data
        Vendor Identification     : LSI
        Product Identification    : SGPIO
        Product Revision Level    : N/A
        Vendor Specific           :

Exit Code: 0x00
8 • Nous allons maintenant supprimer votre Raid1 avec la commande suivante:
"MegaCli -CfgLdDel -LX -aN" (X est le Raidlevel et N l'Adapter number)
root@rescue:-# MegaCli -CfgLdDel –L0 -a0

Adapter 0: Deleted Virtual Drive-0(target id-0)

Exit Code: 0x00
9 •Nous créons le Raid0:
"MegaCli -CfgLDAdd -RX[252:0,252:1] -aN" (X est le Raidlevel et N l'Adapter number)
root@rescue:-# MegaCli -CfgLDAdd -R0[252:0,252:1] -a0

Adapter 0: Created VD 0

Adapter 0: Configured the Adapter!!

Exit Code: 0x00
10 • Vérifions votre espace disque:
root@rescue:-# MegaCli -LDInfo -Lall -a0 lgrep -i size
Size                : 3.635 TB
Sector Size         : 512
Parity Size         : 0
Strip Size          : 64 KB
Comme vous pouvez le voir, la grappe est bel et bien passée en Raid0

Vous pouvez continuer vers le tuto [Tuto] Installer Proxmox 3.2 en Raid0
Répondre…