disk (tpvm mode)

Adds disks to TPVM. Up to three (3) disks can be added. These disks can be added only in the order vdb, vdc, and vdd. When removing disks, they must be removed in the order vdd, vdc, and vdb (in the reverse order in which they were added). When the auto parameter is used, the name of the next disk in the order will be selected and added to the TPVM configuration.

Syntax

disk { name { disk_name | auto } { size disk_size }
disk { name { disk_name | auto } { size disk_size }

Parameters

name
disk_name
Adds a new disk to TPVM. Name of the disk to be added if the auto keyword is not specified.
auto
Assigns a disk name automatically. See the Usage Guidelines.
size disk_size
Size of the disk (any positive integer). See the Usage Guidelines.
no disk name
Removes a disk from TPVM.
disk_name
Name of the disk to be removed. See the Usage Guidelines.

Modes

TPVM Configuration mode

Usage Guidelines

If the auto keyword is not used with the tpvm disk command, the name of the disk must be that of the next disk. For example, if the last disk added to the system is vdb, the name of the next disk must be vdc.

You can add one of the following suffixes to specify disk size:
  • b or B (bytes)
  • k or K (kilobytes)
  • m or M (megabytes)
  • g or G (gigabytes)

If no suffix is used, the default is gigabytes.

The maximum number of disks supported is currently 3 and if the number of allocated disks exceeds this number, the add_disk keyword fails. Also, the total disk capacity for TPVM is limited to 117 gigabytes on the SLX 9540 and SLX 9640, and limited to 68.7 gigabytes on the SLX 9150 and SLX 9250.

If the auto keyword is not used with the remove_disk command, the name of the disk must be that of the last disk added to the system.

Important

Important

If the disk is mounted, it must be unmounted before it is removed from the system. Otherwise, the next added disk will be labeled incorrectly. If this happens, TPVM must be rebooted to recover.

Examples

To add a new disk to TPVM, by either using the auto keyword or specifying a disk name:

SLX (config-tpvm-1)# disk name auto 10g
disk add succeeds

dSLX (config-tpvm-1)# disk name vdd
disk add succeeds
                
Note

Note

The maximum number of disks supported is 3. If the number of allocated disks exceeds this number, the disk add name keywords fail. Also, the total disk capacity for TPVM is limited to 117 gigabytes on the SLX 9540 and SLX 9640, and limited to 68.7 gigabytes on the SLX 9150 and SLX 9250. If you exceed this limit when you create a disk, the disk add name keywords fail.

To remove a disk from TPVM:

SLX (config-tpvm-1)# no disk name auto
'umount' is needed before this disk is removed. Continue? [y/n]: y
                    disk remove succeeds

SLX (config-tpvm-1)# no disk name vdc
'umount' is needed before this disk is removed. Continue? [y/n]: y
disk remove succeeds
                
Important

Important

If the disk is mounted, it must be unmounted before it is removed from the system. Otherwise, the next added disk will be labeled incorrectly. If this happens, TPVM must be rebooted to recover.