HP MSA 1040 HP MSA 1040 CLI Reference Guide (762782-001, March 2014) - Page 51
Syntax, Parameters, for the size without appending a unit indicator.
![]() |
View all HP MSA 1040 manuals
Add to My Manuals
Save this manual to your list of manuals |
Page 51 highlights
IMPORTANT: To replicate between an HP P2000 G3 MSA system and an HP MSA 1040 system, the secondary volume must be exactly the same size as the primary volume. This can be complicated because the P2000 G3 MSA creates volumes that are 64-KB aligned while the MSA 1040 creates volumes that are 4-MB aligned. When the volume is created or expanded the size will be decreased to the nearest alignment boundary. Allowing the system to create the secondary volume automatically when creating the replication set ensures the size will be correct. To ensure the size is exactly the same when creating the secondary volume manually, use the CLI and perform the following steps: 1. In the primary system, run set cli-parameters units MB precision 4 base 2 and then run show volumes. Multiply the size of the source volume by 2048 to get the number of 512-byte blocks to use to create the secondary volume. 2. In the secondary system, create the secondary volume using the create volume command with the prepare-replication-volume parameter, and use the number of 512-byte blocks for the size without appending a unit indicator. For example, in a P2000 G3 MSA system as a user with a base preference of 10 you create a 50-GB primary volume: # create volume vdisk vd-1 size 50GB PrimaryVol # set cli-parameters units MB precision 4 base 2 # show volumes PrimaryVol Vdisk Name Size Serial Number ... vd-1 PrimaryVol 47683.6875MiB SN ... The number of 512-byte blocks would be 47683.6875(MiB) * 2048 = 97656192. In the MSA 1040 system, to create the secondary volume you would run: create volume vdisk vd-1 size 97656192 prepare-replication-volume RepVol Replication within the same system is allowed only if the primary and secondary volumes are in vdisks owned by different controllers. Syntax create replication-set [link-type FC|iSCSI] [max-queue #] [noprompt] [nowait] [primary-address ip=IPs|wwnn=WWNNs|wwpn=WWPNs] [priority low|medium|high] [remote-system system] [remote-vdisk vdisk] [remote-volume volume] [reserve size[B|KB|MB|GB|TB|KiB|MiB|GiB|TiB]] [secondary-address ip=IPs|wwnn=WWNNs|wwpn=WWPNs] [set name] [snapshot snapshot] primary-volume Parameters link-type FC|iSCSI Optional; required if the primary-address parameter is not specified. Specifies the type of ports being used for the inter-system link: • FC: FC ports. • iSCSI: iSCSI ports. create replication-set 51
![](/manual_guide/products/hewlettpackard-msa-1040-hp-msa-1040-cli-reference-guide-762782001-2014-9b93910/51.png)