Solaris Volume Manager Administration Guide

How to Change RAID 1 Volume Options

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

  2. Check Background Information for Changing RAID 1 Volume Options.

  3. Use one of the following methods to change mirror options.

    • From the Enhanced Storage tool within the Solaris Management Console, open the Volumes node, choose the mirror, then choose Action->Properties. Follow the instructions on screen. For more information, see the online help.

    • Use the metaparam command to display and change a mirror's options. For example, to change a mirror to “first”, rather than round-robin, for reading, use the following:


      # metaparam -r first mirror  
      

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

Example—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—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—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.