| United States-English |
|
|
|
![]() |
HP-UX 11i Version 1.5 Reference Volume 2, Section 1M: System Administration Commands > vvxdisksetup(1M) |
|
NAMEvxdisksetup, vxdiskunsetup — configure a disk for use with the Volume Manager SYNOPSIS/etc/vx/bin/vxdisksetup [-Bi] disk_device_address [ attribute... ] /etc/vx/bin/vxdiskunsetup [-C] disk_device_address.. DESCRIPTIONThe vxdisksetup command configures the disk for use by the Volume Manager. vxdisksetup is called by the vxdiskadd command as part of initial disk configuration. It is not typically necessary to call this command directly. vxdisksetup creates a Volume Manager private configuration region and public region for allocating subdisks. The vxdiskunsetup command reverses the configuration done by vxdisksetup and makes the specified disks unusable by the Volume Manager. vxdiskunsetup can be applied only to disks that are not in use within an imported disk group. The disk_device_address argument passed to vxdisksetup or vxdiskunsetup directs the command to the disk being operated upon. The address should be provided in the form c # t # d #, which define a controller number (c#), a SCSI target ID (t#), and a SCSI logical unit number (d#). Each number is specified in decimal and can be multiple digits. The name must reference a valid disk under the /dev/vx/rdmp directory. The vxdiskunsetup command operates by removing the public and private regions that were created by the last invocation of vxdisksetup on the specified disks. After this operation, those disks are converted from the online to the online invalid state (as displayed by vxdisk list). The command does not operate on disks that are active members of an imported disk group. OPTIONS
ATTRIBUTESYou can specify attributes to affect the layout strategy used by vxdisksetup. CAUTION: Be very careful when using these attributes as they can render a disk unusable by the Volume Manager.
EXAMPLESTo initialize a disk for regular use, enter: /etc/vx/bin/vxdisksetup -i c2t1d0 To initialize a disk for normal use, but set the private region size to 768K instead of the default size of 1 MB, enter: /etc/vx/bin/vxdisksetup -i c2t1d0 privlen=768 Force deconfiguration of disk c0t4d0: /etc/vx/bin/vxdiskunsetup -C c0t4d0 |
||||||||||||||||||||||||||||
|
|||||||||||||||