I don't actually do it, because I've normally used
veritas volume manager for database applications that
use raw devices, such as informix for example.
So, say you create m50 which is a mirror of two other
devices, m51 and m52 you would do:
metainit d51 1 1 c0t0d0s4
metainit d52 1 1 c2t0d0s4
Then you would setup the mirror as:
metainit d50 -m d51
At this point, you have a 1 way mirror, so add in d52
metattach d50 d52
In order to use the raw device, just refer to
/dev/md/rdsk/m50
in the same way as you would if you were using a non-mirrored raw device - in the example above you would originally have used /dev/rdsk/c0t0d0s4.
Hope this helps.
John John Philcox
Mobile Ventures Limited UK
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.