{"id":709,"date":"2022-07-19T08:24:23","date_gmt":"2022-07-19T13:24:23","guid":{"rendered":"http:\/\/www.hpux.ws\/?p=709"},"modified":"2022-07-19T08:24:23","modified_gmt":"2022-07-19T13:24:23","slug":"disk-issues-on-hp-ux","status":"publish","type":"post","link":"https:\/\/www.hpux.ws\/?p=709","title":{"rendered":"Disk issues on HP-UX"},"content":{"rendered":"\n<p>So you are having disk problems:<\/p>\n\n\n\n<p>Scenario 1:<\/p>\n\n\n\n<p>You need to build a logical volume on a disk that is in the kernel. You have other issues that will not let you completely replace \/etc\/lvmtab <\/p>\n\n\n\n<p>mv \/etc\/lvmtab \/etc\/lvmtab.save<\/p>\n\n\n\n<p><strong>vgscan -av<\/strong><\/p>\n\n\n\n<p><\/p>\n\n\n\n<p>You need that disk number 967 to change.<\/p>\n\n\n\n<p><\/p>\n\n\n\n<p>ioscan -NfnCdisk shows the offending device files<\/p>\n\n\n\n<p>&nbsp;\/dev\/disk\/disk967<\/p>\n\n\n\n<p>&nbsp;\/dev\/rdisk\/disk967<\/p>\n\n\n\n<p>  64000\/0xfa00\/0x102 <\/p>\n\n\n\n<p>What to do?<\/p>\n\n\n\n<p>Force the system to hand out new device files.<\/p>\n\n\n\n<p><strong>rmsf \/dev\/rdisk\/disk967<\/strong><\/p>\n\n\n\n<p><strong>rmsf \/dev\/disk\/disk967<\/strong><\/p>\n\n\n\n<p><strong>rmsf -H 64000\/0xfa00\/0x102<\/strong><\/p>\n\n\n\n<p><strong>scsimgr -h lun_reset -D \/dev\/rdisk\/disk967<\/strong><\/p>\n\n\n\n<p><strong>insf -e<\/strong><\/p>\n\n\n\n<p>Possible alternative:<\/p>\n\n\n\n<p><strong>vgreduce -f \/dev\/vgname<\/strong><\/p>\n\n\n\n<p>Trick of the day if you are seing flapping on the SAN. Such as a scenario where deices are giong on and ofline.<\/p>\n\n\n\n<p><\/p>\n\n\n\n<p><strong>ioscan -fN | wc -l<\/strong> ## Gets you a count.<\/p>\n\n\n\n<p><\/p>\n\n\n\n<p>drop the wc -l and you get a pretty detailed look at the HBA\/SAN\/disk infrastructure.<\/p>\n\n\n\n<p><strong>ioscan -fN <\/strong><\/p>\n","protected":false},"excerpt":{"rendered":"<p>So you are having disk problems: Scenario 1: You need to build a logical volume on a disk that is in the kernel. You have other issues that will not let you completely replace \/etc\/lvmtab mv \/etc\/lvmtab \/etc\/lvmtab.save vgscan -av You need that disk number 967 to change. ioscan -NfnCdisk shows the offending device files [&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":[7,83,8,1],"tags":[],"class_list":["post-709","post","type-post","status-publish","format-standard","hentry","category-lvm","category-storage","category-sysadmin","category-uncategorized"],"_links":{"self":[{"href":"https:\/\/www.hpux.ws\/index.php?rest_route=\/wp\/v2\/posts\/709"}],"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=709"}],"version-history":[{"count":1,"href":"https:\/\/www.hpux.ws\/index.php?rest_route=\/wp\/v2\/posts\/709\/revisions"}],"predecessor-version":[{"id":712,"href":"https:\/\/www.hpux.ws\/index.php?rest_route=\/wp\/v2\/posts\/709\/revisions\/712"}],"wp:attachment":[{"href":"https:\/\/www.hpux.ws\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=709"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.hpux.ws\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=709"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.hpux.ws\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=709"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}