Where allowed to run: All environments (*ALL) Threadsafe: No |
Parameters Examples Error messages |
The Change NetWare Volume (CHGNTWVOL) command changes a volume on the specified network server. This command can be used to increase the size of the volume (by adding a new volume segment), enable data compression, enable block suballocation, mount or dismount the volume, or change the text description. The following restrictions apply for NetWare volumes:
The network server must be active at the time this command is run.
Restrictions: You must have *IOSYSCFG special authority to use this command.
Top |
Keyword | Description | Choices | Notes |
---|---|---|---|
VOL | Volume | Character value | Required, Key, Positional 1 |
SERVER | Server | Character value | Required, Key, Positional 2 |
SIZE | Size of volume | 1-8000, *SAME, *MAXAVAIL | Optional |
DEVNBR | Device number | Character value | Optional |
SEGNBR | Segment number | 0-14, *ANY | Optional |
DTACPR | Data compression | *SAME, *YES, *NO | Optional |
BLKSUBALC | Block suballocation | *SAME, *YES, *NO | Optional |
MOUNT | Mount | *SAME, *YES, *NO | Optional |
TEXT | Text | Character value, *SAME, *VOL | Optional |
Top |
Top |
Specifies the network server where the volume resides. This network server must be active when this command is executed.
Top |
Specifies the new size of the volume, in megabytes. A new volume segment will be created to increase the volume size by the desired amount. Use the Display NetWare Volume (DSPNTWVOL) command to see the device (drive) on which this volume currently resides.
Top |
The device number from which the storage for the new volume segment is allocated. Use the Display NetWare Volume (DSPNTWVOL) command to see the device (drive) on which this volume currently resides.
Top |
The number of the segment which the storage for the new volume is allocated.
Top |
Specifies whether or not to enable data compression for this volume.
Top |
Specifies whether or not to enable block suballocation for this volume.
Top |
Specifies whether to mount or dismount this volume. Don't mount volumes that are rarely used because each mounted volume uses some server memory. Volumes can be mounted and dismounted while the server is active.
Top |
Specifies the text that briefly describes the volume.
Top |
Example 1: Enabling Commpression on a Network Server
CHGNTWVOL VOL(APPS) SERVER(MKTING) DTACPR(*YES)
This command enables compression for volume APPS which resides on network server MKTING.
Example 2: Increasing Volume Size on a Local Server
CHGNTWVOL VOL(APPS) SERVER(MKTING) SIZE(500) NWSSTG(STGSPACE1)
This command increases the size of the APPS volume to 500 megabytes. This volume is on server MKTING which needs to be local server because NWSSTG is specified. Storage for the new volume segment is allocated from storage space STGSPACE1.
Top |
Top |