CL Command Reference - CRTNWSSTG
CL Command List > CRTNWSSTG Reference
Description:
The Create Network Server Storage Space (CRTNWSSTG) command creates a storage space used by a network server. The network storage space must be linked to a network server description before it can be used. For more information see the Add Network Server Storage Link (ADDNWSSTGL) command.
Examples:
Example 1: Create NTFS-format Storage Space
CRTNWSSTG NWSSTG(STGSPACE3) NWSSIZE(200) FORMAT(*NTFS)
This command creates a network server storage space called STGSPACE3 with a size of 200 megabytes. The storage space will not be formatted and must be linked to a network server description with a connection type of *IXSVR, *ISCSI or *GUEST.
Example 2: Copy Existing Storage Space
CRTNWSSTG NWSSTG(STGSPACE4) NWSSIZE(*CALC)
FROMNWSSTG(FROMSTG) ASP(3)
This command creates a network server storage space called STGSPACE4 with a size and format the same as FROMSTG and copies the contents into STGSPACE4. It will be created in user auxiliary storage pool (ASP) 3.