Chapter 7. Volumes 303
7.8.9  Volume delete protection
To prevent active volumes or host mappings from being deleted inadvertently, the system 
supports a global setting that prevents these objects from being deleted if the system detects 
recent I/O activity to these objects.
Use the chsystem command to set the time interval for which the volume must be idle before it 
can be deleted from the system. This setting affects the following commands: 
/SM590000rmvdisk
/SM590000rmvolume
/SM590000rmvdiskcopy
/SM590000rmvdiskhostmap
/SM590000rmmdiskgrp
/SM590000rmhostiogrp
/SM590000rmhost
/SM590000rmhostport
These commands fail unless the volume was idle for the specified interval or the -force 
parameter was used.
To enable volume protection by setting the required inactivity interval, issue the following 
command:
svctask chsystem -vdiskprotectionenabled yes -vdiskprotectiontime 60
The -vdiskprotectionenabled yes parameter enables volume protection and the 
-vdiskprotectiontime parameter specifies for how long a volume must be inactive (in 
minutes) before it can be deleted. In this example, volumes can only be deleted if they were 
inactive for over 60 minutes. 
To disable volume protection, issue the following command:
svctask chsystem -vdiskprotectionenabled no
7.8.10  Expanding a volume
Expanding a volume presents a larger capacity disk to your operating system. Although this 
expansion can be easily performed by using IBM Spectrum Virtualize, you must ensure that 
your operating system supports expansion before this function is used.
Assuming that your operating system supports expansion, you can use the expandvdisksize 
command to increase the capacity of a volume, as shown in Example 7-19.
Example 7-19   The expandvdisksize command
IBM_2145:ITSO_CLUSTER:superuser>expandvdisksize -size 5 -unit gb volume_C
This command expands the volume_C volume (which was 35 GB) by another 5 GB to give it 
a total size of 40 GB.
To expand a thin-provisioned volume, you can use the -rsize option, as shown in 
Example 7-20 on page 304. This command changes the real size of the volume_B volume to a 
real capacity of 55 GB. The capacity of the volume is unchanged.