Monitoring Disk Resources
Rules for Using the EMS Disk Monitor with MC/ServiceGuard
4.Use the following commands to create the volume group itself with the first link assigned to a physical volume group called bus1and the second link assigned to a physical volume group called bus2:
#vgcreate
#vgextend
LVM will now recognize the I/O channel represented by /dev/dsk/c0t15d0 as the primary link to the disk; if the primary link fails, LVM will automatically switch to the alternate I/O channel represented by /dev/dsk/c1t3d0.
Creating Logical Volumes
Use the following command to create logical volumes (the example is for /dev/vgdatabase):
#lvcreate
This command creates a 120 MB mirrored volume named lvol1. The name is supplied by default, since no name is specified in the command. The
NOTE | If you are using disk arrays in RAID 1 or RAID 5 mode, omit the |
Chapter 2 | 45 |