Languages

Archived - Promise VTrak: RAID Controllers - Direct Attached configuration script - four RAID10 logical drives

This article contains a script used to configure Promise RAID Controllers for Direct Attached Storage.

This article has been archived and is no longer updated by Apple.

To create the configuration script, copy the text below beginning with the line "#Begin Copy" to the line "#End Copy" and paste the text into TextEdit, using these guidelines. Once you've created the script, follow the guidelines in this article to import the configuration script.


#Begin Copy
#
# Promise VTrak E-Class configuration script
#
#
#
# Script Details: builds 4 RAID 10 LUNs from 16 drives (head unit only)
# for direct attached usage
#
# Script Assumptions: no arrays or logical drives created
# (uncomment out array deletion if needed)
# script works with either SATA or SAS configurations
#
#
#
# Global controller settings
# LUN Affinity: enabled [required]
# Adaptive Writeback Cache: enabled [optional, recommended]
# Host Cache Flushing: disabled [optional, recommended]
# Forced Read Ahead: disabled [optional, recommended]
#
#
ctrl -a mod -i 1 -s "lunaffinity=enable, adaptivewbcache=enable, hostcacheflushing=disable, forcedreadahead=disable"
ctrl -a mod -i 2 -s "lunaffinity=enable, adaptivewbcache=enable, hostcacheflushing=disable, forcedreadahead=disable"
#
#
# Delete any existing arrays
# Delete array 0 thru 3
# Note: uncomment out delete array commands to delete any existing LUNs;
# all physical drives must be available for script to run
# successfully
#
#
#array -a del -d 0
#array -a del -d 1
#array -a del -d 2
#array -a del -d 3
#
#
# Build Data1 LUN
# RAID level: 10
# Physical Drives: 1, 2, 5, 6
# Alias: Data1
# Controller Affinity: 1
# Configuration options: Capacity all (default), 64K stripe size (default),
# 512 byte sector (default), Read Cache, Write Back
#
#
array -a add -p 1,2,5,6 -s "alias=Data1" -l "alias=Data1,raid=10,readpolicy=readcache,writepolicy=writeback,preferredctrlid=1"
#
# Build Data2 LUN
# RAID level: 10
# Physical Drives: 3, 4, 7, 8
# Alias: Data2
# Controller Affinity: 2
# Configuration options: Capacity all (default), 64K stripe size (default),
# 512 byte sector (default), Read Cache, Write Back
#
array -a add -p 3,4,7,8 -s "alias=Data2" -l "alias=Data2,raid=10,readpolicy=readcache,writepolicy=writeback,preferredctrlid=2"
#
# Build Data3 LUN
# RAID level: 10
# Physical Drives: 9, 10, 13, 14
# Alias: Data3
# Controller Affinity: 1
# Configuration options: Capacity all (default), 64K stripe size (default),
# 512 byte sector (default), Read Cache, Write Back
#
array -a add -p 9,10,13,14 -s "alias=Data3" -l "alias=Data3,raid=10,readpolicy=readcache,writepolicy=writeback,preferredctrlid=1"
#
# Build Data4 LUN
# RAID level: 10
# Physical Drives: 11, 12, 15, 16
# Alias: Data4
# Controller Affinity: 2
# Configuration options: Capacity all (default), 64K stripe size (default),
# 512 byte sector (default), Read Cache, Write Back
#
array -a add -p 11,12,15,16 -s "alias=Data4" -l "alias=Data4,raid=10,readpolicy=readcache,writepolicy=writeback,preferredctrlid=2"
#
# Set up global spares
# Physical Drives:
# Type: Global spares, Revertible
# Note: This configuration does not have any spares
#
#
# Perform Quick Init on all LUNs
# Note: Ensure any stale filesystem data is destroyed
#
init -a start -l 0 -q 100
init -a start -l 1 -q 100
init -a start -l 2 -q 100
init -a start -l 3 -q 100
#
# END
#
#End Copy

Last Modified: May 13, 2013
Helpful?
Yes
No
  • Last Modified: May 13, 2013
  • Article: HT4047
  • Views:

    1048
  • Rating:
    • 20.0

    (1 Responses)

Additional Product Support Information

Start a Discussion
in Apple Support Communities
See all questions on this article See all questions I have asked