![]() |
Chapter 8. Managing Storage Spaces This chapter discusses what storage spaces are and how to manage them. The following topics are included:
Storage space is AS/400 disk storage that is allocated for data. There are two types of storage spaces:
Server storage spaces are used by the server to install and run NetWare 4.1. They are *SVRSTG type objects.
Network server storage spaces contain the SYS: volume and other volumes you choose to create to contain your directories and files. They are objects stored in the integrated file system.
![]() Server Storage Spaces OS/400 Integration for Novell NetWare uses OS/2 Warp to install and run NetWare 4.1. The installation process creates several server storage spaces that are used by OS/2 Warp to load OS/2. AS/400 also uses these server storage spaces to load and start the NetWare server. AS/400 formats the OS/2 drives: C:, D:, E:, and F: as file allocation table (FAT) disks. The Create Network Server Description (CRTNWSD) command creates the C: drive. (The INSNTWSVR command calls the CRTNWSD command.) Each NWSD has its own C: drive. This drive contains the data needed for booting OS/2, including the CONFIG.SYS and STARTUP.CMD files. Files on the C: drive cannot be changed because the C: drive is read-only. The C: drive is named server1 where server is the name of the NWSD. This storage space resides in the QUSRSYS library. The size of the C: drive depends on the language:
The D: drive holds the AS/400 copy of OS/2. All NWSDs of the same AS/400 national language share the D: drive. AS/400 creates this storage space when you install the Integration Services for FSIOP feature. This drive holds the OS/2 kernel and the other OS/2 programs used to start the Integrated PC Server. The D: drive is read-only. This disk is 50MB and is named QFPBSYS2. For the primary language, this drive is located in the QFPINT library, which is the library for the Integration Services for FSIOP feature. For any language other than the primary language, the D: drive is located in a library named QSYSnnnn, where nnnn is the language version. This drive contains the SERVER.EXE and STARTUP.NCF files that are used to start the server. Each network server description has its own E: drive. The E: drive is created by the Create Network Server Description (CRTNWSD) command, which is invoked by the INSNTWSVR command. This disk is 35MB and is named server3, where server is the name of the NWSD. This storage space resides in library QUSRSYS. AS/400 loads the STARTUP.NCF file from the E: drive. AS/400 keeps a base copy of the server AUTOEXEC.NCF file on the E: drive. AS/400 copies the base copy to the SYSTEM directory of the SYS: volume of the server during the first VARY ON of the NWSD. Subsequent startups run from the copy. The E: drive is used for some NetWare operations, such as installing licenses for a NetWare Loadable Module** (NLM**) or loading NetWare fixes. You have read/write access to this drive. You can access it using the Submit Network Server Command (SBMNWSCMD) command or through the NetWare remote console. NetWare documentation refers to this drive as the local DOS drive. Using the E: Drive--Example: When installing the license for NetWare for SAA, you are prompted to specify a local DOS drive where the license is held. Because there is no diskette drive on the Integrated PC Server server, you must first load the license files to the E: drive using remote console (RCONSOLE). When using an RCONSOLE session, you can press ALT F1 to display an options window. You can load the license files with the transfer files option. Then you can specify the E: drive when prompted for the license diskette. The F: drive holds the AS/400 copy of NetWare and the NLMs that run NetWare on the Integrated PC Server. All NWSDs of the same AS/400 national language share this drive. The F: drive is read-only. AS/400 applies the PTFs to this storage space that fix both Integrated PC Server NLMs and the NetWare server programs. For information about how to apply PTFs to this storage space, see "Applying a PTF to a Enhanced Integration for NetWare NLM". This disk is:
When you use the INSNTWSVR command, files are copied to the F: drive from the NetWare 4.1 CD-ROM. After the installation of the NetWare source has completed, the same F: drive can be used by other network servers of the same national language that are created on the same AS/400.
![]()
This vary off process sets the usage counter in the F: drive to zero. If the usage counter is not set to zero, SAVLICPGM and RSTLICPGM work, but DLTLICPGM does not work.
![]() Table 8-1 summarizes the server storage spaces information. Table 8-1. OS/2 and NetWare Storage Spaces
|
Network Server Storage Spaces Network server storage space is disk storage that is allocated for data, directories, or files. NetWare uses and manages this disk storage like a device on a PC. You can partition and create volumes on the network server storage space. To manage volumes from AS/400, use the Work with NetWare Volume (WRKNTWVOL) command if you have Enhanced Integration for NetWare. You can also manage volumes using the NetWare INSTALL utility from RCONSOLE.
![]()
If you have Enhanced Integration for NetWare installed and the Enhanced Integration for NetWare NLM is loaded, the monitor job automatically partitions any new network server storage spaces. If the NLM is not loaded or if Enhanced Integration for NetWare is not installed, then you must use the INSTALL utility to partition the new storage spaces. If a storage space is not partitioned at the time you attempt to create a volume, AS/400 reports that the device number is not valid. Either wait for the monitor job to partition the space, or use the INSTALL utility from RCONSOLE to partition the space. Storage spaces reside in the system auxiliary storage pool (ASP). You can link up to sixteen storage spaces to an NWSD at one time. Each storage space can be up to 8000MB. The amount of disk storage you can attach to an Integrated PC Server depends on the amount of memory on your Integrated PC Server.
![]()
![]()
![]()
Use the NetWare INSTALL utility to create a partition and volumes on the storage space. For more information on the NetWare 4.1 INSTALL utility, see the Novell NetWare 4.1 Installation and Upgrade book. The NetWare system (SYS:) volume is used to hold the server NLMs, other NetWare NLMs, and user utilities. The system volume is unique to a NetWare server. It also holds the NDS information and spool files. Although the system volume can be extended across multiple disks or storage spaces, you should ensure this volume is large enough for future system requirements. The system volume is created by the Install NetWare Server (INSNTWSVR) command with a default size of 200MB. The INSNTWSVR command allows you to specify any size between 100MB and 8000MB. The default name of the system volume is the name of the network server description. There are two important configuration files on this system volume: AUTOEXEC.NCF
and NETINFO.CFG. The AUTOEXEC.NCF file loads NLMs when the server is started.
The NETINFO.CFG file holds all the LOAD and BIND statements for the Integrated
PC Server. For more information on these files, see "AUTOEXEC.NCF"
and "NETINFO.CFG".
Working with Network Server Storage You can manage network server storage space using the Work with Network Server Storage Spaces (WRKNWSSTG) command. The resulting panel lists existing storage spaces and allows you to create new storage spaces or delete, display, print, link, or unlink existing storage spaces. If a storage space exists but is not linked to a server, no server name is listed. If a storage space is linked to multiple servers as NWCDSH is in Figure 8-1, the storage space is listed once and each server that it is linked to is listed on a separate row of the display. A storage space that is linked to multiple servers can be linked only with ACCESS(*READ). Storage Device and Drive Number AS/400 assigns drive number to each storage space linked to a server. The drive number displayed matches the device number on the NetWare server. The drive numbers 0 through 7 are reserved for system use. The NetWare SYS: volume is initially assigned drive 8. Any additional storage spaces that are created for user data and linked to the server are assigned drives 9 through 23. The Percent Used value on the WRKNWSSTG display is different, depending on whether or not Enhanced Integration for NetWare is installed.
![]() +--------------------------------------------------------------------------------+ | Work with Network Server Storage Spaces | | System: SYSNAM00 | | Type options, press Enter. | | 1=Create 4=Delete 5=Display 6=Print 10=Add link 11=Remove link | | | | Percent | | Opt Name Used Size Server Drive Format Access | | | | JDMN * 2 *NETWARE | | KARLA 0 2 KARLA K *FAT *UPDATE | | MURASSTG * 10 *NETWARE | | MURAS1 * 2 *NETWARE | | NWCC08 * 300 NWCC08 8 *NETWARE *UPDATE | | 5 NWCDSH * 200 NWCDSH05 9 *NETWARE *READ | | NWHERMAN 11 *NETWARE *READ | | NWCDSH05 * 100 NWCDSH05 8 *NETWARE *UPDATE | | NWCID * 50 *NETWARE | | NWHERSRC * 100 NWHERMAN 10 *NETWARE *UPDATE | | More... | | Parameters or command | | ===> | | F3=Exit F4=Prompt F5=Refresh F6=Print list F9=Retrieve | | F11=Display text F12=Cancel F17=Position to | | | +--------------------------------------------------------------------------------+
![]() Creating a Network Server Storage Space This topic explains how to create a storage space on AS/400 for your PC files and applications. First, ensure that you have enough AS/400 disk storage allocated when creating a storage space. Storage spaces are created in the system auxiliary storage pool (ASP). Use the WRKSYSSTS command to see how much total system storage is available, and then decide how much of that you want to use for storage spaces. If you try to add a storage space and specify a disk size larger than the disk space available on AS/400, you get an error message "Size parameter value is too large" and the storage space is not created.
![]()
![]()
![]() +--------------------------------------------------------------------------------+ | Create NWS Storage Space (CRTNWSSTG) | | | | Type choices, press Enter. | | | | Network server storage space . . > STGSPC1 Name | | Size . . . . . . . . . . . . . . > 200 1-8000 | | Format . . . . . . . . . . . . . > *NETWARE *HPFS, *FAT, *NETWARE | | Text 'description' . . . . . . . NetWare user applications | | | | | | | | | | | | | | | | | | | | | | | | | | Bottom | | F3=Exit F4=Prompt F5=Refresh F12=Cancel F13=How to use this display | | F24=More keys | +--------------------------------------------------------------------------------+ Linking the Network Server Storage Space To link a storage space to a network server, use the Add Network Server Storage Space Link (ADDNWSSTGL) command. You must know the names of the network server and the network server storage space. You must also specify the type of network server (*NETWARE). If you want to access this storage space as read only, change the ACCESS parameter value to *READ. Creating and Linking Storage Space--Example: If you have not done so already, create the storage space by using the CRTNWSSTG command: CRTNWSSTG NWSSTG(EDITH) NWSSIZE(20) FORMAT(*NETWARE) TEXT('Edith''s space')To link, or assign, the storage space to the NetWare server SERVER1: ADDNWSSTGL NWSSTG(EDITH) NWSD(SERVER1)Make sure that the NetWare server is varied off. To do this, enter WRKCFGSTS CFGTYPE(*NWS) from an AS/400 session and then use option 2. Once the storage is linked to the server, vary on the NWSD to start the server.
![]()
![]()
![]() When you vary on the server for the first time with multiple storage spaces, AS/400 assigns one of those storage spaces to the SYS: volume. You cannot control which storage space is assigned to the SYS: volume unless you vary on the NWSD from the INSNTWSVR command (specify VRYCFG(*YES)). Then, after the initial vary on, vary the NWSD off and create and link the initial vary on, vary the NWSD off and create and link the additional storage spaces required for other volumes. You cannot change the size of a storage space once it is created. If you have just created a storage space (but not yet linked it to an NWSD) and you determine it is the wrong size, you can create an additional storage space and link that to the NWSD. You can create a storage space when the network server is active. However, the NWSD must be varied off in order to link the storage space to the network server description. A storage space is usually linked to a single NWSD in read/write mode.
![]()
![]()
![]()
VRYCFG CFGOBJ(SERVER1) CFGTYPE(*NWS) STATUS(*OFF) RMVNWSSTGL NWSSTG(STGSPC1) NWSD(SERVER1) ADDNWSSTGL NWSSTG(STGSPC1) NWSD(SERVER1) ACCESS(*READ) VRYCFG CFGOBJ(SERVER1) CFGTYPE(*NWS) STATUS(*ON) Viewing the Contents of a Storage Space
![]() AS/400 manages NetWare partitions and volumes differently, depending on whether you have Enhanced Integration for NetWare installed.
![]()
![]()
With Enhanced Integration for NetWare installed, you can manage NetWare volumes. You can manage the volumes using the WRKNTWVOL command, which allows you to create, change, or delete volumes for a specified server. For details on managing NetWare volumes, see Chapter 18. "Managing NetWare Volumes". Displaying Network Server Storage Spaces Once the storage space is formatted, you can display the storage space information using the Display Network Server Storage Space (DSPNWSSTG) command. If the storage space is linked to multiple servers, the NWSD value on the Display Network Server Storage Space is *MULT as shown in Figure 8-3.
![]()
![]()
Figure 8-3. Display Network Server Storage Space Display--Integration for NetWare +--------------------------------------------------------------------------------+ | System: SYSNAM00 | | Network server storage space . . : NWCDSH | | | | Network server description . . . : *MULT | | Drive . . . . . . . . . . . . . . : * | | Size in megabytes . . . . . . . . : 200 | | Percent used . . . . . . . . . . : * | | Format . . . . . . . . . . . . . : *NETWARE | | Format complete . . . . . . . . . : No | | Access . . . . . . . . . . . . . : *READ | | Text . . . . . . . . . . . . . . : | | | | | | | | | | | |Press Enter to continue. Bottom | | | |F3=Exit F6=Print F12=Cancel F22=Show multiple links | +--------------------------------------------------------------------------------+You can display all linked NetWare servers by pressing F22. ![]() +--------------------------------------------------------------------------------+ | System: SYSNAM00 | | Network server storage space . . : NWCDSH | | | | | | Network | | server description Drive | | NWHERMAN 11 | | NWCDSH05 9 | | | | | | | +--------------------------------------------------------------------------------+
![]()
If you have Enhanced Integration for NetWare installed and have a connection to the server, the DSPNWSSTG command provides additional information. Figure 8-5 shows the following:
+--------------------------------------------------------------------------------+ | Display Network Server Storage Space | | | | System: SYSNAME | | Network server storage space . . : STGSPACE1 | | | | Network server description . . . : SERVER1 | | Drive . . . . . . . . . . . . . . : 8 | | Size in megabytes . . . . . . . . : 200 | | Percent used . . . . . . . . . . : 59 | | Largest unused area . . . . . . . : 0 | | Format . . . . . . . . . . . . . : *NETWARE | | Format complete . . . . . . . . . : Yes | | Access . . . . . . . . . . . . . : *UPDATE | | Volumes . . . . . . . . . . . . . : SYS | | Text . . . . . . . . . . . . . . : Work horse FSIOP #1 | | | | | | | | | | | | | | Bottom | | Press Enter to continue. | | | | | +--------------------------------------------------------------------------------+ Deleting Network Server Storage Spaces You can delete a storage space using the Delete Network Server Storage
Space (DLTNWSSTG) command. You must unlink the storage space before it
can be deleted. The network server must be varied off before the storage
space can be unlinked. To unlink the storage space, use the Remove Network
Server Storage Link (RMVNWSSTGL) command.
Adding Additional Storage Spaces To add additional storage space for a network server, do the following:
You can link up to sixteen storage spaces to a network server.
![]()
This error message may, however, indicate that your user profile is not authorized to use that amount of disk. If the system has plenty of space to satisfy your request, check your user profile definition to ensure that you are not using more disk space than you are authorized to use. Moving Data from One Storage Space to Another
![]()
ADDNWSSTGL NWSSTG(EDITH) NWSD(SERVER1) [ Top of Page | Previous Page | Next Page | Table of Contents | Index ] |