<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: ioscan output formatting... in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/ioscan-output-formatting/m-p/3907521#M284063</link>
    <description>Besides, after everything is all setup, there is no reason to pvcreate EVER in any of the 4 partitions of our rx8640. All we need is a default install of HP-Unix, patched of course, and Integrity Virtual Machine.</description>
    <pubDate>Mon, 04 Dec 2006 18:21:27 GMT</pubDate>
    <dc:creator>Gene Laoyan</dc:creator>
    <dc:date>2006-12-04T18:21:27Z</dc:date>
    <item>
      <title>ioscan output formatting...</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/ioscan-output-formatting/m-p/3907509#M284051</link>
      <description>When I do an ioscan -fnC disk I get the following output of disk(s)...&lt;BR /&gt;&lt;BR /&gt;disk     27  0/0/6/1/0.1.25.0.0.1.2   sdisk    CLAIMED     DEVICE       NETAPP  LUN&lt;BR /&gt;                            /dev/dsk/c7t1d2     /dev/dsk/c7t1d2s2   /dev/rdsk/c7t1d2    /dev/rdsk/c7t1d2s2&lt;BR /&gt;                            /dev/dsk/c7t1d2s1   /dev/dsk/c7t1d2s3   /dev/rdsk/c7t1d2s1  /dev/rdsk/c7t1d2s3&lt;BR /&gt;disk     28  0/0/6/1/0.1.25.0.0.1.3   sdisk    CLAIMED     DEVICE       NETAPP  LUN&lt;BR /&gt;                            /dev/dsk/c7t1d3     /dev/dsk/c7t1d3s2   /dev/rdsk/c7t1d3    /dev/rdsk/c7t1d3s2&lt;BR /&gt;                            /dev/dsk/c7t1d3s1   /dev/dsk/c7t1d3s3   /dev/rdsk/c7t1d3s1  /dev/rdsk/c7t1d3s3&lt;BR /&gt;&lt;BR /&gt;How can I make my output ommit the "s2" or "s3" lines? I don't really need to see them. I really only want the output to look like this...&lt;BR /&gt;&lt;BR /&gt;disk     36  0/0/6/1/0.1.25.0.0.2.7   sdisk    CLAIMED     DEVICE       NETAPP  LUN&lt;BR /&gt;                            /dev/dsk/c7t2d7   /dev/rdsk/c7t2d7&lt;BR /&gt;disk     37  0/0/6/1/0.1.25.0.0.3.0   sdisk    CLAIMED     DEVICE       NETAPP  LUN&lt;BR /&gt;                            /dev/dsk/c7t3d0   /dev/rdsk/c7t3d0&lt;BR /&gt;disk     38  0/0/6/1/0.1.25.0.0.3.1   sdisk    CLAIMED     DEVICE       NETAPP  LUN&lt;BR /&gt;                            /dev/dsk/c7t3d1   /dev/rdsk/c7t3d1&lt;BR /&gt;&lt;BR /&gt;Thanks&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Mon, 04 Dec 2006 13:39:09 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/ioscan-output-formatting/m-p/3907509#M284051</guid>
      <dc:creator>Gene Laoyan</dc:creator>
      <dc:date>2006-12-04T13:39:09Z</dc:date>
    </item>
    <item>
      <title>Re: ioscan output formatting...</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/ioscan-output-formatting/m-p/3907510#M284052</link>
      <description>Friend &lt;BR /&gt;tries ioscan -fnC disk  |grep -v argument that must be ommit  of output</description>
      <pubDate>Mon, 04 Dec 2006 13:44:31 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/ioscan-output-formatting/m-p/3907510#M284052</guid>
      <dc:creator>Calandrello</dc:creator>
      <dc:date>2006-12-04T13:44:31Z</dc:date>
    </item>
    <item>
      <title>Re: ioscan output formatting...</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/ioscan-output-formatting/m-p/3907511#M284053</link>
      <description>Simple answer:&lt;BR /&gt;&lt;BR /&gt;ioscan -fnC disk |grep -v s2 |grep -v s3&lt;BR /&gt;&lt;BR /&gt;That may well be too simple an approach, but, given your example, it works.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Pete</description>
      <pubDate>Mon, 04 Dec 2006 13:45:09 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/ioscan-output-formatting/m-p/3907511#M284053</guid>
      <dc:creator>Pete Randall</dc:creator>
      <dc:date>2006-12-04T13:45:09Z</dc:date>
    </item>
    <item>
      <title>Re: ioscan output formatting...</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/ioscan-output-formatting/m-p/3907512#M284054</link>
      <description>Ok, now I get this...&lt;BR /&gt;&lt;BR /&gt;disk     27  0/0/6/1/0.1.25.0.0.1.2   sdisk    CLAIMED     DEVICE       NETAPP  LUN&lt;BR /&gt;disk     28  0/0/6/1/0.1.25.0.0.1.3   sdisk    CLAIMED     DEVICE       NETAPP  LUN&lt;BR /&gt;disk     29  0/0/6/1/0.1.25.0.0.1.4   sdisk    CLAIMED     DEVICE       NETAPP  LUN&lt;BR /&gt;&lt;BR /&gt;Noy I can't see my device files.</description>
      <pubDate>Mon, 04 Dec 2006 13:50:37 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/ioscan-output-formatting/m-p/3907512#M284054</guid>
      <dc:creator>Gene Laoyan</dc:creator>
      <dc:date>2006-12-04T13:50:37Z</dc:date>
    </item>
    <item>
      <title>Re: ioscan output formatting...</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/ioscan-output-formatting/m-p/3907513#M284055</link>
      <description>Do you have slices on your LUNs? If not then you can remove "rmsf &lt;DEVICE_FILE&gt;" the corresponding device files and try the ioscan again. The grep won't work unless the lines containg the unwanted string is isolated to particular line(s).&lt;/DEVICE_FILE&gt;</description>
      <pubDate>Mon, 04 Dec 2006 14:00:14 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/ioscan-output-formatting/m-p/3907513#M284055</guid>
      <dc:creator>Sandman!</dc:creator>
      <dc:date>2006-12-04T14:00:14Z</dc:date>
    </item>
    <item>
      <title>Re: ioscan output formatting...</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/ioscan-output-formatting/m-p/3907514#M284056</link>
      <description>Hmmmm, it's taking out the whole line.  I'm thinking you would have to do some fancy awk manipulating to get what you want.  My awk skills aren't all that great, but I'll start experimenting and see if I can come up with something before one of our awk experts does.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Pete</description>
      <pubDate>Mon, 04 Dec 2006 14:03:01 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/ioscan-output-formatting/m-p/3907514#M284056</guid>
      <dc:creator>Pete Randall</dc:creator>
      <dc:date>2006-12-04T14:03:01Z</dc:date>
    </item>
    <item>
      <title>Re: ioscan output formatting...</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/ioscan-output-formatting/m-p/3907515#M284057</link>
      <description>Unless you want to totally redo the ioscan output with awk or sed, then I don't think this is possible.&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Mon, 04 Dec 2006 14:03:07 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/ioscan-output-formatting/m-p/3907515#M284057</guid>
      <dc:creator>Patrick Wallek</dc:creator>
      <dc:date>2006-12-04T14:03:07Z</dc:date>
    </item>
    <item>
      <title>Re: ioscan output formatting...</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/ioscan-output-formatting/m-p/3907516#M284058</link>
      <description>By slices, do you mean partitioned?&lt;BR /&gt;These LUN's are raw disks assigned Windows Virtual MAchines. Yes, there are partitions on them but only one.&lt;BR /&gt;I don't mind using awk, I use it on other commands, however, I have only been an HP-Unix admin since the end of July and I rely on asking questions on the forum. So any responses from anyone on this is very much appreciated.&lt;BR /&gt;&lt;BR /&gt;Thanks</description>
      <pubDate>Mon, 04 Dec 2006 14:09:54 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/ioscan-output-formatting/m-p/3907516#M284058</guid>
      <dc:creator>Gene Laoyan</dc:creator>
      <dc:date>2006-12-04T14:09:54Z</dc:date>
    </item>
    <item>
      <title>Re: ioscan output formatting...</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/ioscan-output-formatting/m-p/3907517#M284059</link>
      <description>Try the awk construct below and see if it works for you:&lt;BR /&gt;&lt;BR /&gt;# ioscan | awk '{for(i=1;i&amp;lt;=NF;++i){if($i!~"s[0-9]+$") printf("%s ",$i)} print ""}'&lt;BR /&gt;&lt;BR /&gt;~cheers</description>
      <pubDate>Mon, 04 Dec 2006 14:24:50 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/ioscan-output-formatting/m-p/3907517#M284059</guid>
      <dc:creator>Sandman!</dc:creator>
      <dc:date>2006-12-04T14:24:50Z</dc:date>
    </item>
    <item>
      <title>Re: ioscan output formatting...</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/ioscan-output-formatting/m-p/3907518#M284060</link>
      <description>PERFECT!&lt;BR /&gt;&lt;BR /&gt;Thanks!&lt;BR /&gt;&lt;BR /&gt;Now there's less clutter of stuff for me. Here's the output...&lt;BR /&gt;&lt;BR /&gt;disk 36 0/0/6/1/0.1.25.0.0.2.7 sdisk CLAIMED DEVICE NETAPP LUN&lt;BR /&gt;/dev/dsk/c7t2d7 /dev/rdsk/c7t2d7&lt;BR /&gt;disk 37 0/0/6/1/0.1.25.0.0.3.0 sdisk CLAIMED DEVICE NETAPP LUN&lt;BR /&gt;/dev/dsk/c7t3d0 /dev/rdsk/c7t3d0&lt;BR /&gt;disk 38 0/0/6/1/0.1.25.0.0.3.1 sdisk CLAIMED DEVICE NETAPP LUN&lt;BR /&gt;/dev/dsk/c7t3d1 /dev/rdsk/c7t3d1&lt;BR /&gt;&lt;BR /&gt;Thanks again!</description>
      <pubDate>Mon, 04 Dec 2006 15:00:59 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/ioscan-output-formatting/m-p/3907518#M284060</guid>
      <dc:creator>Gene Laoyan</dc:creator>
      <dc:date>2006-12-04T15:00:59Z</dc:date>
    </item>
    <item>
      <title>Re: ioscan output formatting...</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/ioscan-output-formatting/m-p/3907519#M284061</link>
      <description>My question to you is -- If these devices from teh Netapp are assigned to Windows Virtual Machines, why is the HP-UX machine even aware of them?&lt;BR /&gt;&lt;BR /&gt;They should be assigned to the Windows machine ONLY.  Having them available to HP-UX is only asking for trouble, in my opinion.  It would be very easy to do a 'pvcreate' on one of those disks and thus blow up your Windows VM.</description>
      <pubDate>Mon, 04 Dec 2006 15:07:51 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/ioscan-output-formatting/m-p/3907519#M284061</guid>
      <dc:creator>Patrick Wallek</dc:creator>
      <dc:date>2006-12-04T15:07:51Z</dc:date>
    </item>
    <item>
      <title>Re: ioscan output formatting...</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/ioscan-output-formatting/m-p/3907520#M284062</link>
      <description>We're using Integrity Virtual Machine 2.0 to host Windows Virtual Machines. Each Windows VM requires a disk so we use a fiber LUN as a disk and assign the /dev/rdsk/cXtYdZ to the integrity virtual machine guest. The guest sees the fiber lun as a physically attached disk. Never sees fiber anything. On the HP-UX hosts there are only three device files that we use for the system, the DVD and the two hard drives that are in a mirror. Any LUN's from fiber are not touched for anything nor mounted to anything but an Integrity VM. It is not possible for any Wondoze machine to see anything in our fabric. However, LUN management is a big pan in the uknow what.</description>
      <pubDate>Mon, 04 Dec 2006 18:18:17 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/ioscan-output-formatting/m-p/3907520#M284062</guid>
      <dc:creator>Gene Laoyan</dc:creator>
      <dc:date>2006-12-04T18:18:17Z</dc:date>
    </item>
    <item>
      <title>Re: ioscan output formatting...</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/ioscan-output-formatting/m-p/3907521#M284063</link>
      <description>Besides, after everything is all setup, there is no reason to pvcreate EVER in any of the 4 partitions of our rx8640. All we need is a default install of HP-Unix, patched of course, and Integrity Virtual Machine.</description>
      <pubDate>Mon, 04 Dec 2006 18:21:27 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/ioscan-output-formatting/m-p/3907521#M284063</guid>
      <dc:creator>Gene Laoyan</dc:creator>
      <dc:date>2006-12-04T18:21:27Z</dc:date>
    </item>
  </channel>
</rss>

