{"id":281,"date":"2013-07-25T13:13:22","date_gmt":"2013-07-25T18:13:22","guid":{"rendered":"http:\/\/www.hpux.ws\/?p=281"},"modified":"2013-07-25T13:13:22","modified_gmt":"2013-07-25T18:13:22","slug":"replacing-a-bad-vxvm-boot-disk-hp-ux-11-23-pa-risc","status":"publish","type":"post","link":"https:\/\/www.hpux.ws\/?p=281","title":{"rendered":"Replacing a bad vxvm boot disk. HP-UX 11.23 PA-RISC"},"content":{"rendered":"<p>So you lose a boot disk on a vxvm booted system. You hot replace the disk, but now you need to make sure the software mirror is good.<\/p>\n<p>&nbsp;<\/p>\n<p>Lets say for example its rootdisk02<\/p>\n<p>If the disk stayed alive and did not power down you can run vxbrk_rootmirror and cleanly replace the disk.<\/p>\n<p>What do do if the disk powered down?<\/p>\n<p><strong>\/opt\/VRTS\/bin\/vxdiskunsetup -C rootdisk02<\/strong><\/p>\n<p><strong>vxrecover -g rootdg -sb<\/strong><\/p>\n<p>You more than likely end up with a disk named like this that is totally useless:<\/p>\n<p>rootdg.26724.31359<\/p>\n<p><strong>vxdg destroy rootdg.26724.31359\u00a0<\/strong> (on rootdisk02)<\/p>\n<p>&nbsp;<\/p>\n<p>Remove the incomplete mirror copy<\/p>\n<p>&nbsp;<\/p>\n<p><strong>\/etc\/vx\/bin\/vxbrk_rootmir -v rootdisk02<\/strong><\/p>\n<p>&nbsp;<\/p>\n<p>And mirror it back ,<\/p>\n<p><strong>\/opt\/VRTS\/bin\/vxrootmir -v -g rootdg rootdisk02<\/strong><\/p>\n<p>&nbsp;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>So you lose a boot disk on a vxvm booted system. You hot replace the disk, but now you need to make sure the software mirror is good. &nbsp; Lets say for example its rootdisk02 If the disk stayed alive and did not power down you can run vxbrk_rootmirror and cleanly replace the disk. What [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_bbp_topic_count":0,"_bbp_reply_count":0,"_bbp_total_topic_count":0,"_bbp_total_reply_count":0,"_bbp_voice_count":0,"_bbp_anonymous_reply_count":0,"_bbp_topic_count_hidden":0,"_bbp_reply_count_hidden":0,"_bbp_forum_subforum_count":0,"_kadence_starter_templates_imported_post":false,"footnotes":""},"categories":[],"tags":[],"class_list":["post-281","post","type-post","status-publish","format-standard","hentry"],"_links":{"self":[{"href":"https:\/\/www.hpux.ws\/index.php?rest_route=\/wp\/v2\/posts\/281"}],"collection":[{"href":"https:\/\/www.hpux.ws\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.hpux.ws\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.hpux.ws\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.hpux.ws\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=281"}],"version-history":[{"count":0,"href":"https:\/\/www.hpux.ws\/index.php?rest_route=\/wp\/v2\/posts\/281\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.hpux.ws\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=281"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.hpux.ws\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=281"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.hpux.ws\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=281"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}