{"id":300,"date":"2014-02-26T15:42:35","date_gmt":"2014-02-26T20:42:35","guid":{"rendered":"http:\/\/www.hpux.ws\/?p=300"},"modified":"2014-02-26T15:43:44","modified_gmt":"2014-02-26T20:43:44","slug":"scsimgr-task-removing-a-lun","status":"publish","type":"post","link":"http:\/\/www.hpux.ws\/?p=300","title":{"rendered":"scsimgr task: removing a LUN"},"content":{"rendered":"<p>scsimgr is the tool of choice for getting rid of storage that is in the HP-UX kernel and the underlying storage has been pulled by your storage administrator. In this case the lun has been marked as FAILED.<\/p>\n<p>HP-UX 11.31, any Operating Environment, though these tasks go easier if the OE is more current.<\/p>\n<p><span style=\"color: #000000;\"><span style=\"font-family: Calibri;\">scsimgr lun_map&gt; \/tmp\/lun_map.out<\/span><\/span><\/p>\n<p><span style=\"color: #000000; font-family: Courier New; font-size: small;\">\u00a0<\/span><\/p>\n<p><span style=\"font-family: Courier New;\"><span style=\"color: #000000;\">\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 <\/span><span style=\"color: #000000;\">LUN PATH INFORMATION FOR LUN : \/dev\/rdisk\/disk3436<\/span><\/span><\/p>\n<p><span style=\"color: #000000; font-family: Courier New; font-size: small;\">\u00a0<\/span><\/p>\n<p><span style=\"color: #000000;\">Total number of LUN paths<span style=\"font-family: Courier New;\">\u00a0\u00a0\u00a0\u00a0 <\/span><\/span><span style=\"color: #000000;\">= 2<\/span><\/p>\n<p><span style=\"color: #000000;\">World Wide Identifier(WWID)<span style=\"font-family: Courier New;\">\u00a0\u00a0\u00a0 <\/span><\/span><span style=\"color: #000000;\">= 0x60000970000192605240533039434139<\/span><\/p>\n<p><span style=\"color: #000000; font-family: Courier New; font-size: small;\">\u00a0<\/span><\/p>\n<p><span style=\"color: #000000;\">LUN path : lunpath2275<\/span><\/p>\n<p><span style=\"color: #000000;\">Class<span style=\"font-family: Courier New;\">\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 <\/span><\/span><span style=\"color: #000000;\">= lunpath<\/span><\/p>\n<p><span style=\"color: #000000;\">Instance<span style=\"font-family: Courier New;\">\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 <\/span><\/span><span style=\"color: #000000;\">= 2275<\/span><\/p>\n<p><span style=\"color: #000000;\">Hardware path<span style=\"font-family: Courier New;\">\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 <\/span><\/span><span style=\"color: #000000;\">= 0\/0\/0\/5\/0\/0\/1.0x500009720851e1ad.0x446e000000000000<\/span><\/p>\n<p><span style=\"color: #000000;\">SCSI transport protocol<span style=\"font-family: Courier New;\">\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 <\/span><\/span><span style=\"color: #000000;\">= fibre_channel<\/span><\/p>\n<p><span style=\"color: #000000;\">State<span style=\"font-family: Courier New;\">\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 <\/span><\/span><span style=\"color: #000000;\">= UNOPEN<\/span><\/p>\n<p><span style=\"color: #000000;\">Last Open or Close state<span style=\"font-family: Courier New;\">\u00a0\u00a0\u00a0\u00a0\u00a0 <\/span><\/span><span style=\"color: #000000;\">= FAILED<\/span><\/p>\n<p><span style=\"color: #000000; font-family: Courier New; font-size: small;\">\u00a0<\/span><\/p>\n<p><span style=\"color: #000000;\">LUN path : lunpath2274<\/span><\/p>\n<p><span style=\"color: #000000;\">Class<span style=\"font-family: Courier New;\">\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 <\/span><\/span><span style=\"color: #000000;\">= lunpath<\/span><\/p>\n<p><span style=\"color: #000000;\">Instance<span style=\"font-family: Courier New;\">\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 <\/span><\/span><span style=\"color: #000000;\">= 2274<\/span><\/p>\n<p><span style=\"color: #000000;\">Hardware path<span style=\"font-family: Courier New;\">\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 <\/span><\/span><span style=\"color: #000000;\">= 0\/0\/0\/8\/0\/0\/1.0x500009720851e191.0x446e000000000000<\/span><\/p>\n<p><span style=\"color: #000000;\">SCSI transport protocol<span style=\"font-family: Courier New;\">\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 <\/span><\/span><span style=\"color: #000000;\">= fibre_channel<\/span><\/p>\n<p><span style=\"color: #000000;\">State<span style=\"font-family: Courier New;\">\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 <\/span><\/span><span style=\"color: #000000;\">= UNOPEN<\/span><\/p>\n<p><span style=\"color: #000000;\">Last Open or Close state<span style=\"font-family: Courier New;\">\u00a0\u00a0\u00a0\u00a0\u00a0 <\/span><\/span><span style=\"color: #000000;\">= FAILED<\/span><\/p>\n<p><span style=\"color: #000000; font-family: Calibri;\">\u00a0<\/span><\/p>\n<p><span style=\"color: #000000;\"><span style=\"font-family: Calibri;\">scsimgr replace_wwid -D \/dev\/rdisk\/disk3436<\/span><\/span><\/p>\n<p>echo $?<\/p>\n<p>Zero is good, non-zero probably means you are booting.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>scsimgr is the tool of choice for getting rid of storage that is in the HP-UX kernel and the underlying storage has been pulled by your storage administrator. In this case the lun has been marked as FAILED. HP-UX 11.31, any Operating Environment, though these tasks go easier if the OE is more current. scsimgr [&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":[83,8],"tags":[],"class_list":["post-300","post","type-post","status-publish","format-standard","hentry","category-storage","category-sysadmin"],"_links":{"self":[{"href":"http:\/\/www.hpux.ws\/index.php?rest_route=\/wp\/v2\/posts\/300"}],"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=300"}],"version-history":[{"count":2,"href":"http:\/\/www.hpux.ws\/index.php?rest_route=\/wp\/v2\/posts\/300\/revisions"}],"predecessor-version":[{"id":302,"href":"http:\/\/www.hpux.ws\/index.php?rest_route=\/wp\/v2\/posts\/300\/revisions\/302"}],"wp:attachment":[{"href":"http:\/\/www.hpux.ws\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=300"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/www.hpux.ws\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=300"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/www.hpux.ws\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=300"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}