Unter http://hwraid.le-vert.net/ gibt es fertige Debian Treiber für Raid Controller, wie auch für den LSI Controller der meist bei Hetzner in den Servern als Hardware Raid verbaut ist .

Um diese Treiber zu installieren müsst ihr folgendes installieren

Zunächst Sudo falls noch nicht vorhanden installieren

apt-get sudo

Danach die GPg Key des von hwraid

wget -O - http://hwraid.le-vert.net/debian/hwraid.le-vert.net.gpg.key | sudo apt-key add -

Nun könnt ihr eure Sources liste anpassen

nano /etc/apt/source.list

 

deb http://mirror.hetzner.de/debian/packages jessie main contrib non-free
deb http://http.debian.net/debian jessie main contrib non-free

deb http://http.debian.net/debian/ jessie-updates main contrib non-free

deb http://security.debian.org/ jessie/updates main contrib non-free

deb http://hwraid.le-vert.net/debian sid main

Bei Debian Squeeze oder whezzy  müsst ihr natürlich statt sid whezzy angeben, das sieht dann so aus

deb http://hwraid.le-vert.net/debian wheezy main

Danach abspeichern und ein

apt-get update

durchlaufen alssen, dach könnt hier nach den Raid Treibern suchen in meinem Fall geht das so

root@prox ~ # apt-cache search megacli
nagios-plugins-contrib - Plugins for nagios compatible monitoring systems
megacli - LSI Logic MegaRAID SAS MegaCLI
megaclisas-status - get RAID status out of LSI MegaRAID SAS HW RAID controllers

Nun könnt ihr den megacli Installieren

apt-get install megacli megaclisas-status

Wenn alles geklappt hat könnt ihr mit folgendem Befehl den status des Raids ansehen, weitere abfragen sind im Hetzner wiki zu finden .

root@prox ~ # 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                : 223.062 GB
Sector Size         : 512
Is VD emulated      : No
Mirror Data         : 223.062 GB
State               : Optimal
Strip Size          : 256 KB
Number Of Drives    : 2
Span Depth          : 1
Default Cache Policy: WriteThrough, ReadAhead, Direct, No Write Cache if Bad BBU
Current Cache Policy: WriteThrough, ReadAhead, Direct, No Write Cache 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


Virtual Drive: 1 (Target Id: 1)
Name                :
RAID Level          : Primary-1, Secondary-0, RAID Level Qualifier-0
Size                : 278.875 GB
Sector Size         : 512
Is VD emulated      : No
Mirror Data         : 278.875 GB
State               : Optimal
Strip Size          : 256 KB
Number Of Drives    : 2
Span Depth          : 1
Default Cache Policy: WriteThrough, ReadAhead, Direct, No Write Cache if Bad BBU
Current Cache Policy: WriteThrough, ReadAhead, Direct, No Write Cache 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

 

Links:

Hetzner-LSI-Controller

 

 

 

 

AncoraThemes © Copyright 2024. All Rights Reserved.