The metadb command is used to administer the replica database - the replica database is used by the software to know where everything is (a simple explanation).
metadb - create and delete replicas of the metadevice state
You should read the documentation on setting up the replica database and other components - Normally you can find it on-line at docs.sun.com but I could not reach it to add the specific link.
Quote:
Is it necessary to add two replicas on the same slice on the new disks, as made before on the others disks ?
If you have replicas already (before attempting to set up the stripe) then that is all you need as long as you followed the 'rules' for setting up replicas. You don't need more replicas just because you are setting up a new volume/mirror/stripe.
Quote:
Is it necessary to add the -f option to add replicas ?
No, as mentioned in the man page:
-f The -f option is used to create the initial state data-
base. It is also used to force the deletion of replicas
below the minimum of two. (The -a and -f options should
be used together only when no state databases exist.)
Quote:
Is it necessary to reboot after creating replicas ?
I could not find an answer on this (and don't have a system to test it on). When creating the replica (while building a system) a reboot is done because we create mirrors of the OS. I believe that a reboot IS needed when first setting up, but not afterwards (if you added more replicas).