How are volumes named?
Volume names begin with the letter "d" followed by a number (for example, d0 as shown in the following table).
What are the default volume names?
Enhanced Storage has 128 default volume names from 0-127. The following table shows some example volume names.
Table 1-4. Example Volume Names
/dev/md/dsk/d0 |
Block volume d0 |
/dev/md/dsk/d1 |
Block volume d1 |
/dev/md/rdsk/d126 |
Raw volume d126 |
/dev/md/rdsk/d127 |
Raw volume d127 |
Can volume names be abbreviated?
Yes. Instead of specifying the full volume name, such as /dev/md/dsk/d1, you can use d1. You can use either the command line interface or Enhanced Storage to name volumes.
What is the maximum number of volumes possible?
1024 (though the default number of volumes is 128). You can increase the number of default volumes by editing the /kernel/drv/md.conf file. See System and Startup Files for more information on this file.
Where are volume names stored?
Like physical slices, volumes have logical names which appear in the file system. volume names have entries in /dev/md/dsk (for block devices) and /dev/md/rdsk (for raw devices).
Can volumes be renamed?
Yes. Enhanced Storage enables you to rename a volume at any time, as long as the name being used is not in use by another volume, and as long as the volume itself is not in use. For a file system, make sure it is not mounted or being used as swap. Other applications using the raw device, such as a database, should have their own way of stopping access to the data.
You can use either Enhanced Storage (using a volume's Information window) or the command line (the metarename(1M) command) to rename volumes.
The metarename(1M) command with the -xoption can "switch" volumes that have a parent-child relationship. Refer toSolaris Volume Manager Administration Guidefor procedures to rename and switch volumes.