{"id":298,"date":"2009-06-29T12:25:54","date_gmt":"2009-06-29T12:25:54","guid":{"rendered":"http:\/\/asgaur.com\/wp\/?p=298"},"modified":"2009-06-29T12:25:54","modified_gmt":"2009-06-29T12:25:54","slug":"veritas-mirroring-the-root-disk","status":"publish","type":"post","link":"http:\/\/www.asgaur.com\/wp\/veritas-mirroring-the-root-disk\/","title":{"rendered":"Veritas: Mirroring The Root Disk"},"content":{"rendered":"<p><strong>Create the mirrors<\/strong><br \/>\n1.\tGive veritas control of a disk to create the mirror on<br \/>\n<code>\/usr\/lib\/vxvm\/bin\/vxdisksetup -i solaris-disk-name<\/code><\/p>\n<p>2.\tAdd the new disk to the rootdg disk group and give it a veritas name<br \/>\n<code>vxdg -g rootdg adddisk rootmirror=solaris-disk-name<\/code><br \/>\n3.\tMirror the root partition<br \/>\n<code>\/etc\/vx\/bin\/vxrootmir rootmirror<\/code><\/p>\n<p><!-- Adsense block #910 not displayed since it exceed the limit of 3 --><\/p>\n<p>4.\tMirror the swap space<br \/>\n\t<code>vxassist -g rootdg mirror swapvol rootmirror<\/code><br \/>\n5.\tMirror the var volume<br \/>\n\t<code>vxassist -g rootdg mirror var rootmirror<\/code><br \/>\n6.\tMirror the opt volume<br \/>\n\t<code>vxassist -g rootdg mirror opt rootmirror<\/code><br \/>\n<strong>Ensure that each volume on the rootdisk is tied to a hard partition<\/strong><br \/>\n1.\tIdentify which hard partition on the disk you wish to tie volume to by checking out \/etc\/vfstab.  See what lines volume manager commented out.<\/p>\n<p>2.\tIdentify which subdisk each volume is on that you want to tie back to the hard partition<\/p>\n<p>3.\tRun the command to link the subdisk to a hard partition<br \/>\na.\tfor swap <br \/>\n<code>vxmksdpart &#8211;g rootdg subdisk hard-partition 0x03 0x01<\/code><br \/>\nb.\tfor var <br \/>\n<code>vxmksdpart &#8211;g rootdg subdisk hard-partition 0x07 0x00<\/code><br \/>\nc.\tfor opt<br \/>\n<code>vxmksdpart &#8211;g rootdg subdisk hard-partition 0x00 0x00<\/code><br \/>\nd.\tfor \/<br \/>\n<code>vxmksdpart &#8211;g rootdg subdisk hard-partition 0x02 0x00<\/code><\/p>\n<div class=\"item_footer\">\n<p><small><a href=\"http:\/\/asgaur.com\/asgaur.php\/2009\/06\/29\/veritas-mirroring-the-root-disk\" target=\"_blank\" rel=\"noopener\">Original post<\/a> blogged on <a href=\"http:\/\/b2evolution.net\/\" target=\"_blank\" rel=\"noopener\">b2evolution<\/a>.<\/small><\/p>\n<\/div>\n","protected":false},"excerpt":{"rendered":"<p>Create the mirrors 1. Give veritas control of a disk to create the mirror on \/usr\/lib\/vxvm\/bin\/vxdisksetup -i solaris-disk-name 2. Add the new disk to the rootdg disk group and give it a veritas name vxdg -g rootdg adddisk rootmirror=solaris-disk-name 3. Mirror the root partition \/etc\/vx\/bin\/vxrootmir rootmirror 4. Mirror the swap space vxassist -g rootdg mirror [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"rank_math_lock_modified_date":false,"site-sidebar-layout":"default","site-content-layout":"","ast-site-content-layout":"","site-content-style":"default","site-sidebar-style":"default","ast-global-header-display":"","ast-banner-title-visibility":"","ast-main-header-display":"","ast-hfb-above-header-display":"","ast-hfb-below-header-display":"","ast-hfb-mobile-header-display":"","site-post-title":"","ast-breadcrumbs-content":"","ast-featured-img":"","footer-sml-layout":"","theme-transparent-header-meta":"","adv-header-id-meta":"","stick-header-meta":"","header-above-stick-meta":"","header-main-stick-meta":"","header-below-stick-meta":"","astra-migrate-meta-layouts":"default","ast-page-background-enabled":"default","ast-page-background-meta":{"desktop":{"background-color":"var(--ast-global-color-4)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"tablet":{"background-color":"","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"mobile":{"background-color":"","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""}},"ast-content-background-meta":{"desktop":{"background-color":"var(--ast-global-color-5)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"tablet":{"background-color":"var(--ast-global-color-5)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"mobile":{"background-color":"var(--ast-global-color-5)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""}},"footnotes":""},"categories":[1],"tags":[],"class_list":["post-298","post","type-post","status-publish","format-standard","hentry","category-uncategorized"],"_links":{"self":[{"href":"http:\/\/www.asgaur.com\/wp\/wp-json\/wp\/v2\/posts\/298","targetHints":{"allow":["GET"]}}],"collection":[{"href":"http:\/\/www.asgaur.com\/wp\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/www.asgaur.com\/wp\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/www.asgaur.com\/wp\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/www.asgaur.com\/wp\/wp-json\/wp\/v2\/comments?post=298"}],"version-history":[{"count":0,"href":"http:\/\/www.asgaur.com\/wp\/wp-json\/wp\/v2\/posts\/298\/revisions"}],"wp:attachment":[{"href":"http:\/\/www.asgaur.com\/wp\/wp-json\/wp\/v2\/media?parent=298"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/www.asgaur.com\/wp\/wp-json\/wp\/v2\/categories?post=298"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/www.asgaur.com\/wp\/wp-json\/wp\/v2\/tags?post=298"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}