Cluster Hardware and Software Preparation 85
the journaled file system log (jfslog) is a logical volume that requires a unique
name in the cluster.
To make sure that logical volumes have unique names, rename the logical
volume associated with the file system and the corresponding jfslog logical
volume. Use a naming scheme that indicates the logical volume is associated
with a certain file system. For example, lvsharefs could name a logical
volume for the /sharefs file system.
1. Use the lsvg -l volume_group_name command to determine the name of the
logical volume and the log logical volume (jfslog) associated with the
shared volume groups. In the resulting display, look for the logical volume
name that has type jfs. This is the logical volume. Then look for the logical
volume name that has type jfslog. This is the log logical volume.
2. Use the smit chlv fastpath to rename the logical volume and the log
logical volume.
3. After renaming the jfslog or a logical volume, check the /etc/filesystems
file to make sure the dev and log attributes reflect the change. Check the
log attribute for each file system in the volume group, and make sure that
it has the new jfslog name. Check the dev attribute for the logical volume
that you renamed, and make sure that it has the new logical volume name.
Adding Copies to Logical Volume on the Source Node
1. Use the smit mklvcopy fastpath to add copies to a logical volume. Add
copies to both the jfslog log logical volume and the logical volumes in the
shared file systems. To avoid space problems, first mirror the jfslog log
logical volume and then the shared logical volumes.
The copies should reside on separate disks that are controlled by different
disk adapters and are located in separate drawers or units, if possible.
See Chapter 3.4.3, “Mirroring Strategies” on page 86 for more information.
2. Verify the number of logical volume copies by entering: lsvg -l
volume_group_name. In the resulting display, locate the line for the logical
volume for which you just added copies. Notice that the number in the
physical partitions column is
x
times the number in the logical partitions
column, where
x
is the number of copies.
3. To verify the placement of logical volume copies, enter: lspv -l hdiskx
,
where hdiskx is the name of each disk to which you assigned copies.
These steps do not apply to RAID devices, which provide their own
mirroring of logical volumes.
Note