{"id":666,"date":"2012-11-28T12:01:00","date_gmt":"2012-11-28T12:01:00","guid":{"rendered":"http:\/\/zensonic.dk\/?p=666"},"modified":"2017-04-09T10:03:04","modified_gmt":"2017-04-09T10:03:04","slug":"lunz-and-hp-ux-11-31","status":"publish","type":"post","link":"https:\/\/zensonic.dk\/?p=666","title":{"rendered":"LUNZ and HP-UX 11.31"},"content":{"rendered":"<p>LUNZ is a placeholder. It is as simple as that. In HP-UX 11.31, ioscan runs without human intervention. Thus you can end up in a situation where your server can see the storage cabinet, but no luns are presented to the server &#8230; yet. And thus you get LUNZ. The same applies for 11.23 and below, but it is unlikely that you scan for devices before your storage admin comes along. <\/p>\n<p>So back on track. You then end up with<\/p>\n<div class=\"codesnip-container\" >disk      3  0\/0\/0\/5\/0\/0\/0.101.140.255.0.0.0  sdisk   NO_HW       DEVICE       DGC     LUNZ<br \/>\n                      \/dev\/dsk\/c26t0d0   \/dev\/rdsk\/c26t0d0<br \/>\ndisk      4  0\/0\/0\/5\/0\/0\/0.101.156.255.0.0.0  sdisk   NO_HW       DEVICE       DGC     LUNZ<br \/>\n                      \/dev\/dsk\/c27t0d0   \/dev\/rdsk\/c27t0d0<\/div>\n<p>And no matter how many times you do ioscan -fn, you get no devices. Before you go yelling at your storage admin, then try this<\/p>\n<div class=\"codesnip-container\" >sudo ioscan -fnkC disk | grep LUNZ<br \/>\ndisk      3  0\/0\/0\/5\/0\/0\/0.101.140.255.0.0.0  sdisk   NO_HW       DEVICE       DGC     LUNZ<br \/>\ndisk      4  0\/0\/0\/5\/0\/0\/0.101.156.255.0.0.0  sdisk   NO_HW       DEVICE       DGC     LUNZ<br \/>\ndisk      7  0\/0\/0\/5\/0\/0\/1.201.140.255.0.0.0  sdisk   NO_HW       DEVICE       DGC     LUNZ<\/p>\n<p>sudo rmsf -H 0\/0\/0\/5\/0\/0\/0.101.140.255.0.0.0<br \/>\nsudo rmsf -H 0\/0\/0\/5\/0\/0\/0.101.156.255.0.0.0<br \/>\nsudo rmsf -H 0\/0\/0\/5\/0\/0\/1.201.140.255.0.0.0<br \/>\nsudo rmsf -H 0\/0\/0\/5\/0\/0\/1.201.156.255.0.0.0<\/p>\n<\/div>\n<p>Check<\/p>\n<div class=\"codesnip-container\" >sudo ioscan -fnkC disk | grep LUNZ | wc -l<br \/>\n0<\/div>\n<p>Try to get them onboard<\/p>\n<div class=\"codesnip-container\" >sudo ioscan -fn<br \/>\nsudo insf<br \/>\nsudo ioscan -fnkC disk<\/div>\n<p>Check<\/p>\n<div class=\"codesnip-container\" >sudo ioscan -fnkC disk | grep DGC | wc<br \/>\n0 0 0<\/div>\n<p>Still not there?! Odd? Not really. On HP-UX 11.31, you also have the new agile device. This is blocking the access.<\/p>\n<div class=\"codesnip-container\" >sudo ioscan -fnNkC disk |grep LUNZ<br \/>\ndisk      5  64000\/0xfa00\/0&#215;5   esdisk   NO_HW       DEVICE       DGC     LUNZ<\/div>\n<p>Run<\/p>\n<div class=\"codesnip-container\" >sudo rmsf -H 64000\/0xfa00\/0&#215;5<\/div>\n<p>Now run<\/p>\n<div class=\"codesnip-container\" >sudo ioscan -fnC disk<br \/>\nsudo insf<\/div>\n<p>Check. Lo and behold. They are there now.<\/p>\n<div class=\"codesnip-container\" >sudo ioscan -fnkC disk | grep DGC | wc<br \/>\n24 204 2244<\/div>\n","protected":false},"excerpt":{"rendered":"<p>LUNZ is a placeholder. It is as simple as that. In HP-UX 11.31, ioscan runs without human intervention. Thus you can end up in a situation where your server can see the storage cabinet, but no luns are presented to the server &#8230; yet. And thus you get LUNZ. The same applies for 11.23 and [&hellip;]<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[10,6],"tags":[],"class_list":["post-666","post","type-post","status-publish","format-standard","hentry","category-hp-ux","category-unix"],"_links":{"self":[{"href":"https:\/\/zensonic.dk\/index.php?rest_route=\/wp\/v2\/posts\/666"}],"collection":[{"href":"https:\/\/zensonic.dk\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/zensonic.dk\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/zensonic.dk\/index.php?rest_route=\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/zensonic.dk\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=666"}],"version-history":[{"count":0,"href":"https:\/\/zensonic.dk\/index.php?rest_route=\/wp\/v2\/posts\/666\/revisions"}],"wp:attachment":[{"href":"https:\/\/zensonic.dk\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=666"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/zensonic.dk\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=666"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/zensonic.dk\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=666"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}