Promise VTrak: Fourth SAS-connected Expansion Chassis Only: Xsan (Data Only) configuration script

This article contains a script used to configure Promise VTrak SAS-connected Expansion Chassis for Xsan. This script is used in the event that a Promise VTrak RAID Controller has already been configured for use with Xsan, and that an Expansion Chassis is being connected to the already-configured RAID Controller.

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 Name: Fourth SAS-connected Expansion Chassis: Xsan (Data Only)
#
# Script Details: builds 3 LUNs from 16 drives (Fourth expansion unit)
#                 in the recommended configuration for use with Xsan 2
#
# 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]
# Host Cache Flushing:      disabled [optional]
# Forced Read Ahead:        enabled [optional]
#
#ctrl -a mod -i 1 -s "lunaffinity=enable, adaptivewbcache=enable, hostcacheflushing=disable, forcedreadahead=enable"
#ctrl -a mod -i 2 -s "lunaffinity=enable, adaptivewbcache=enable, hostcacheflushing=disable, forcedreadahead=enable"
#
# Delete any existing arrays
# Delete array 12 thru 14
#
#array -a del -d 12
#array -a del -d 13
#array -a del -d 14
#
# Build Data5 LUN
# RAID level:            5
# Physical Drives:       65, 66, 69, 70, 73, 74
# Alias:                 Data9
# Controller Affinity:   1
# Configuration options: Capacity all (default), 64K stripe size (default),
#                        512 byte sector (default), Read Ahead, Write Back
#
array -a add -p 65,66,69,70,73,74 -s "alias=Data9" -c 1 -l "alias=Data9, raid=5, readpolicy=readahead, writepolicy=writeback, preferredctrlid=1"
#
# Build Data6 LUN
# RAID level:            5
# Physical Drives:       67, 68, 71, 72, 75, 76
# Alias:                 Data10
# Controller Affinity:   2
# Configuration options: Capacity all (default), 64K stripe size (default),
#                        512 byte sector (default), Read Ahead, Write Back
#
array -a add -p 67,68,71,72,75,76 -s "alias=Data10" -c 1 -l "alias=Data10, raid=5, readpolicy=readahead, writepolicy=writeback, preferredctrlid=2"
#
# Build Audio/Scratch2 LUN
# RAID level:            5
# Physical Drives:       77, 78, 79
# Alias:                 Scratch5
# Controller Affinity:   2
# Configuration options: Capacity all (default), 64K stripe size (default),
#                        512 byte sector (default), Read Ahead, Write Back
#
array -a add -p 77,78,79 -s "alias=Scratch5" -c 1 -l "alias=Scratch5, raid=5, readpolicy=readahead, writepolicy=writeback, preferredctrlid=1"
#
# Set up global spares
# Physical Drives: 80
# Type:            Global spares, Revertible
#
spare -a add -p 80 -t g -r y
#
# Perform  Init on all  new LUNs
#
init -a start -l 12 -q 100
init -a start -l 13 -q 100
init -a start -l 14 -q 100
# END
#
#End Copy

Information about products not manufactured by Apple, or independent websites not controlled or tested by Apple, is provided without recommendation or endorsement. Apple assumes no responsibility with regard to the selection, performance, or use of third-party websites or products. Apple makes no representations regarding third-party website accuracy or reliability. Risks are inherent in the use of the Internet. Contact the vendor for additional information.

Last Modified:
Helpful?

Additional Product Support Information

Start a Discussion

in Apple Support Communities
See all questions on this article See all questions I have asked
United States (English)