voldisksetup(8) — Maintenance
NAME
voldisksetup − Set up a disk for use with the Logical Storage Manager (LSM)
SYNOPSIS
/sbin/voldisksetup diskname [ attribute ... ]
DESCRIPTION
The voldisksetup command is normally called by the voldiskadd command as part of initial disk configuration. It should not normally be necessary to call this command directly.
The voldisksetup utility configures the disk for use by the Logical Storage Manager. Prior to calling voldisksetup, a valid disklabel should be installed on the disk.
The diskname argument directs the command to the disk being added. The diskname argument is a physical address, which is comprised of the following elements: the device mnemonic (rz for SCSI devices, re for EISA RAID devices, and ra for MSCP devices), the LUN for EISA RAID devices (l), the device unit number (n), and the partition identifier (p). The partition identifier is a lowercase letter in the range a to h. You omit the partition identifier to specify an entire disk and include the partition identifier to specify a particular partition on a disk. In other words, the format dd[l]n[nnn] identifies a SCSI disk and the format dd[l]n[nnn]p identifies a SCSI disk partition.
The -i option to voldisksetup causes a Logical Storage Manager initialization operation to be performed. The initialization operation adds a disk header and writes an empty configuration on the disk. This operation destroys any previous Logical Storage Manager database contents on the disk.
Valid attribute arguments are as follows:
publen=length
This attribute represents the length of the public area (used to create subdisks) to create on the disk. This defaults to the size of the disk minus the private area on the disk.
privlen=length
This attribute represents the length of the private area (used for Logical Storage Manager private data) to create on the disk. The default for this area is 512 sectors.
noconfigThis attribute causes no kernel logs or configuration databases to be set up on the disk. The size of the private area is not changed, but it will not contain the normal private data. This attribute is ignored unless the −i option was supplied on the command line.
configThis attribute is the converse of the noconfig attribute and is the default. This attribute is ignored unless the −i option was supplied on the command line.
nconfig=number
This attribute represents the number of configuration copies to be initiialized on the disk. This defaults to 2.
nlog=number
This attribute represents the number of log copies to be initialized on the disk. This defaults to 2.
configlen=length
This attribute represents the length of each configuration copy. The default values are calculated based on the values of nconfig and nlog.
loglen=length
This attribute represents the length of each log copy. The default values are calculated based on the values of nconfig and nlog.