Net-Storage can be disconnected from the BS2000 system using UMOUNT-NET-STORAGE. Applications which are running can then no longer access files residing on Net-Storage.
Before the shutdown in the BS2000 system is initiated, the data pubsets to which Net-Storage volumes are assigned must be exported. This ensures that no further open files exist on the net server.
BCAM may be terminated only after the pubset has been exported. If BCAM is terminated beforehand, open files on Net-Storage (including the catalog) can no longer be closed and the connection between the net client and net server cannot be cleared. In this case the Net-Storage volume can only be accessed again when another pubset import is performed after the message DMS1326
has been answered.
Net-Storage can also be disconnected during ongoing BS2000 operation, e.g. when the net server is switched:
Disconnect the Net-Storage from the BS2000 system, e.g. with
/UMOUNT-NET-STORAGE DIRECTORY='/bs2data1', SERVER=*IP-ADDRESS(IP-ADDRESS=172.10.1.110), CLIENT=system1
The command is executed only if none of the Net-Storage is still occupied. You can check whether it is occupied by the local system using the SHOW-NET-STORAGE-OCCUPATION command. SHOW-NET-STORAGE-OCCUPATION shows all the tasks of the local system which are occupying storage space for a mount ID. For shared pubsets, too, only the tasks of the local system which occupy storage space are output.
In an emergency you can force the UMOUNT-NET-STORAGE command to be executed with the FORCE=*YES option: the Net-Storage is also disconnected if tasks are still occupying it. However, inconsistencies can occur as open files are not closed properly.
You also use the UMOUNT-NET-STORAGE command to unmount the released directory on the net client.