Installation guide

# /sbin/vol-startup
8.6.2 Setting up LSM
If you are setting up LSM for the first time, you can use the volsetup
utility to initialize LSM and create the LSM configuration database for the
first time. Then, use the voldiskadd utility to add more disks into LSM.
This is the simplest method to set up an LSM configuration.
The volsetup utility automatically modifies disk labels, initializes disks
for LSM, creates the default disk group, rootdg, and configures disks into
the rootdg disk group. You invoke the volsetup utility only once. To later
add more disks, use the voldiskadd utility.
The volsetup utility prompts you to estimate how many disks will be
managed by LSM. The utility uses the estimate to define optimal values for
the private region size (in sectors), and the number of configuration and log
copies per disk.
Follow these steps to use volsetup:
1. If you are in single-user mode, set the host name for your system
before initializing LSM.
2. Execute the /sbin/volsetup interactive utility by entering the
following command:
# /sbin/volsetup rz1
In this example, the rz1 disk is used to initialize the rootdg disk
group. If you do not give the name of a disk, LSM prompts you for one.
_____________________ Note _____________________
When you are first setting up LSM, do not include the boot
disk in the disks you specify to volsetup. After you
initialize LSM, you can encapsulate the root and swap
partitions and add them to the rootdg disk group or
another disk group.
3. The volsetup utility modifies the /etc/inittab file. When the
system reboots, LSM is started automatically by the initialization
process when it reads the LSM entries in the inittab file. (See
inittab
(4) for more information.)
4. The LSM /sbin/lsmbstartup script starts the LSM vold daemon
and the voliod error demon. After running the volsetup procedure,
check that the vold daemon is running.
Administering the Logical Storage Manager 8–15