Operating System - Linux
1826452 Members
4051 Online
109692 Solutions
New Discussion

Re: Script to load balance disks

 
frederick hannah
Super Advisor

Script to load balance disks

Is there a script available that will load balance disks? My shop uses an XP array so there are numerous disks under serveral volume groups.
3 REPLIES 3
Steven E. Protter
Exalted Contributor

Re: Script to load balance disks

Shalom,

Normally load balancing for disk is done with a hardware configuration, not a software configuation.

All you can really do is make sure that you have your data laid out so there is not too much heavy actvity files on the same luns.

You can improve write performance on the XP array by setting up heavy write environments to raid 1 instead of the default raid 5.

SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
Michal Toth
Regular Advisor

Re: Script to load balance disks

unless you run tru64's advfs
Bill Beresnak
Occasional Contributor

Re: Script to load balance disks

I'm looking for the same thing. The problem is balancing primary and alternate links amoung the volume group and controller paths/chips. The alternate link on a dual pathed controller only get's used by default if the primary becomes unavailable. So, theoretically you could have all of your I/O going over one path on one controller.

I think that's what frederick had in mind.

This is the same thing we are struggling with right now. You can change the primary/alternate simply by vgreducing and vgextending vg's.

The trick is to get a script that is smart enough to pick the right PV/link to remove and readd to get everything balanced.