Solaris Volume Manager Administration Guide

ProcedureHow to Change RAID-1 Volume Options

Before You Begin

Check About RAID-1 Volume Options.

  1. Make sure that you have root privilege and that you have a current backup of all data.

  2. Use one of the following methods to change the RAID-1 options.

    • From the Enhanced Storage tool within the Solaris Management Console, open the Volumes node. Choose the mirror. Then, choose Action⇒Properties. Follow the onscreen instructions. For more information, see the online help.

    • Use the metaparam command to display and change a mirror's options.


      # metaparam [mirror options] mirror
      

      See About RAID-1 Volume Options for a description of mirror options. Also, see the metaparam(1M) man page.


Example 11–13 Changing a RAID-1 Volume's Read Policy


# metaparam -r geometric d30
# metaparam d30
d30: mirror current parameters are:
    Pass: 1
    Read option: geometric (-g)
    Write option: parallel (default)

In this example, the -r option changes a mirror's read policy to geometric.



Example 11–14 Changing a RAID-1 Volume's Write Policy


# metaparam -w serial d40
# metaparam d40
d40: mirror current parameters are:
    Pass: 1
    Read option: roundrobin (default)
    Write option: serial (-S)

In this example, the -w option changes a mirror's write policy to serial.



Example 11–15 Changing a RAID-1 Volume's Pass Number


# metaparam -p 5 d50
# metaparam d50
d50: mirror current parameters are:
    Pass: 5
    Read option: roundrobin (default)
    Write option: parallel (default)

In this example, the -p option changes a mirror's pass number to 5.