# CONFIGURATION SCRIPT BEGIN
#
# Script Date: Jun 5, 2015 09:08:10
#
# Script Summary: The configuration script is used to save the current RAID
# configuration, which can be later used for various purpose like
# - Propagating the saved configuration to other subsystems
# - Restoring a system configuration, lost due to some failure
# - The script can serve as summary of the system configuration
# if needed to troubleshoot a failure condition.
#
# Source Subsystem Configuration Overview:
# Subsystem Model: Vess R2600ti
# Reduancy Type: 1
# Controllers Count: 2
# Controller ID: 1
# Firmware Version: 1.04.0000.07
# Software Version: 1.04.0000.07
# Controller Mode: 0
# Controller ID: 2
# Firmware Version: 1.04.0000.07
# Software Version: 1.04.0000.07
# Controller Mode: 0
# Physical Drives Count: 32
# PD ID Physical Capacity Type
# ~~~~~ ~~~~~~~~~~~~~~~~~ ~~~~
# 1 1.81 TB SAS HDD
# 2 1.81 TB SAS HDD
# 3 1.81 TB SAS HDD
# 4 1.81 TB SAS HDD
# 5 1.81 TB SAS HDD
# 6 1.81 TB SAS HDD
# 7 1.81 TB SAS HDD
# 8 1.81 TB SAS HDD
# 9 1.81 TB SAS HDD
# 10 1.81 TB SAS HDD
# 11 1.81 TB SAS HDD
# 12 1.81 TB SAS HDD
# 13 1.81 TB SAS HDD
# 14 1.81 TB SAS HDD
# 15 1.81 TB SAS HDD
# 16 1.81 TB SAS HDD
# 17 1.81 TB SAS HDD
# 18 1.81 TB SAS HDD
# 19 1.81 TB SAS HDD
# 20 1.81 TB SAS HDD
# 21 1.81 TB SAS HDD
# 22 1.81 TB SAS HDD
# 23 1.81 TB SAS HDD
# 24 1.81 TB SAS HDD
# 25 1.81 TB SAS HDD
# 26 1.81 TB SAS HDD
# 27 1.81 TB SAS HDD
# 28 1.81 TB SAS HDD
# 29 1.81 TB SAS HDD
# 30 1.81 TB SAS HDD
# 31 1.81 TB SAS HDD
# 32 1.81 TB SAS HDD
#
# Script Prerequisites for the Target Subsystem:
# - Target Subsystem must have similar configuration as Source Subsystem
# - Any exsiting configuration must be deleted from the Target Subsystem for
# the script to run without errors
#
#
# ADVISORY NOTE :
#
# PLEASE USE EXTREME CAUTION WHILE EDITING THIS FILE.
# MODIFICATION RELATED TO STORAGE CONFIGURATION MAY POTENTIALLY PRODUCE
# UNPREDICTABLE RESULTS OR DATA LOSS ON PRODUCTION SYSTEMS.
#
# PROMISE STRONGLY RECOMMENDS TESTING ALL USER MODIFIED SCRIPTS ON
# NON-PRODUCTION SYSTEM, BEFORE USING IT ON PRODUCTION SYSTEMS.
#
# *************************
#
# Array Configuration
#
diskpool -a add -n "DP2" -r 6 -p 17,18,19,20,21,22,23,24,25,26,27,28,29,30,31 -s"ctrlid=2,stripe=1024KB"
sharedisk -a add -n "SD2" -d "DP2" -t sd -c 100tb -p smb|webdav|nfs|ftp|afp -u enable -r rw
spare -a add -i 0 -p 32 -r y -t g -s "mediapatrol=enable"
#
#
# CONFIGURATION SCRIPT END
# *************************