{"id":199,"date":"2011-07-05T19:17:18","date_gmt":"2011-07-06T00:17:18","guid":{"rendered":"http:\/\/www.hpux.ws\/?p=199"},"modified":"2011-07-05T19:17:18","modified_gmt":"2011-07-06T00:17:18","slug":"vxvm-replace-boot-disk","status":"publish","type":"post","link":"http:\/\/www.hpux.ws\/?p=199","title":{"rendered":"VxVM replace boot disk"},"content":{"rendered":"<p>Create a partition description file<\/p>\n<p>(Need to update the EFI and HPSP size below according to the other root disk partition\u2019s size)<br \/>\nThis examples is where the new disk is disk85. Applies only to HP-UX 11.31 with VxVM as boot drive manager.<\/p>\n<p># vi \/tmp\/efipart<\/p>\n<p>3<br \/>\nEFI 500MB<br \/>\nHPUX 100%<br \/>\nHPSP 400MB<\/p>\n<p>Use the idisk(1M) command to partition the disk according to this file<br \/>\n# idisk -wf \/tmp\/efipart \/dev\/rdisk\/disk85<\/p>\n<p>Write EFI info to the EFI partition on the disk<br \/>\n# mkboot -e -l \/dev\/rdisk\/disk85<\/p>\n<p>Confirm the AUTO file entry is intact It should be\u00a0 &#8220;boot vmunix&#8221;<br \/>\n# efi_cp -d \/dev\/rdisk\/disk85_p1 -u \/EFI\/HPUX\/AUTO \/tmp\/efi; cat \/tmp\/efi<\/p>\n<p>If found any difference, edit \/tmp\/efi file\u00a0 as below to update the entry &#8220;boot vmunix&#8221;<br \/>\n#echo &#8220;boot vmunix &#8221; &gt; \/tmp\/efi<\/p>\n<p>Update auto file<br \/>\n#efi_cp -d \/dev\/rdisk\/disk85_p1 \/tmp\/efi \/EFI\/HPUX\/AUTO<\/p>\n<p>Confirm the AUTO file entry again, It should be\u00a0 &#8220;boot vmunix&#8221;<br \/>\n# efi_cp -d \/dev\/rdisk\/disk85_p1 -u \/EFI\/HPUX\/AUTO \/tmp\/efi; cat \/tmp\/efi<\/p>\n<p><span style=\"text-decoration: underline;\">Initialize the disk as VXVM\u00a0 boot disk<\/span><\/p>\n<p><strong>#### vxdisksetup -iB disk85_p2\u00a0 ((lives in etc vx bin slashes removed due to Word Press error))<br \/>\n<\/strong><\/p>\n<p>Add the disk to the existing rootdg<br \/>\n# vxdg -g rootdg adddisk rootdisk02=disk85_p2<\/p>\n<p>Write Volume Manager volume information to the LABEL file:<br \/>\n# \/opt\/VRTS\/bin\/vxbootsetup rootdisk02<\/p>\n<p>Display the LIF and Volume Manager label information:<br \/>\n# vxvmboot -v \/dev\/rdisk\/disk85<\/p>\n<p>Check the Mirror status\u00a0 ( Each volume should be with two plex )<br \/>\n$ vxprint \u2013htg rootdg |egrep \u2013i \u201c^v|^pl\u201d<\/p>\n<p>&nbsp;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Create a partition description file (Need to update the EFI and HPSP size below according to the other root disk partition\u2019s size) This examples is where the new disk is disk85. Applies only to HP-UX 11.31 with VxVM as boot drive manager. # vi \/tmp\/efipart 3 EFI 500MB HPUX 100% HPSP 400MB Use the idisk(1M) [&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-199","post","type-post","status-publish","format-standard","hentry"],"_links":{"self":[{"href":"http:\/\/www.hpux.ws\/index.php?rest_route=\/wp\/v2\/posts\/199"}],"collection":[{"href":"http:\/\/www.hpux.ws\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/www.hpux.ws\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/www.hpux.ws\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/www.hpux.ws\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=199"}],"version-history":[{"count":0,"href":"http:\/\/www.hpux.ws\/index.php?rest_route=\/wp\/v2\/posts\/199\/revisions"}],"wp:attachment":[{"href":"http:\/\/www.hpux.ws\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=199"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/www.hpux.ws\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=199"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/www.hpux.ws\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=199"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}