![]() |
Chapter 18. Managing NetWare Volumes This chapter discusses NetWare volumes. These volumes contain your users' directories and files.
About NetWare Volumes A NetWare volume consists of up to 32 segments, which NetWare automatically numbers from 0 to 31. When a volume is created, it consists of one segment that is the size of the volume as specified by the user. To increase the size of the volume, additional segments are added to the volume. The size of the volume is increased by the size of the segment that is added. NetWare volumes can span multiple devices; that is, segments for a volume
on an AS/400 system can be spread across multiple storage spaces. In other
words, volumes cannot span drives (identified by a drive mapping letter)
but volumes can span disk drives. Segments for a volume on a PC
server can be spread across multiple disks. There can be up to 8 segments
per storage space. The segments can belong to one or more volumes per storage
space or disk.
Working with NetWare Volumes The Work with NetWare Volumes (WRKNTWVOL) command displays the current volumes on the network. You can use this display, shown in Figure 18-1, or you can use the following commands to create, change, delete, and display or print information about the NetWare volumes:
![]() Figure 18-1. Work with NetWare Volumes Display +--------------------------------------------------------------------------------+ | Work with NetWare Volumes | | System: SYSTEMA | | Server . . . . . . . . : PUBS1 | | | | Type options, press Enter. | | 1=Create 2=Change 4=Delete 5=Display 6=Print | | | | Percent | | Opt Volume Size Used Mounted Text | | | | VOL1 5 1 *YES Vol #1 | | VOL2 15 0 *YES Vol #2 | | RPB_VOL 55 30 *YES RPB vol | | SYS 200 20 *YES SYS | | | | | | | | | | Bottom | | Parameters or command | | ===> | |F3=Exit F4=Prompt F5=Refresh F6=Print list F9=Retrieve | |F10=Show Segments F12=Cancel | | | +--------------------------------------------------------------------------------+Press F10 to show the segments available on the NetWare server, as shown in Figure 18-2. Figure 18-2. Work with NetWare Volumes on an Integrated PC Server +--------------------------------------------------------------------------------+ | Work with NetWare Volumes | | System: SYSTEMA | | Server . . . . . . . . : PUBS1 | | | | Type options, press Enter. | | 1=Create 2=Change 4=Delete 5=Display 6=Print | | | | Volume Storage Size | | Opt Assignment Device Space Segment (MB) | | _ SYS 8 WALLACE 0 198 | | _ VOL1 9 WALLACEST2 0 10 | | _ RPB_VOL 9 WALLACEST2 1 5 | | _ *FREE 9 WALLACEST2 2 20 | | _ VOL2 9 WALLACEST2 3 40 | | _ RPB_VOL 9 WALLACEST2 4 22 | | _ *FREE 10 WALLACEST2 1 50 | | _ VOL2 10 WALLACEST3 2 20 | | _ *FREE 10 WALLACEST3 3 18 | | | | Bottom | | Parameters or command | | ===> | | F3=Exit F4=Prompt F5=Refresh F9=Retrieve F10=Show Volumes | | F12=Cancel | +--------------------------------------------------------------------------------+The Work with NetWare Volumes display differs slightly for a remote server in that it does not include the Storage Space column. *FREE segments shown on this display are segments that have not been assigned to a volume. This *FREE space can be assigned to any other volume on any other disk device or storage space, as long as:
If the server is a local Integrated PC Server, the Storage Space column
shows the names of the storage spaces, which contain the segments, associated
with the device.
Creating a NetWare Volume The easiest way to create a volume is to use the WRKNTWVOL command and press F10. Then use option 1 on one of the *FREE segments. However, you can also specify a specific size, or you can specify the default, which is *MAXAVAIL. On the create and change volume commands, you can specify a device number or, if the server is local, you can specify a storage space name. You can also get the device number or storage space name for a local server by using the WRKNWSSTG command. If the server is remote, you must supply a device number. You can either specify a valid segment number, or allow the default *ANY to select the "best fit" segment. The volume is created or extended by using either the specified segment or the first free segment on the device that satisfies (or most closely matches) the requested size. Note also that for a remote NetWare 3.12 server, you cannot use the TEXT parameter to specify descriptive text for the volume. The text is held in an NDS object that corresponds to the volume, and NetWare 3.12 does not support NDS.
![]() +--------------------------------------------------------------------------------+ | Create NetWare Volume (CRTNTWVOL) | | | | Type choices, press Enter. | | | | Volume . . . . . . . . . . . . . VOL > 'user' | | Server . . . . . . . . . . . . . SERVER > 'PUBS1' | | | | Size of volume . . . . . . . . . SIZE *MAXAVAIL | | Device number . . . . . . . . . DEVNBR | | Network server storage space . . NWSSTG | | Segment number . . . . . . . . . SEGNBR *ANY | | Block size . . . . . . . . . . . BLKSIZE *DFT | | Data compression . . . . . . . . DTACPR *YES | | Block suballocation . . . . . . BLKSUBALC *YES | | Mount . . . . . . . . . . . . . MOUNT *YES | | Text . . . . . . . . . . . . . . TEXT *VOL | | | | | | | | Bottom | | F3=Exit F4=Prompt F5=Refresh F12=Cancel F13=How to use this display | | F24=More keys | +--------------------------------------------------------------------------------+ Changing a NetWare Volume When you change a NetWare volume, you can increase the size of the volume by specifying the new size and the segment you want the additional size to be used from. The SIZE parameter indicates the new total size for the volume. For example, if you have a volume that is currently 50MB and you want to increase it by 30MB, specify 80MB for the size. The 30MB is used from the device number (or storage space if the server is local) that you specified. You can change the data compression from *NO to *YES (but you cannot change it from *YES to *NO). You can also change the block suballocation from *NO to *YES (but you cannot change it from *YES to *NO). The volume can be mounted or dismounted by changing the volume. You can also change the text associated with the volume. The easiest way to increase the size of the volume is to use the WRKNTWVOL command and then press F10. Note the device number and size of free space on the *FREE entries. Then use option 2 for the volume that you want to change and specify a device number that has a *FREE segment and a new total size (not exceeding the available free space) that you want the volume to be. You can also change a NetWare volume from the first panel of WRKNTWVOL and also by using the CHGNTWVOL command.
![]() +--------------------------------------------------------------------------------+ | Change NetWare Volume (CHGNTWVOL) | | | | Type choices, press Enter. | | | | Volume . . . . . . . . . . . . . VOL > 'user' | | Server . . . . . . . . . . . . . SERVER > 'PUBS1' | | | | Size of volume . . . . . . . . . SIZE > 80 | | Device number . . . . . . . . . DEVNBR | | Network server storage space . . NWSSTG | | Segment number . . . . . . . . . SEGNBR *ANY | | Data compression . . . . . . . . DTACPR *SAME | | Block suballocation . . . . . . BLKSUBALC *SAME | | Mount . . . . . . . . . . . . . MOUNT *SAME | | Text . . . . . . . . . . . . . . TEXT *SAME | | | | | | | | | | | | Bottom | | F3=Exit F4=Prompt F5=Refresh F12=Cancel F13=How to use this display | | F24=More keys | +--------------------------------------------------------------------------------+ Displaying NetWare Volumes To display a volume, select option 5 from the Work with NetWare volumes display or use the Display NetWare Volume (DSPNTWVOL) command. Press Enter to display the volume segments on the volume. In Figure 18-5 notice that the NDS volume name (1) is shown with a name relative to your context in the NDS tree. If you change the context (the Change NDS Context (CHGNDSCTX) command), the NDS volume name changes to reflect the new position. For example the following command: CHGNDSCTX NDSCTX('.PROG.ROCH.IBM') NDSTREE(BASE_TREE)changes the context and volume displayed to: Current context . . . . . . . . . : PROG.ROCH.IBM NDS volume name . . . . . . . . . : SERVER01_SYSFigure 18-5. Display NetWare Volume Display +--------------------------------------------------------------------------------+ | Display NetWare Volume | | System: SYSTEMA | | Volume . . . . . . . . . . . . . : SYS | | Server . . . . . . . . . . . . . : SERVER01 | | | | Current context . . . . . . . . . : ROOT | | | | | | | | NDS volume name . . . . . . . . . : SERVER01_SYS.PROG.ROCH.IBM (1) | | Size in megabytes . . . . . . . . : 200 | | Number of segments . . . . . . . : 1 | | Percent used . . . . . . . . . . : 20 | | Mounted . . . . . . . . . . . . . : *YES | | Data compression . . . . . . . . : *YES | | Block suballocation . . . . . . . : *YES | | More... | | Press Enter to continue. | | | | F3=Exit F6=Print F12=Cancel | +--------------------------------------------------------------------------------+ +--------------------------------------------------------------------------------+ | Display NetWare Volume | | System: SYSTEMA | | Block size . . . . . . . . . . . : 32 | | Text . . . . . . . . . . . . . . : SYS | | | | | | | | | | | +--------------------------------------------------------------------------------+ +--------------------------------------------------------------------------------+ | Display NetWare Volume | | System: SYSTEM136| | Volume . . . . . . . . : SYS | | Server . . . . . . . . : SERVER01 | | | | -------Volume segments------- | | Segment | | Drive Number Size | | 0 0 200 | | | +--------------------------------------------------------------------------------+ To display the file system contents of a volume, use the Work with Object
Links (WRKLNK) command. For details see "Integrated
File System Commands".
[ Top of Page | Previous Page | Next Page | Table of Contents | Index ] |