metaclear/metainit/metaattach or metareplace
I have a failed disk drive on a v440, the target of a disksuite mirror. All partitions Need maintenance. This is at a remote site so and the drives are hotswapable to I want to use cfgadm to remove and replace the drive. I am confused about a few steps because there are different docs indicating different things.
One document says to:
metadb -d /dev/dsk/c1t2d0s7
metaclear
cfgadm -c unconfigure and configure and format/prtvtoc
metainit
metaattach.
Another document indicates:
metadb -d /dev/dsk/c1t2d0s7
Then they say just remove the drive (I'm assuming this is cfgadm) and format/prtvtoc
meatreplace (There was mention that metareplace is used instead of metaclear, metainit, metattach)
This is just replacing the target of a root mirror. There is no striping, etc.
Any suggestions please.
Thank you