The Solaris Volume Manager configuration has the following default values:
128 volumes per disk set
4 disk sets
State database replica maximum size of 8192 blocks
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.
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.
Check the prerequisites (Prerequisites for Troubleshooting the System).
Change the value of the nmd field. Values up to 8192 are supported.
Save your changes.
Perform a reconfiguration reboot to build the volume names.
# reboot -- -r |
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; |
This task shows you how to increase the number of disk sets from the default value of 4.
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.
Check the prerequisites (Prerequisites for Troubleshooting the System).
Edit the /kernel/drv/md.conf file.
Change the value of the md_nsets field. Values up to 32 are supported.
Save your changes.
Perform a reconfiguration reboot to build the volume names.
# boot -r |
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) |