![]() |
Chapter 8. Managing Storage Spaces This chapter discusses what storage spaces are and how to manage them. The following topics are included:
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. If you have an Integrated PC Server on your AS/400 system that is a NetWare server, OS/400 has function that allows you to work with storage spaces of type *NETWARE. Storage spaces are linked to a server on the AS/400 system. If you are using Enhanced Integration for NetWare without a Integrated PC Server on your AS/400 system, then you can skip this section. 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 9MB and is named server1 where server is the name of the NWSD. This storage space resides in the QUSRSYS library. 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 30MB. It 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 30MB 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. 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 an Enhanced Integration for NetWare NLM".
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. Tip:
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. Do not confuse the OS/2 F: drive and the system volume, which is normally assigned to the F: drive on the user workstation. The users never see the OS/2 F: drive, only the AS/400 administrator sees this. Table 8-1 summarizes the server storage spaces information. Table 8-1. OS/2 and NetWare 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. Enhanced Integration for NetWare users: 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. Once you create NWSDs on AS/400, you assign the storage spaces to NetWare servers. You assign a storage space to a NetWare server by linking the space to an NWSD. For Integrated PC Server users, the Install NetWare Server (INSNTWSVR) command creates and links the NWSD for the SYS: volume. 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. Tip:
Managing Network Server Storage Spaces To establish network server storage spaces:
Integration for NetWare users: 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. Enhanced Integration for NetWare Users:
The monitor job partitions the storage space. You can create and manage volumes using the Work with NetWare Volume (WRKNTWVOL) command. 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 disk segments, 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 must be linked 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. Integration for NetWare Users:
Figure 8-1. Work with Network Server Storage
Spaces Display--Integration for NetWare
+--------------------------------------------------------------------------------+ | Work with Network Server Storage Spaces | | System: SYSAS400 | | 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 | | | +--------------------------------------------------------------------------------+Enhanced Integration for NetWare Users: For storage spaces with a format of *NETWARE, the percent used information displays only if Enhanced Integration for NetWare is installed. The percent used information for *NETWARE storage spaces is initially displayed as an asterisk (*). This is done to reduce the time it takes to initially show the display. Press F5=Refresh to display the percent used information for *NETWARE storage spaces. Some situations prevent retrieving the percent used information for a *NETWARE storage space. For example, AS/400 cannot retrieve the percent used information when the server to which the storage space is linked cannot be contacted. If this happens, the percent used is displayed as an asterisk (*). 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. Note:
Note:
+--------------------------------------------------------------------------------+ | 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 To create the storage space, use 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)Once the storage is linked to the server, vary on the NWSD to start the server. Tip:
After the NetWare server is varied on: Integration for NetWare Users:
Enhanced Integration for NetWare Users:
The Install NetWare Server (INSNTWSVR) command creates one network server storage space and links that storage space to a NetWare NWSD (NWSD). After installation is complete, this storage space contains the NetWare SYS: volume. You can create additional storage spaces and link them to the network server description (NWSD). You must create your storage spaces for the server type *NETWARE, as shown in "Creating and Linking Storage Space--Example". 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. Tip:
Multiple Servers Using a Storage Space To allow multiple servers to access a storage space, link the storage spaces first in update mode to put data on them and then in read-only mode using the ACCESS(*READ) parameter value on the Add Network Server Storage Link (ADDNWSSTGL) command. After the storage space is linked to a NWSD, vary on the server. If you have the Enhanced Integration for NetWare NLM loaded, the NLM automatically partitions your disk. You can then use the WRKNTWVOL command to manage your volumes. If you do not have Enhanced Integration for NetWare, use the NetWare INSTALL utility to create a partition and volumes on the disk. You can then give users access to the disk. To change the way you access a storage space when it is linked and the server is active:
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 Enhanced Integration for NetWare enables you to see the contents of a storage space. See "Accessing the QNetWare File System from AS/400 or Client Access/400". NetWare Partitions and Volumes AS/400 manages NetWare partitions and volumes differently, depending on whether you have Enhanced Integration for NetWare installed. Integration for NetWare Users:
Enhanced Integration for NetWare Users:
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. Note:
Integration for NetWare Users: Figure 8-3. Display Network Server Storage
Space Display--Integration for NetWare
+--------------------------------------------------------------------------------+ | Display Network Server Storage Space | | System: SYSAS400 | | 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. Note:
Figure 8-4. Multiple Links Display
+--------------------------------------------------------------------------------+ | Show Multiple Storage Space Links | | System: SYSAS400 | | Network server storage space . . : NWCDSH | | | | | | Network | | server | | description Drive | | NWHERMAN 11 | | NWCDSH05 9 | | | | | | | +--------------------------------------------------------------------------------+Enhanced Integration for NetWare Users: 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: SYSAS400 | | 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. 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. 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 To move data from one storage space to another:
Footnotes: (1)
The size is 40MB for NetWare 4.10 and 96MB for NetWare 4.11.
[ Top of Page | Previous Page | Next Page | Table of Contents | Index ] |