Pivotal Knowledge Base

Follow

HowTo - Change Rebuild Rate on Replaced Disk Drives

Environment

  • DCA v1

Problem

Steps for changing rebuild rate on replaced disk drives and resetting back to default.

Solution

The Patrol Read puts more I/O on the SCSI bus which can slow down a rebuild.  To speed up rebuild you will need to disable patrol read and then change rebuild rate.

Note: When you disable patrol read, it will not restart from where it left off, it will start patrol read from the beginning. For example, if you disable patrol read at 90% completion and then re-enable patrol read it will start back at 0%.

To learn more about patrol read - review this kb article DCA Patrol Read FAQ

Step 1: Change Rebuild Rate

-- To Disable Patrol Read run this command:

[root@mdw dca]#omconfig storage controller action=setpatrolreadmode controller=0 mode=disable
Command successful!

-- To increase rebuild rate run this command:

[root@mdw dca]#omconfig storage controller controller=0 action=setrebuildrate rate=80
Command successful!

Step 2: Verify that rebuild has completed

-- Watch progress for rebuild with this command:

[root@mdw dca]#omreport storage pdisk controller=0 -fmt tbl | awk -F"|" '{print $1"|"$2"|"$3"|"$4"|"$5"|"$8"|"$9"|"$13"|"$15"|"$18"|"$19"|"$20}' |egrep -v '\-\-\-\-|\|\|'

-- Verify that rebuild completed by running this:

[root@mdw dca]#omreport system alertlog | grep “Rebuild completed”

Step 3: Return Rebuild rate to original settings

-- Then change Patrol Reads back to original setting with this command:

[root@mdw dca]#omconfig storage controller action=setpatrolreadmode controller=0 mode=auto
Command successful!

-- And return rebuild rate back to originally setting with this command:

[root@mdw dca]#omconfig storage controller controller=0 action=setrebuildrate rate=30
Command successful!

Step 4: Verify that settings are back to original state

-- check patrol read

[root@mdw dca]#omreport storage controller | grep "Patrol Read Mode"
Patrol Read Mode : Auto

-- check rebuild rate

[root@mdw dca]#omreport storage controller | grep "Rebuild"
Rebuild Rate : 30%

Comments

Powered by Zendesk