// Uncomment the two lines below to delete the existing configuration. //show "Deleting the existing configuration."; //clear storageArray configuration; // Storage Array global logical configuration script commands //set storageArray userLabel="StornextE5700"; show "Setting the Storage Array media scan rate to 30."; set storageArray mediaScanRate=30; // Uncomment the three lines below to remove the default volume (if exists). NOTE: Default volume name is always = "Unnamed". //on error continue; //show "Deleting the default volume created during the removal of the existing configuration."; //delete volume["Unnamed"] removeVolumeGroup=true; //on error stop; show "Setting the Storage Array cache block size to 32."; set storageArray cacheBlockSize=32; show "Setting the Storage Array to begin cache flush at 80% full."; set storageArray cacheFlushStart=80; //======== SYNTAX ======/// //create volumeGroup drives=(trayID1,drawerID1,slotID1 ... trayIDn,drawerIDn,slotIDn) raidLevel=(0 | 1 | 3 | 5 | 6) //userLabel="volumeGroupName" //[driveMediaType=(HDD | SSD | unknown | allMedia)] //[driveType=(fibre | SATA | SAS)] //[trayLossProtect=(TRUE | FALSE)] //[drawerLossProtect=(TRUE | FALSE)] //[securityType=(none | capable | enabled )] //[dataAssurance=(none | enabled)] // Each set of 30 drives is independent of other sets, allowing for easy adjustment for number of drives present. // 5 drives in each group are created in even numbered slots and 5 in odd. // -------------------------------------------------------------------------------------- // 30 drive group show "Creating Volume Group vg0, RAID 6."; create volumeGroup drives=(99,1,0 99,1,3 99,2,0 99,2,3 99,3,0 99,3,3 99,4,0 99,4,3 99,5,0 99,5,3) RAIDLevel=6 userLabel="vg0"; show "Creating Volume Group vg1, RAID 6."; create volumeGroup drives=(99,1,6 99,1,9 99,2,6 99,2,9 99,3,6 99,3,9 99,4,6 99,4,9 99,5,6 99,5,9) RAIDLevel=6 userLabel="vg1"; show "Creating Volume Group vg2, RAID 6."; create volumeGroup drives=(99,1,1 99,1,4 99,2,1 99,2,4 99,3,1 99,3,4 99,4,1 99,4,4 99,5,1 99,5,4) RAIDLevel=6 userLabel="vg2"; // -------------------------------------------------------------------------------------- // 30 drive group show "Creating Volume Group vg3, RAID 6."; create volumeGroup drives=(0,1,7 0,1,10 0,2,7 0,2,10 0,3,7 0,3,10 0,4,7 0,4,10 0,5,7 0,5,10) RAIDLevel=6 userLabel="vg3"; show "Creating Volume Group vg4, RAID 6."; create volumeGroup drives=(0,1,2 0,1,5 0,2,2 0,2,5 0,3,2 0,3,5 0,4,2 0,4,5 0,5,2 0,5,5) RAIDLevel=6 userLabel="vg4"; show "Creating Volume Group vg5, RAID 6."; create volumeGroup drives=(0,1,8 0,1,11 0,2,8 0,2,11 0,3,8 0,3,11 0,4,8 0,4,11 0,5,8 0,5,11) RAIDLevel=6 userLabel="vg5"; // -------------------------------------------------------------------------------------- // 30 drive group show "Creating Volume Group vg6, RAID 6."; create volumeGroup drives=(1,1,0 1,1,3 1,2,0 1,2,3 1,3,0 1,3,3 1,4,0 1,4,3 1,5,0 1,5,3) RAIDLevel=6 userLabel="vg6"; show "Creating Volume Group vg7, RAID 6."; create volumeGroup drives=(1,1,6 1,1,9 1,2,6 1,2,9 1,3,6 1,3,9 1,4,6 1,4,9 1,5,6 1,5,9) RAIDLevel=6 userLabel="vg7"; show "Creating Volume Group vg8, RAID 6."; create volumeGroup drives=(1,1,1 1,1,4 1,2,1 1,2,4 1,3,1 1,3,4 1,4,1 1,4,4 1,5,1 1,5,4) RAIDLevel=6 userLabel="vg8"; // -------------------------------------------------------------------------------------- // 30 drive group show "Creating Volume Group vg9, RAID 6."; create volumeGroup drives=(1,1,7 1,1,10 1,2,7 1,2,10 1,3,7 1,3,10 1,4,7 1,4,10 1,5,7 1,5,10) RAIDLevel=6 userLabel="vg9"; show "Creating Volume Group vg10, RAID 6."; create volumeGroup drives=(1,1,2 1,1,5 1,2,2 1,2,5 1,3,2 1,3,5 1,4,2 1,4,5 1,5,2 1,5,5) RAIDLevel=6 userLabel="vg10"; show "Creating Volume Group vg11, RAID 6."; create volumeGroup drives=(1,1,8 1,1,11 1,2,8 1,2,11 1,3,8 1,3,11 1,4,8 1,4,11 1,5,8 1,5,11) RAIDLevel=6 userLabel="vg11"; // -------------------------------------------------------------------------------------- // 30 drive group show "Creating Volume Group vg12, RAID 6."; create volumeGroup drives=(2,1,0 2,1,3 2,2,0 2,2,3 2,3,0 2,3,3 2,4,0 2,4,3 2,5,0 2,5,3) RAIDLevel=6 userLabel="vg12"; show "Creating Volume Group vg13, RAID 6."; create volumeGroup drives=(2,1,6 2,1,9 2,2,6 2,2,9 2,3,6 2,3,9 2,4,6 2,4,9 2,5,6 2,5,9) RAIDLevel=6 userLabel="vg13"; show "Creating Volume Group vg14, RAID 6."; create volumeGroup drives=(2,1,1 2,1,4 2,2,1 2,2,4 2,3,1 2,3,4 2,4,1 2,4,4 2,5,1 2,5,4) RAIDLevel=6 userLabel="vg14"; // -------------------------------------------------------------------------------------- // 30 drive group show "Creating Volume Group vg15, RAID 6."; create volumeGroup drives=(2,1,7 2,1,10 2,2,7 2,2,10 2,3,7 2,3,10 2,4,7 2,4,10 2,5,7 2,5,10) RAIDLevel=6 userLabel="vg15"; show "Creating Volume Group vg16, RAID 6."; create volumeGroup drives=(2,1,2 2,1,5 2,2,2 2,2,5 2,3,2 2,3,5 2,4,2 2,4,5 2,5,2 2,5,5) RAIDLevel=6 userLabel="vg16"; show "Creating Volume Group vg17, RAID 6."; create volumeGroup drives=(2,1,8 2,1,11 2,2,8 2,2,11 2,3,8 2,3,11 2,4,8 2,4,11 2,5,8 2,5,11) RAIDLevel=6 userLabel="vg17";