Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

erteclas

macrumors newbie
Original poster
Feb 20, 2008
28
0
This is the sript from apple website, but is for a 16 disk e class promise... but he problem is that my promise is a vtrack e610f, but wiht only 8 disk, of 1tb...

this is the script....
#Begin Copy
#
# Promise VTrak E-Class configuration script
#
# Script Name: RAID Controllers: Xsan (Metadata and Data)
# Script Version: 2.0 (2/22/0
#
#
# Script Details: builds 3 LUNs from 16 drives (head unit only)
# 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 0 thru 2
#
#array -a del -d 0
#array -a del -d 1
#array -a del -d 2
#
# Build MDC LUN
# RAID level: 1
# Physical Drives: 1, 2
# Alias: MDC
# Controller Affinity: 1
# Configuration options: Capacity all (default), 64K stripe size (default),
# 512K sector (default), Read Cache, Write Through
#
array -a add -p 1,2 -s "alias=MDC" -c 1 -l "alias=MDC,raid=1,readpolicy=readcache,writepolicy=writethru,preferredctrlid=1"
#
# Build Data1 LUN
# RAID level: 5
# Physical Drives: 5, 6, 9, 10, 13, 14
# Alias: Data1
# Controller Affinity: 2
# Configuration options: Capacity all (default), 64K stripe size (default),
# 512K sector (default), Read Ahead, Write Back
#
array -a add -p 5,6,9,10,13,14 -s "alias=Data1" -c 1 -l "alias=Data1,raid=5,readpolicy=readahead,writepolicy=writeback,preferredctrlid=2"
#
# Build Data2 LUN
# RAID level: 5
# Physical Drives: 7, 8, 11, 12, 15, 16
# Alias: Data2
# Controller Affinity: 1
# Configuration options: Capacity all (default), 64K stripe size (default),
# 512K sector (default), Read Ahead, Write Back
#
array -a add -p 7,8,11,12,15,16 -s "alias=Data2" -c 1 -l "alias=Data2,raid=5,readpolicy=readahead,writepolicy=writeback,preferredctrlid=1"
#
# Set up global spares
# Physical Drives: 3, 4
# Type: Global spares, Revertible
#
spare -a add -p 3 -t g -r y
spare -a add -p 4 -t g -r y
#
# Perform Quick Init on all LUNs
# Note: Ensure any state 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
#
# END
#
#End Copy




what would be the modification for my promise...?
thanks...
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.