Changing subdisk attributes

Warning:

To avoid possible data loss, change subdisk attributes with extreme care.

The vxedit command changes attributes of subdisks and other VxVM objects. To change subdisk attributes, use the following command:

# vxedit [-g diskgroup] set attribute=value ... subdisk ...

The subdisk fields you can change with the vxedit command include the following:

name

Subdisk name.

putiln

Persistent utility field(s) used to manage objects and communication between different commands and Symantec products.

putiln field attributes are maintained on reboot. putiln fields are organized as follows:

  • putil0 is set by VxVM.

  • putil1 is set by other Symantec products such as Storage Foundation Manager (SFM), or the Veritas Enterprise Administrator (VEA) console.

  • putil2 is available for you to set for site-specific purposes.

If a command is stopped in the middle of an operation, these fields may need to be cleaned up.

tutiln

Nonpersistent (temporary) utility field(s) used to manage objects and communication between different commands and Symantec products.

tutiln field attributes are not maintained on reboot. tutiln fields are organized as follows:

  • tutil0 is set by VxVM.

  • tutil1 is set by other Symantec products such as Veritas Enterprise Administrator (VEA).

  • tutil2 is available for you to set for site-specific purposes.

If a command is stopped in the middle of an operation, these fields may need to be cleaned up.

len

Subdisk length. This value is a standard Veritas Volume Manager length number.

See the vxintro(1M) manual page.

You can only change the length of a subdisk if the subdisk is disassociated. You cannot increase the length of a subdisk to the point where it extends past the end of the disk or it overlaps a reserved disk region on another disk.

comment

Comment.

For example, to change the comment field of a subdisk named mydg02-01 in the disk group, mydg, use the following command:

# vxedit -g mydg set comment="subdisk comment" mydg02-01

To prevent a particular subdisk from being associated with a plex, set the putil0 field to a non-null string, as shown in the following command:

# vxedit -g mydg set putil0="DO-NOT-USE" mydg02-01

See the vxedit(1M) manual page.