Solstice DiskSuite 4.2.1 User's Guide

How to Increase the Number of Default Metadevices (Command Line)

This task describes how to increase the number of metadevices from the default value of 128.


Caution - Caution -

If you lower this number, any metadevice existing between the old number and the new number may not be available, potentially resulting in data loss. If you see a message such as "md: d20: not configurable, check /kernel/drv/md.conf" you will need to edit the md.conf file as explained in this task.


  1. After checking the prerequisites ("Prerequisites for Troubleshooting the System") and the preliminary information ("Preliminary Information for Metadevices"), edit the /kernel/drv/md.conf file.

  2. Change the value of the nmd field. Values are supported up to 1024.

  3. Save your changes.

  4. Perform a reconfiguration reboot to build the metadevice names.


    # boot -r
    

Example -- md.conf File

Here is a sample md.conf file configured for 256 metadevices.


#
#ident "@(#)md.conf   1.7     94/04/04 SMI"
#
# Copyright (c) 1992, 1993, 1994 by Sun Microsystems, Inc.
#
name="md" parent="pseudo" nmd=256 md_nsets=4;