Pubsets on which Net-Storage files are cataloged can be mirrored using DRV or SHC-OSD. However, the Net-Storage files themselves are not mirrored because they are stored on a different medium. After the mirroring has been terminated, files on Net-Storage can therefore not be reached via a split mirror.
A distinction must be made between the following cases:
Splitting the mirror without renaming
The original pubset is imported again. Net-Storage files can still, as before, be created, deleted or edited using the original pubset.
When the split mirror is synchronized again with the original pubset, the catalog entries of the Net-Storage files are also implicitly updated.
It must be ensured that when the mirrors are split no changes are made to the management entries of the Net-Storage volumes. In other words the pubset which is imported first obtains access to the Net-Storage concerned (provided a connection exists to the Net-Storage).
If the split mirror is imported on another system, the answerable message DMS1326 is issued when the assigned Net-Storage volumes are accessed because the volume contains a foreign SYSID. When the message is answered with “yes”, access to the volume is permitted. It must be borne in mind that if the volume is actually assigned in another system, answering the question incorrectly can lead to inconsistencies and loss of data.
If you plan to process the split mirror in this way, you are recommended to proceed as follows:
Remove the Net-Storage volumes which were assigned to the pubset:
/REMOVE-NET-STORAGE-VOLUME ..., FILES-ON-VOLUME=*EXPORT
Export the pubset and disconnect the mirror.
Import the required pubset, original or mirror.
Assign the Net-Storage volumes to the imported/active pubset again:
/ADD-NET-STORAGE-VOLUME ..., IMPORT=*YES
Add the catalog entries of the files of the Net-Storage volume to the TSOSCAT of the imported pubset again using IMPORT-FILE.
The split mirror now contains no further Net-Storage files and can be processed further on another system.
Splitting the mirror with renaming
You are recommended to remove the Net-Storage volumes from the pubset before splitting the mirror:
/REMOVE-NET-STORAGE-VOLUME ..., FILES-ON-VOLUME=*EXPORT
After the mirror has been split, the Net-Storage can once again be assigned to the desired pubset mirror:
/ADD-NET-STORAGE-VOLUME ..., IMPORT=*YES
The files must subsequently be imported from the Net-Storage volume.
If the files are to be permanently available on Net-Storage, the following procedure can be used as an alternative:
The mirror is split using a DRV or SHC-OSD statement and at the same time renamed. When the mirror is split, the Net-Storage volume entries on it are implicitly declared invalid.
When this pubset is imported, the Net-Storage volume entries and the catalog entries of the associated Net-Storage files are automatically deleted.
The pubset can now either continue to be used either without Net-Storage or new Net-Storage volumes can be created. Existing Net-Storage volumes can also be placed back in service:
/ADD-NET-STORAGE-VOLUME ..., IMPORT=*YES
If the Net-Storage files and volumes of the original pubset are to be added to the split and reorganized mirror, these must be exported from the original beforehand:
/REMOVE-NET-STORAGE FILES-ON-VOLUME=*EXPORT