{"id":389,"date":"2015-07-24T11:45:28","date_gmt":"2015-07-24T16:45:28","guid":{"rendered":"http:\/\/www.hpux.ws\/?p=389"},"modified":"2015-10-12T13:37:39","modified_gmt":"2015-10-12T18:37:39","slug":"single-user-vg00-reconfiguration-for-a-san-boot-hp-ux-system","status":"publish","type":"post","link":"http:\/\/www.hpux.ws\/?p=389","title":{"rendered":"Single user vg00 reconfiguration for a san boot hp-ux system"},"content":{"rendered":"<p>San boot system.<\/p>\n<p>HBA has to be replaced.<\/p>\n<p>Then you have to boot single user mode to re-establish all your paths.<\/p>\n<p>Procedure authored by my colleague Mahesh Koduru<\/p>\n<p>Before you start make sure you have a current map file hosted on root filesystem.<\/p>\n<p>&#8220;Reboot the server and follow these steps :<br \/>\nInterrupt the boot and boot the system in maintenance mode.<\/p>\n<p>    fs0:\\EFI\\HPUX> hpux                  <\/p>\n<p>    HPUX> boot -lm \u2013lq vmunix This will bring the System into Maintance mod        <\/p>\n<p>    #vgdisplay vg00   The VG should be in deactivated Mod          <\/p>\n<p>    #ll \/dev\/*\/group   Collect the Group file            <\/p>\n<p>    #vgexport -p -s -m vg00.map \/dev\/vg00 Keep the Map file in present directory , ie root      <\/p>\n<p>    # ll vg00.map<br \/>\n    #vgexport -v \/dev\/vg00                  <\/p>\n<p>    #mkdir -m 755 \/dev\/vg00<br \/>\n    #mknod \/dev\/vg00\/group c 64 0x030000  ##This is an example your major\/minor number may vary<br \/>\n    #vgimport -s -N -m vg00.map \/dev\/vg00         ## The -N is B.11.31 only to convert to agile storage<br \/>\n    #vgchange -a y vg00<br \/>\n    #mount -a Mount only Root filesystems              <\/p>\n<p>    #setboot   Check and correct setboot issues            <\/p>\n<p>    #<strong>lvlnboot -v vg00 <\/strong>Check and correct lvlnboot issues , lvrmboot command can be used if needed    <\/p>\n<p>    #\/usr\/sbin\/lvlnboot -v<br \/>\n# lvlnboot -r \/dev\/vg00     Execute for fixing Boot Labels<br \/>\n    # lvlnboot -r \/dev\/vg00\/lvol3<br \/>\n    # lvlnboot -b \/dev\/vg00\/lvol1<br \/>\n    # lvlnboot -s \/dev\/vg00\/lvol2<br \/>\n    #  lvlnboot -d \/dev\/vg00\/lvol2<br \/>\n    #  lvlnboot -v<br \/>\n    # lvlnboot -R                  <\/p>\n<p>Note: Comment the swap in fstab and then issue below command.<br \/>\n    # shutdown -ry 0<br \/>\n&#8221;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>San boot system.<\/p>\n<p>HBA has to be replaced.<\/p>\n<p>Then you have to boot single user mode to re-establish all your paths.<\/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":[28,43,7,83,8],"tags":[],"class_list":["post-389","post","type-post","status-publish","format-standard","hentry","category-capacity-planning","category-hardware","category-lvm","category-storage","category-sysadmin"],"_links":{"self":[{"href":"http:\/\/www.hpux.ws\/index.php?rest_route=\/wp\/v2\/posts\/389"}],"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=389"}],"version-history":[{"count":4,"href":"http:\/\/www.hpux.ws\/index.php?rest_route=\/wp\/v2\/posts\/389\/revisions"}],"predecessor-version":[{"id":395,"href":"http:\/\/www.hpux.ws\/index.php?rest_route=\/wp\/v2\/posts\/389\/revisions\/395"}],"wp:attachment":[{"href":"http:\/\/www.hpux.ws\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=389"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/www.hpux.ws\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=389"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/www.hpux.ws\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=389"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}