2 creating new volumes – HP StorageWorks Scalable File Share User Manual
Page 20
2.3.2 Creating New Volumes
To create new volumes on a set of MSA2000 arrays, follow these steps:
1.
Power on all the MSA2000 shelves.
2.
Define an alias.
One way to execute commands on a set of arrays is to define a shell alias that calls
/opt/hp/sfs/msa2000/msa2000cmd.pl
for each array. The alias defines a shell for-loop
which is terminated with ; done. For example:
# alias forallmsas='for NN in `seq 101 2 119` ; do \
./msa2000cmd.pl 192.168.16.$NN'
In the above example, controller A of the first array has an IP address of 192.168.16.101,
controller B has the next IP address, and the rest of the arrays have consecutive IP addresses
up through 192.168.16.[119,120] on the last array. This command is only executed on one
controller of the pair.
For the command examples in this section, the MGS and MDS use the MSA2000 A controllers
assigned to IP addresses 192.168.16.101–103. The OSTs use the A controllers assigned to the
IP addresses 192.168.16.105–119. The vdisks and volumes created for MGS and MDS are not
the same as vdisks and volumes created for OSTs. So, for convenience, define an alias for
each set of MDS (MGS and MDS) and OST controllers.
# alias formdsmsas='for NN in `seq 101 2 103` ; do ./msa2000cmd.pl 192.168.16.$NN'
# alias forostmsas='for NN in `seq 105 2 119` ; do ./msa2000cmd.pl 192.168.16.$NN'
NOTE:
You may receive the following error if a controller is down:
# alias forallmsas='for NN in `seq 109 2 115` ; do ./msa2000cmd.pl 192.168.16.$NN'
# forallmsas show disk 3 ; done
----------------------------------------------------
On MSA2000 at 192.168.16.109 execute < show disk 3 >
ID Serial# Vendor Rev. State Type Size(GB) Rate(Gb/s) SP
------------------------------------------------------------------------------
3 3LN4CJD700009836M9QQ SEAGATE 0002 AVAIL SAS 146 3.0
------------------------------------------------------------------------------
On MSA2000 at 192.168.16.111 execute < show disk 3 >
ID Serial# Vendor Rev. State Type Size(GB) Rate(Gb/s) SP
------------------------------------------------------------------------------
3 3LN4DX5W00009835TQX9 SEAGATE 0002 AVAIL SAS 146 3.0
------------------------------------------------------------------------------
On MSA2000 at 192.168.16.113 execute < show disk 3 >
problem connecting to "192.168.16.113", port 23: No route to host at ./msa2000cmd.pl line 12
----------------------------------------------------
On MSA2000 at 192.168.16.115 execute < show disk 3 >
problem connecting to "192.168.16.115", port 23: No route to host at ./msa2000cmd.pl line 12
3.
Storage arrays consist of a controller enclosure with two controllers and up to three connected
disk drive enclosures. Each enclosure can contain up to 12 disks.
Use the rescan command to find all the enclosures and disks. For example:
# forallmsas rescan ; done
# forallmsas show disks ; done
The CLI syntax for specifying disks in enclosures differs based on the controller type used
in the array. The following vdisk and volume creation steps are organized by controller
types MSA2212fc and MSA2312fc, and provide examples of command-line syntax for
specifying drives. This assumes that all arrays in the system are using the same controller
type.
20
Installing and Configuring MSA Arrays