The file is empty by default. The file is only used when metainit command is issued by the administrator. It is configured manually. It can be populated by appending the output of metastat -p. It can be used to recreate all the metadevices in one go. Best used in recovery of SVM configurations.
|Published (Last):||13 October 2010|
|PDF File Size:||1.86 Mb|
|ePub File Size:||16.79 Mb|
|Price:||Free* [*Free Regsitration Required]|
The file is empty by default. The file is only used when metainit command is issued by the administrator. It is configured manually. It can be populated by appending the output of metastat -p. It can be used to recreate all the metadevices in one go. Best used in recovery of SVM configurations. For example metainit -a to create all metadevices mentioned in md. DO NOT use it on root file system though.
Do not edit this file manually. This file can also be used to recover the SVM configuration If your system loses the information maintained in the state database. Again do not edit this file manually. The file can be edited to change the default values for various such parameters.
Metadb related command Metadb command syntax : metadb -help usage: metadb [-s setname] -a [options] mddbnnn metadb [-s setname] -a [options] device W or unknown indicates a failed replica. Creating different layouts 1. Creating a concatenation from slice S2 of 3 disks : metainit d1 3 1 c0t1d0s2 1 c1t1d0s2 1 c2t1d0s2 d1 - the metadevice 3 - the number of components to concatenate together 1 - the number of devices for each component.
Creating a stripe from slice S2 of 3 disks : metainit d2 1 3 c0t1d0s2 c1t1d0s2 c2t1d0s2 -i 16k d2 - the metadevice 1 - the number of components to concatenate 3 - the number of devices in each stripe.
Creating three, 2 disk concatenation and stripe them together : metainit d3 3 2 c0t1d0s2 c1t1d0s2 -i 16k 2 c3t1d0s2 c4t1d0s2 -i 16k 2 c6t1d0s2 c7t1d0s2 -i 16k d3 - the meatadevice 3 - the number of stripes 2 - the number of disk slices in each stripe -i 16k - the stripe segment size. In case of mirroring root partition you need to follow few more steps. So when there is a need of hot spare disk smallest capable disk will be used from the host spare pool to replace the failed one.
Use the -s [metaset] option when using the commands on the metasets.
Solaris Volume Manager (SVM) command line reference (Cheat Sheet)
JoJogrel When the volume is started other plexes can sync from this. For my convenience I will be using OS native disk scheming. You May Also Like. You can use enclosure based naming scheme if you prefer that. Vxvm cheat sheet brought back on line the plex goes into a stale state. But the last disk can not be removed.
VXVM (Veritas Volume Manager) Training