Editing
RAID Cards
(section)
Jump to navigation
Jump to search
Warning:
You are not logged in. Your IP address will be publicly visible if you make any edits. If you
log in
or
create an account
, your edits will be attributed to your username, along with other benefits.
Anti-spam check. Do
not
fill this in!
== Creating/removing mirror == === via CLI === This will add a new mirror from drives located in the 2nd and 3rd slots: <pre>cd /usr/local/sbin/; megarc -addCfg -a0 -R1[0:2,0:3] WB CIO echo "scsi add-single-device 0 0 1 0" > /proc/scsi/scsi</pre> To delete that mirror: <pre>cd /usr/local/sbin/; megarc -delLD -a0 -L1 echo "scsi remove-single-device 0 0 1 0" > /proc/scsi/scsi</pre> This will add a new mirror from drives located in the 4th and 5th slots: <pre>cd /usr/local/sbin/; megarc -addCfg -a0 -R1[0:4,0:5] WT CIO echo "scsi add-single-device 0 0 2 0" > /proc/scsi/scsi</pre> To delete that mirror: <pre>cd /usr/local/sbin/; megarc -delLD -a0 -L2 echo "scsi remove-single-device 0 0 2 0" > /proc/scsi/scsi</pre> None of the above is data destructive. You can remove a mirror and re-create it and all the data will still be there...as long as you don't initialize the drive. === via BIOS configuration utility or Megamgr === Totally new configuration: <pre>Configure, New configuration (space 2x to select 2 drives) Enter to end selection F10 to configure Space to select Span-1 F10 to configure RAID=1 StripeSize=64k Write policy=WRBACK Read policy=NORMAL Cache Policy=Cached IO ESC, accept</pre> NOTE: when adding an additional drive, choose view/add not New Configuration β otherwise you'll wipe out the existing mirror/config. Adding to existing configuration: <pre>Configure->View/Add Configuration-> ([space] on the 2 drives)->[enter] F10 [space] Span-1 F10 Advanced->Cache Policy=CachedIO Accept Save Exit </pre> If this was added to a running machine, to get the device to show up (in linux) run: echo "scsi add-single-device 0 0 1 0" > /proc/scsi/scsi Make sure SCSI transfer rate is 320M under objects, channel, channel 1 Go to objects, adapter Make sure alarm is enabled ---- To remove a mirror: Objects->Logical Drive->(move cursor to drive)->F5 If on a running server (assuming you unmounted it first): echo "scsi remove-single-device 0 0 1 0" > /proc/scsi/scsi ---- Create mirror from volume: #Remove drive (megarc -delLD -a0 -L1) #Then re-add config (I did it with megamgr) #Then fail the new drive and rebuild it ---- This will add a new '''VOLUME''' from drive located in the 2nd slot: <pre>Configure->View/Add Configuration-> ([space] on the #2 drive)->[enter] F10 [space] Span-1 F10 Advanced->Cache Policy=CachedIO Accept Initialize->Logical Drive 2->[space]->F10 Save Exit</pre> If on a running linux system, to add the device: echo "scsi add-single-device 0 0 1 0" > /proc/scsi/scsi
Summary:
Please note that all contributions to JCWiki may be edited, altered, or removed by other contributors. If you do not want your writing to be edited mercilessly, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource (see
JCWiki:Copyrights
for details).
Do not submit copyrighted work without permission!
Cancel
Editing help
(opens in new window)
Navigation menu
Personal tools
Not logged in
Talk
Contributions
Create account
Log in
Namespaces
Page
Discussion
English
Views
Read
Edit
View history
More
Search
Navigation
Main page
Recent changes
Random page
Help about MediaWiki
Tools
What links here
Related changes
Special pages
Page information