You can get the following error when adding Remote Copy volumes on a IBM Storwize or IBM Flashsystem:
CMMVC5970E The Remote Copy relationship was not created because there is not enough memory
The fix is to increase the memory on both storage devices.
Login to both Storwize / Flash system devices and check the remote_copy_total_memory with the following command:
lsiogrp 0
In this output you will find the remote_copy_total_memory:
IBM_FlashSystem:MB-SAN02:superuser>lsiogrp 0 id 0 name io_grp0 node_count 2 vdisk_count 8 host_count 0 flash_copy_total_memory 20.0MB flash_copy_free_memory 20.0MB remote_copy_total_memory 20.0MB remote_copy_free_memory 0.0MB mirroring_total_memory 45.0MB mirroring_free_memory 5.0MB raid_total_memory 52.2MB raid_free_memory 0.0MB maintenance no compression_active no accessible_vdisk_count 8 compression_supported yes max_enclosures 20 encryption_supported yes flash_copy_maximum_memory 2048.0MB site_id site_name fctargetportmode enabled compression_total_memory 0.0MB deduplication_supported yes deduplication_active no nqn nqn.1986-03.com.ibm:nvme:2145.00000204A0408348 flash_copy_max_legacy_memory 2048.0MB flash_copy_used_legacy_memory 0.0MB remote_copy_maximum_memory 512.0MB mirroring_maximum_memory 512.0MB raid_maximum_memory 512.0MB
With the following command you can change the remote_copy_total_memory to – for example – 40MB:
chiogrp -feature remote -size 40 io_grp0
Then check if the setting has changed:
IBM_FlashSystem:MB-SAN02:superuser>lsiogrp 0 id 0 name io_grp0 node_count 2 vdisk_count 8 host_count 0 flash_copy_total_memory 20.0MB flash_copy_free_memory 20.0MB remote_copy_total_memory 40.0MB remote_copy_free_memory 0.0MB mirroring_total_memory 45.0MB mirroring_free_memory 5.0MB raid_total_memory 52.2MB raid_free_memory 0.0MB maintenance no compression_active no accessible_vdisk_count 8 compression_supported yes max_enclosures 20 encryption_supported yes flash_copy_maximum_memory 2048.0MB site_id site_name fctargetportmode enabled compression_total_memory 0.0MB deduplication_supported yes deduplication_active no nqn nqn.1986-03.com.ibm:nvme:2145.00000204A0408348 flash_copy_max_legacy_memory 2048.0MB flash_copy_used_legacy_memory 0.0MB remote_copy_maximum_memory 512.0MB mirroring_maximum_memory 512.0MB raid_maximum_memory 512.0MB
That’s it!