Fórum Root.cz
Hlavní témata => Distribuce => Téma založeno: ZAJDAN 06. 01. 2018, 20:50:58
-
Ahoj....
za běhu jsem nasadil dva SAS disky(PlugPlay) do HW řadiče.
Je možné ty dva disky bez nutnosti rebootu a vstupu do Biosu HW řadiče nastavit do raidu a zpřístupnit systému(Debian 8) ...?
díky
-
https://hwraid.le-vert.net/wiki/LSIMegaRAIDSAS#a3.Managementandreportingtools
-
https://hwraid.le-vert.net/wiki/LSIMegaRAIDSAS#a3.Managementandreportingtools
díky
dřív než spáchám nějakou škodu raději se zeptám...
info o řadiči:
root@debian:/home/supervisor# megacli -AdpAllInfo -aALL
Adapter #0
==============================================================================
Versions
================
Product Name : RAID Ctrl SAS 6G 5/6 512MB (D2616)
Serial No :
FW Package Build: 12.12.0-0129
info o discích (dávám vystup pouze těch dvou nových):
root@debian:/home/supervisor# megacli -PDList -aAll
Enclosure Device ID: 252
Slot Number: 6
Enclosure position: N/A
Device Id: 6
WWN: 5000C50071943D5C
Sequence Number: 5
Media Error Count: 0
Other Error Count: 0
Predictive Failure Count: 0
Last Predictive Failure Event Seq Number: 0
PD Type: SAS
Raw Size: 136.732 GB [0x11177330 Sectors]
Non Coerced Size: 136.232 GB [0x11077330 Sectors]
Coerced Size: 136.218 GB [0x11070000 Sectors]
Enclosure Device ID: 252
Slot Number: 7
Enclosure position: N/A
Device Id: 7
WWN: 5000C500962B1528
Sequence Number: 5
Media Error Count: 0
Other Error Count: 0
Predictive Failure Count: 0
Last Predictive Failure Event Seq Number: 0
PD Type: SAS
Raw Size: 136.732 GB [0x11177330 Sectors]
Non Coerced Size: 136.232 GB [0x11077330 Sectors]
Coerced Size: 136.218 GB [0x11070000 Sectors]
pokud chci tedy tyto dva disky dostat do RAID 1:
megacli -CfgLdAdd -r1[252:6,252:7] -a0
pochopil jsem to správně?
-
https://hwraid.le-vert.net/wiki/LSIMegaRAIDSAS#a3.Managementandreportingtools
díky
dřív než spáchám nějakou škodu raději se zeptám...
info o řadiči:
root@debian:/home/supervisor# megacli -AdpAllInfo -aALL
Adapter #0
==============================================================================
Versions
================
Product Name : RAID Ctrl SAS 6G 5/6 512MB (D2616)
Serial No :
FW Package Build: 12.12.0-0129
info o discích (dávám vystup pouze těch dvou nových):
root@debian:/home/supervisor# megacli -PDList -aAll
Enclosure Device ID: 252
Slot Number: 6
Enclosure position: N/A
Device Id: 6
WWN: 5000C50071943D5C
Sequence Number: 5
Media Error Count: 0
Other Error Count: 0
Predictive Failure Count: 0
Last Predictive Failure Event Seq Number: 0
PD Type: SAS
Raw Size: 136.732 GB [0x11177330 Sectors]
Non Coerced Size: 136.232 GB [0x11077330 Sectors]
Coerced Size: 136.218 GB [0x11070000 Sectors]
Enclosure Device ID: 252
Slot Number: 7
Enclosure position: N/A
Device Id: 7
WWN: 5000C500962B1528
Sequence Number: 5
Media Error Count: 0
Other Error Count: 0
Predictive Failure Count: 0
Last Predictive Failure Event Seq Number: 0
PD Type: SAS
Raw Size: 136.732 GB [0x11177330 Sectors]
Non Coerced Size: 136.232 GB [0x11077330 Sectors]
Coerced Size: 136.218 GB [0x11070000 Sectors]
pokud chci tedy tyto dva disky dostat do RAID 1:
megacli -CfgLdAdd -r1[252:6,252:7] -a0
pochopil jsem to správně?
megacli uz je pokud vim mrtvy. LSI koupil broadcom a udrzuje "storcli". V jednom instalacnim worksheetu mám nejaky noty k instalaci raidu, kdyz uz podkladova raidgrupa na miste:
storcli /c0/v4 del force #delete VD
storcli /c0 add vd type=raid5 size=2tb names=repo drives=62:0-2 # add 2TB VD
storcli /c0 add vd type=raid5 size=500gb names=drbd500 drives=62:0-2 # add 500gb VD
storcli /c0 show all #show PD and VD..
storcli /c0/v4 show init #check init status of vd4
storcli /c0/v4 start init #start init status of vd4
storcli /c0 show cc # check consistency check
storcli /c0 show patrolread #check patrolread
-
díky za info ...prvně si o tom storcli neco načtu
každopádně jsem už zkusil megacli ale vrací mi to chybu:
root@debian:/home/supervisor# megacli -CfgLdAdd -r1[252:6,252:7] -a0
The specified physical disk does not have the appropriate attributes to complete
the requested command.
Exit Code: 0x26
-
solved:
root@debian:/home/supervisor# megacli -CfgForeign -Scan -aall
There are 1 foreign configuration(s) on controller 0.
Exit Code: 0x00
root@debian:/home/supervisor# megacli -CfgForeign -Clear -aall
Foreign configuration 0 is cleared on controller 0.
Exit Code: 0x00
root@debian:/home/supervisor# megacli -CfgLdAdd -r1[252:6,252:7] -a0
Adapter 0: Created VD 1
Adapter 0: Configured the Adapter!!
Exit Code: 0x00
root@debian:/home/supervisor#