CL Command Reference - CHGNTWVOL

CL Command List > CHGNTWVOL Reference

Description:

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:

. A maximum of 8 segments per device is allowed. A device can have a maximum of 8 segments from the same volume or combination of different volumes.

. A maximum of 32 segments per volume is allowed. The Create NetWare Volume (CRTNTWVOL) command will create the first segment, CHGNTWVOL can be used up to 31 times to add additional segments.

. A maximum of 64 mounted volumes per server is allowed.

The network server must be active at the time this command is run.

Restrictions: You must have *IOSYSCFG special authority to use this command.


Examples:

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.