The LV[], FS[] and FS_MOUNT_OPT[] arrays are used the same as they are for LVM. LV[] defines the logical volumes, FS[] defines the mount points, and FS_MOUNT_OPT[] defines any mount options. For example lets say
we have two volumes defined in each of the two disk groups from
above, lvol101 and lvol102, and lvol201 and lvol202. These are mounted on /mnt_dg0101 and /mnt_dg0102, and /mnt_dg0201 and /mnt_dg0202, respectively.
/mnt_dg0101 and /mnt_dg0201 are both mounted read only. The LV[], FS[] and FS_MOUNT_OPT[] entries for these would be as follows:
LV[0]="/dev/vx/dsk/dg01/lvol101" LV[1]="/dev/vx/dsk/dg01/lvol102" LV[2]="/dev/vx/dsk/dg02/lvol201" LV[3]="/dev/vx/dsk/dg02/lvol202" FS[0]="/mnt_dg0101" FS[1]="/mnt_dg0102" FS[2]="/mnt_dg0201" FS[3]="/mnt_dg0202" FS_MOUNT_OPT[0]="-o ro" FS_MOUNT_OPT[1]="-o rw" FS_MOUNT_OPT[2]="-o ro" FS_MOUNT_OPT[3]="-o rw"
|