Erinevus lehekülje "LSI Raid" redaktsioonide vahel
(→FreeBSD) |
|||
(ei näidata sama kasutaja 16 vahepealset redaktsiooni) | |||
1. rida: | 1. rida: | ||
− | + | ===raid kontroller=== | |
+ | |||
+ | [[Pilt:LSI-05 set raid disk.png]] | ||
+ | |||
+ | Raidikaardi integreeritud biosi vaade. | ||
===FreeBSD=== | ===FreeBSD=== | ||
40. rida: | 44. rida: | ||
===Debian=== | ===Debian=== | ||
+ | |||
+ | '''megaraid_sas''' | ||
+ | |||
+ | lspci väljundis peaks olema | ||
+ | |||
+ | 02:00.0 RAID bus controller: LSI Logic / Symbios Logic MegaRAID SAS 1078 (rev 04) | ||
+ | |||
+ | https://wiki.debian.org/LinuxRaidForAdmins | ||
+ | |||
+ | '''mptsas''' | ||
+ | |||
+ | Paigalduseks | ||
+ | |||
+ | # apt-get install mpt-status | ||
+ | |||
+ | Kasutamiseks sobib öelda | ||
+ | |||
+ | # modprobe mptctl | ||
+ | |||
+ | # lsmod |grep mptctl | ||
+ | mptctl 31794 0 | ||
+ | mptbase 95785 1 mptctl | ||
+ | |||
+ | # mpt-status | ||
+ | ioc0 vol_id 0 type IM, 2 phy, 930 GB, state OPTIMAL, flags ENABLED | ||
+ | ioc0 phy 1 scsi_id 8 ATA ST31000528AS CC38, 931 GB, state ONLINE, flags NONE | ||
+ | ioc0 phy 0 scsi_id 1 ATA ST31000528AS CC38, 931 GB, state ONLINE, flags NONE | ||
+ | |||
+ | * http://hwraid.le-vert.net/wiki/LSIFusionMPT | ||
+ | |||
+ | 04:08.0 RAID bus controller: Hewlett-Packard Company Smart Array E200i (SAS Controller) | ||
Kõigepealt mõned vajalikud sõltuvused | Kõigepealt mõned vajalikud sõltuvused | ||
117. rida: | 152. rida: | ||
===> hpacucli-7.50_3 is marked as broken: currently does not work on amd64 (see PR ports/128288). | ===> hpacucli-7.50_3 is marked as broken: currently does not work on amd64 (see PR ports/128288). | ||
*** Error code 1 | *** Error code 1 | ||
+ | |||
+ | Kasutatav on ka camcontrol | ||
+ | |||
+ | camcontrol devlist | ||
+ | <COMPAQ RAID 1(1VOLUME OK> at scbus0 target 0 lun 0 (pass0,da0) | ||
+ | |||
+ | Kui ketas on eemaldatud on volume seisus "inte" | ||
+ | |||
+ | # camcontrol inquiry da0 -D | ||
+ | pass0: <COMPAQ RAID 1(1VOLUME inte> Fixed Direct Access SCSI-5 device | ||
===Gentoo=== | ===Gentoo=== | ||
133. rida: | 178. rida: | ||
/dev/cciss/c0d0: (Smart Array E200) RAID 1 Volume 0 status: OK. | /dev/cciss/c0d0: (Smart Array E200) RAID 1 Volume 0 status: OK. | ||
Physical drives: 4 | Physical drives: 4 | ||
− | connector 1I box 1 bay 1 HP | + | connector 1I box 1 bay 1 HP DF03Dell Perc00B8053 3QP0CGM2000099130AAD HPD1 OK |
connector 1I box 1 bay 2 SEAGATE ST3300657SS 6SJ52A8C0000N2409BM5 0008 OK | connector 1I box 1 bay 2 SEAGATE ST3300657SS 6SJ52A8C0000N2409BM5 0008 OK | ||
connector 1I box 1 bay 3 HP DF0300B8053 3QP0CFYM000099130C1T HPD1 OK | connector 1I box 1 bay 3 HP DF0300B8053 3QP0CFYM000099130C1T HPD1 OK | ||
139. rida: | 184. rida: | ||
http://www.nico.schottelius.org/docs/freebsd-raid-monitoring/ palju väärt infot. | http://www.nico.schottelius.org/docs/freebsd-raid-monitoring/ palju väärt infot. | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− |
Viimane redaktsioon: 15. oktoober 2014, kell 14:24
raid kontroller
Raidikaardi integreeritud biosi vaade.
FreeBSD
Seda kas draiver laetud saab kontrollida dmesgist
mpt0: <LSILogic SAS/SATA Adapter>
Utiliit info vaatamiseks on juba süsteemiga kaasas
# mptutil show config mpt0 Configuration: 1 volumes, 2 drives volume 0 (136G) RAID-0 64k OPTIMAL spans: drive 1 (68G) ONLINE <SEAGATE ST973401LSUN72G 0556> SAS drive 0 (68G) ONLINE <SEAGATE ST973401LSUN72G 0556> SAS spare pools: 0
Või raid 1
# mptutil show config mpt0 Configuration: 1 volumes, 2 drives volume 0 (68G) RAID-1 OPTIMAL spans: drive 1 (68G) ONLINE <SEAGATE ST973401LSUN72G 0556> SAS drive 0 (68G) ONLINE <SEAGATE ST973401LSUN72G 0556> SAS spare pools: 0
vaatame kettaid
# mptutil show drives mpt0 Physical Drives: 0 ( 68G) ONLINE <SEAGATE ST973401LSUN72G 0556> SAS bus 0 id 3 1 ( 68G) ONLINE <SEAGATE ST973401LSUN72G 0556> SAS bus 0 id 4
testime
root@testikas:/usr/home/jj # mptutil show volumes mpt0 Volumes: Id Size Level Stripe State Write-Cache Name 0 ( 136G) RAID-0 64k OPTIMAL Disabled
Debian
megaraid_sas
lspci väljundis peaks olema
02:00.0 RAID bus controller: LSI Logic / Symbios Logic MegaRAID SAS 1078 (rev 04)
https://wiki.debian.org/LinuxRaidForAdmins
mptsas
Paigalduseks
# apt-get install mpt-status
Kasutamiseks sobib öelda
# modprobe mptctl
# lsmod |grep mptctl mptctl 31794 0 mptbase 95785 1 mptctl
# mpt-status ioc0 vol_id 0 type IM, 2 phy, 930 GB, state OPTIMAL, flags ENABLED ioc0 phy 1 scsi_id 8 ATA ST31000528AS CC38, 931 GB, state ONLINE, flags NONE ioc0 phy 0 scsi_id 1 ATA ST31000528AS CC38, 931 GB, state ONLINE, flags NONE
04:08.0 RAID bus controller: Hewlett-Packard Company Smart Array E200i (SAS Controller)
Kõigepealt mõned vajalikud sõltuvused
# aptitude install lib32gcc1 lib32stdc++6
Seejärel vaja tõmmata hp saidilt hpaccucli käsutööriista pakk
http://downloads.linux.hp.com/SDR/downloads/ProLiantSupportPack/Debian/pool/non-free/
Ning see paigaldada
# dpkg -i hpacucli_8.70-8.0.2-2_amd64.deb
kasutamine
# hpacucli ctrl all show config
Smart Array E200 in Slot 1 (sn: PA6C90P9SWN211) array A (SAS, Unused Space: 0 MB) logicaldrive 1 (68.5 GB, RAID 0, OK) physicaldrive 1I:1:4 (port 1I:box 1:bay 4, SAS, 73.5 GB, OK) array B (SAS, Unused Space: 0 MB) logicaldrive 2 (558.7 GB, RAID 5, OK) physicaldrive 1I:1:1 (port 1I:box 1:bay 1, SAS, 300 GB, OK) physicaldrive 1I:1:2 (port 1I:box 1:bay 2, SAS, 300 GB, OK) physicaldrive 1I:1:3 (port 1I:box 1:bay 3, SAS, 300 GB, OK)
Staatus
# hpacucli ctrl all show status Smart Array E200 in Slot 1 Controller Status: OK Cache Status: OK Battery/Capacitor Status: OK
hpacucli> ctrl slot=0 pd 2:3 modify led=on ## To enable or Disable the LED hpacucli> ctrl slot=0 pd 2:3 modify led=off
Create LogicalDrive with RAID 5 using five drives:
hpacucli> ctrl slot=0 create type=ld drives=1:13,1:14,1:15,1:16,1:17 raid=5
hpacucli> ctrl slot=0 ld 4 delete ## To Delete LogicalDrives
Gentoo
# emerge sys-block/megacli,
* Upstream has implement a mandatory clickthrough EULA for distfile download * Please visit http://www.lsi.com/downloads/Public/MegaRAID%20Common%20Files/8.02.21_MegaCLI.zip * And place 8.02.21_MegaCLI.zip in /usr/portage/distfiles
# /opt/bin/MegaCli -PDList -aALL | grep Error
FreeBSD
Kui dmesgis on aga ciss draiver
ciss0: <HP Smart Array E200>
Smartmontooliga
# smartctl -iH -d cciss,0 /dev/ciss0
Viimase 2013 augusti alguse seisuga.
===> hpacucli-7.50_3 is marked as broken: currently does not work on amd64 (see PR ports/128288). *** Error code 1
Kasutatav on ka camcontrol
camcontrol devlist <COMPAQ RAID 1(1VOLUME OK> at scbus0 target 0 lun 0 (pass0,da0)
Kui ketas on eemaldatud on volume seisus "inte"
# camcontrol inquiry da0 -D pass0: <COMPAQ RAID 1(1VOLUME inte> Fixed Direct Access SCSI-5 device
Gentoo
# cciss_vol_status /dev/cciss/c0d0 /dev/cciss/c0d0: (Smart Array E200) RAID 1 Volume 0 status: OK.
Rohkem infot
# cciss_vol_status -s -V /dev/cciss/c0d0 Controller: Smart Array E200 Board ID: 0x3212103c Logical drives: 0 Running firmware: 1.78 ROM firmware: 1.78 /dev/cciss/c0d0: (Smart Array E200) RAID 1 Volume 0 status: OK. Physical drives: 4 connector 1I box 1 bay 1 HP DF03Dell Perc00B8053 3QP0CGM2000099130AAD HPD1 OK connector 1I box 1 bay 2 SEAGATE ST3300657SS 6SJ52A8C0000N2409BM5 0008 OK connector 1I box 1 bay 3 HP DF0300B8053 3QP0CFYM000099130C1T HPD1 OK connector 1I box 1 bay 4 HP DF0300B8053 3QP0CH9E00009913142T HPD1 OK
http://www.nico.schottelius.org/docs/freebsd-raid-monitoring/ palju väärt infot.