volset

Purpose

Sets attributes of an Oracle ADVM volume in mounted disk groups.

Syntax and Description

volset -G diskgroup [ --usagestring string]
        [--mountpath  mount_path ]
        [--primary {hot|cold}] [--secondary {hot|cold}] volume

Table 15-8 describes the options for the volset command.


Table 15-8 Options for the volset command

Option Description

-G diskgroup

Name of the disk group containing the volume.

--usagestring string

Optional usage string to tag a volume which can be up to 30 characters. This string is set to ACFS when the volume is attached to an Oracle ACFS file system and should not be changed.

--mountpath mount_path

Optional string to tag a volume with its mount path string which can be up to 1024 characters. This string is set when the file system is mounted and should not be changed.

--primary {hot|cold}

Intelligent Data Placement specification for primary extents, either hot or cold region.

--secondary {hot|cold}

Intelligent Data Placement specification for secondary extents, either hot or cold region.

volume

Name of the volume.


When running the mkfs command to create a file system, the usage field is set to ACFS and mountpath field is reset to an empty string if it has been set. The usage field should remain at ACFS.

When running the mount command to mount a file system, the mountpath field is set to the mount path value to identify the mount point for the file system. After the value is set by the mount command, the mountpath field should not be updated.

Examples

The following is an example of a volset command that sets the usage string for a volume that is not associated with a file system.

Example 15-7 Using the ASMCMD volset command

ASMCMD [+] > volset -G data --usagestring 'no file system created' volume1