Solaris Volume Manager Administration Guide

Changing Solaris Volume Manager Defaults

The Solaris Volume Manager configuration has the following default values:

The values of total volumes and number of disk sets can be changed if necessary, and the tasks in this section tell you how.

How to Increase the Number of Default Volumes

This task describes how to increase the number of volumes from the default value of 128. If you need to configure more than the default, you can increase this value up to 8192.


Caution – Caution –

If you lower this number at any point, any volume existing between the old number and the new number might not be available, potentially resulting in data loss. If you see a message such as “md: d200: not configurable, check /kernel/drv/md.conf” you must edit the md.conf file and increase the value, as explained in this task.


  1. Check the prerequisites (Prerequisites for Troubleshooting the System).

  2. Edit the /kernel/drv/md.conf file.

  3. Change the value of the nmd field. Values up to 8192 are supported.

  4. Save your changes.

  5. Perform a reconfiguration reboot to build the volume names.


    # reboot -- -r
    

Example—md.conf File

Here is a sample md.conf file that is configured for 256 volumes.


#
#ident "@(#)md.conf   1.7     94/04/04 SMI"
#
# Copyright (c) 1992, 1993, 1994 by Sun Microsystems, Inc.
#
#
#pragma ident   "@(#)md.conf    2.1     00/07/07 SMI"
#
# Copyright (c) 1992-1999 by Sun Microsystems, Inc.
# All rights reserved.
#
name="md" parent="pseudo" nmd=256 md_nsets=4;

How to Increase the Number of Default Disk Sets

This task shows you how to increase the number of disk sets from the default value of 4.


Caution – Caution –

Do not decrease the number of default disk sets if you have already configured disk sets. Lowering this number could make existing disk sets unavailable or unusable.


  1. Check the prerequisites (Prerequisites for Troubleshooting the System).

  2. Edit the /kernel/drv/md.conf file.

  3. Change the value of the md_nsets field. Values up to 32 are supported.

  4. Save your changes.

  5. Perform a reconfiguration reboot to build the volume names.


    # boot -r
    

Example—md.conf File

Here is a sample md.conf file that is configured for five shared disk sets. The value of md_nsets is six, which results in five shared disk sets and the one local disk set.


#
#
#pragma ident   "@(#)md.conf    2.1     00/07/07 SMI"
#
# Copyright (c) 1992-1999 by Sun Microsystems, Inc.
# All rights reserved.
#
name="md" parent="pseudo" nmd=128 md_nsets=6;
# Begin MDD database info (do not edit)
...
# End MDD database info (do not edit)