RAID Policy IO Scheduler

Source: Internet
Author: User

===========================================================

Raid

===========================================================

Installing the Software

#rpm-IVH http://192.168.97.250/rpms/storcli-1.04.07-1.noarch.rpm

View

#/opt/megaraid/storcli/storcli64/c0/vall Show

#/opt/megaraid/storcli/storcli64/c0/eall/sall Show

Change RAID write policy to always write back,c0 = control 0, V0 = Vd0,vall = All the VD

#/opt/megaraid/storcli/storcli64/c0/vall Set WRCACHE=AWB

#/opt/megaraid/storcli/storcli64/c0/v0 Set WRCACHE=WT

Change the RAID IO policy to direct

#/opt/megaraid/storcli/storcli64/c0/vall Set iopolicy=cached

#/opt/megaraid/storcli/storcli64/c0/v1 Set Iopolicy=direct


[Email protected] storcli]#/opt/megaraid/storcli/storcli64/c0/eall/sall Show

Controller = 0

Status = Success

Description = Show Drive information succeeded.



Drive information:

=================


----------------------------------------------------------------------------

Eid:slt did state DG Size Intf Med SED PI sesz Model Sp

----------------------------------------------------------------------------

20:0 onln 0 558.406 GB SAS HDD n n 512B al14seb060n U

20:1 onln 0 558.406 GB SAS HDD n n 512B al14seb060n U

20:2 onln 0 558.406 GB SAS HDD n n 512B al14seb060n U

20:3 onln 0 558.406 GB SAS HDD n n 512B al14seb060n U

20:4 onln 1 446.625 GB SATA SSD N n 512B INTEL ssdsc2bb480g6 U

20:5 onln 1 446.625 GB SATA SSD N n 512B INTEL ssdsc2bb480g6 U

20:6 onln 1 446.625 GB SATA SSD N n 512B INTEL ssdsc2bb480g6 U

20:7 onln 1 446.625 GB SATA SSD N n 512B INTEL ssdsc2bb480g6 U

20:8 onln 1 446.625 GB SATA SSD N n 512B INTEL ssdsc2bb480g6 U

20:9 onln 1 446.625 GB SATA SSD N n 512B INTEL ssdsc2bb480g6 U

20:10 onln 1 446.625 GB SATA SSD N n 512B INTEL ssdsc2bb480g6 U

20:11 onln 1 446.625 GB SATA SSD N n 512B INTEL ssdsc2bb480g6 U

----------------------------------------------------------------------------


Eid-enclosure Device id| Slt-slot no.| Did-device id| Dg-drivegroup

dhs-dedicated Hot spare| Ugood-unconfigured good| Ghs-global Hotspare

Ubad-unconfigured bad| onln-online| offln-offline| Intf-interface

Med-media type| Sed-self encryptive drive| Pi-protection Info

Sesz-sector size| sp-spun| u-up| d-down| t-transition| F-foreign

ugunsp-unsupported

[Email protected] storcli]#/opt/megaraid/storcli/storcli64/c0/vall Show

Controller = 0

Status = Success

Description = None


Virtual Drives:

==============

----------------------------------------------------------

DG/VD TYPE State Access consist Cache SCC Size Name

----------------------------------------------------------

0/0 RAID5 OPTL RW Yes RWTC-49.999 GB

1/1 RAID5 OPTL RW Yes RAWBD-3.052 TB

0/2 RAID5 OPTL RW Yes RWTC-1.586 TB

----------------------------------------------------------


cac=cachecade| rec=recovery| ofln=offline| Pdgd=partially degraded|dgrd=degraded

Optl=optimal|ro=read Only|rw=read write| b=blocked| Consist=consistent|

R=read Ahead always| Nr=no Read ahead| wb=writeback|

Awb=always writeback| wt=writethrough| C=cached io| D=direct io|scc=scheduled

Check consistency




===================================================================

IO Scheduler

===================================================================

View

#grep-H ^/sys/block/{s,v}d*/queue/scheduler 2>/dev/null

Change to Deadline

#ls/sys/block/sd*/queue/scheduler |while Read i;do echo deadline > $i;d One

Write to boot from boot

#ls/sys/block/sd*/queue/scheduler |while Read I;do echo "echo Deadline > $i" >>/etc/rc.d/rc.local;done

#echo "Deadline" >/sys/block/sdb/queue/scheduler

#echo "echo Deadline >/sys/block/sdb/queue/scheduler" >>/etc/rc.d/rc.local

RAID Policy IO Scheduler

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.