<?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 how can I know free raw devices? in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/how-can-i-know-free-raw-devices/m-p/4037307#M729894</link>
    <description>Hi all&lt;BR /&gt;&lt;BR /&gt;simple question!!!&lt;BR /&gt;&lt;BR /&gt;how can I know unused raw logical volumes in a HP-UX RISC servers?&lt;BR /&gt;&lt;BR /&gt;we have currently two node cluster servicegaured running Oracle 9i database RAC.&lt;BR /&gt;&lt;BR /&gt;recently, I discovered 1 TB unused (not belong to cluster RAC) after discussion with our application team.&lt;BR /&gt;&lt;BR /&gt;Normally, with AIX servers, there is a flag closed/syncd or open/syncd to give you the status of the device.&lt;BR /&gt;&lt;BR /&gt;how can I know that in HP-UX?&lt;BR /&gt;&lt;BR /&gt;Thanks and regards.</description>
    <pubDate>Sat, 14 Jul 2007 07:14:00 GMT</pubDate>
    <dc:creator>YMJ</dc:creator>
    <dc:date>2007-07-14T07:14:00Z</dc:date>
    <item>
      <title>how can I know free raw devices?</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/how-can-i-know-free-raw-devices/m-p/4037307#M729894</link>
      <description>Hi all&lt;BR /&gt;&lt;BR /&gt;simple question!!!&lt;BR /&gt;&lt;BR /&gt;how can I know unused raw logical volumes in a HP-UX RISC servers?&lt;BR /&gt;&lt;BR /&gt;we have currently two node cluster servicegaured running Oracle 9i database RAC.&lt;BR /&gt;&lt;BR /&gt;recently, I discovered 1 TB unused (not belong to cluster RAC) after discussion with our application team.&lt;BR /&gt;&lt;BR /&gt;Normally, with AIX servers, there is a flag closed/syncd or open/syncd to give you the status of the device.&lt;BR /&gt;&lt;BR /&gt;how can I know that in HP-UX?&lt;BR /&gt;&lt;BR /&gt;Thanks and regards.</description>
      <pubDate>Sat, 14 Jul 2007 07:14:00 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/how-can-i-know-free-raw-devices/m-p/4037307#M729894</guid>
      <dc:creator>YMJ</dc:creator>
      <dc:date>2007-07-14T07:14:00Z</dc:date>
    </item>
    <item>
      <title>Re: how can I know free raw devices?</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/how-can-i-know-free-raw-devices/m-p/4037308#M729895</link>
      <description>The ONLY accurate answer is to ask the Oracle database admins to list the defined devices. You could use fuser or lsof pointed to the various rlvols but that is only a guess. The reason is that Oracle code may or may not have every raw lvol open at a given moment. It is also possible that one or more Oracle instances have rlvols configured but have not yet stored any data on them. Raw devices are 100% under control of applications so HP-UX cannot provide any usage (or potential usage) information.</description>
      <pubDate>Sat, 14 Jul 2007 08:35:20 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/how-can-i-know-free-raw-devices/m-p/4037308#M729895</guid>
      <dc:creator>Bill Hassell</dc:creator>
      <dc:date>2007-07-14T08:35:20Z</dc:date>
    </item>
    <item>
      <title>Re: how can I know free raw devices?</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/how-can-i-know-free-raw-devices/m-p/4037309#M729896</link>
      <description>Actually your question is far from simple. The most common use of raw disks/LVOL's is a database but that is not the only use. It's relatively easy to find those in use but it's extremely difficult to know that a given LVOL is not in use by any application. That's why it's vitally important to document your disk/LVOL usage. SAM does have a facility to annotate the use of a disk but this is advisory only. My convention is to write a known pattern of bytes to the first 10MiB of every LVOL when the LVOL's are first created; I do this whether or not I intend to use the LVOl immediately. (Actually it's part of my VG/LVOL creation script). I then examine the same area of the LVOL to see if this pattern is intact. If so, that is an extremely good indication that the LVOL is not in use by any application. Another sometimes overlooked usage of an LVOL is as a swap device though I doubt this applies in your case.</description>
      <pubDate>Sat, 14 Jul 2007 10:10:29 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/how-can-i-know-free-raw-devices/m-p/4037309#M729896</guid>
      <dc:creator>A. Clay Stephenson</dc:creator>
      <dc:date>2007-07-14T10:10:29Z</dc:date>
    </item>
    <item>
      <title>Re: how can I know free raw devices?</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/how-can-i-know-free-raw-devices/m-p/4037310#M729897</link>
      <description>We create the raw files with spare* and rename to a db specific name when it is relesed for datasbe use.</description>
      <pubDate>Sat, 14 Jul 2007 15:47:34 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/how-can-i-know-free-raw-devices/m-p/4037310#M729897</guid>
      <dc:creator>skt_skt</dc:creator>
      <dc:date>2007-07-14T15:47:34Z</dc:date>
    </item>
    <item>
      <title>Re: how can I know free raw devices?</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/how-can-i-know-free-raw-devices/m-p/4037311#M729898</link>
      <description>hi,&lt;BR /&gt;&lt;BR /&gt;Indeed it is quite difficult a question especially that you know your system more better than us.&lt;BR /&gt;&lt;BR /&gt;I would recommend that you run the command:&lt;BR /&gt;alter database backup controlfile to trace as '/tmp/foo.sql'&lt;BR /&gt;&lt;BR /&gt;Verify all the files being used and verify all the disk device files at the OS level&lt;BR /&gt;&lt;BR /&gt;hope this helps too!&lt;BR /&gt;kind regards&lt;BR /&gt;yogeeraj&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Sun, 15 Jul 2007 10:19:32 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/how-can-i-know-free-raw-devices/m-p/4037311#M729898</guid>
      <dc:creator>Yogeeraj_1</dc:creator>
      <dc:date>2007-07-15T10:19:32Z</dc:date>
    </item>
    <item>
      <title>Re: how can I know free raw devices?</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/how-can-i-know-free-raw-devices/m-p/4037312#M729899</link>
      <description>Hi,&lt;BR /&gt;A good indication would be, if the ownership uid/gid belongs to a database account.&lt;BR /&gt;&lt;BR /&gt;You could run dbv against the raw device.&lt;BR /&gt;It will pretty sure tell you if this "file" has oracle structure or not (at least for datafiles).&lt;BR /&gt;&lt;BR /&gt;Logfiles and controlfile are more complicated.&lt;BR /&gt;&lt;BR /&gt;For ALL databases select ALL filenames from&lt;BR /&gt;V$DATAFILE&lt;BR /&gt;V$TEMPFILE&lt;BR /&gt;V$LOGFILE&lt;BR /&gt;V$CONTROLFILE&lt;BR /&gt;and check the result for being either a raw device name or a symlink to a raw device.&lt;BR /&gt;&lt;BR /&gt;List might not be complete, but a good starter and might need adjustment for other databases as well if installed in addition to oracle.&lt;BR /&gt;&lt;BR /&gt;Good hunting&lt;BR /&gt;Volker</description>
      <pubDate>Wed, 18 Jul 2007 12:29:55 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/how-can-i-know-free-raw-devices/m-p/4037312#M729899</guid>
      <dc:creator>Volker Borowski</dc:creator>
      <dc:date>2007-07-18T12:29:55Z</dc:date>
    </item>
    <item>
      <title>Re: how can I know free raw devices?</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/how-can-i-know-free-raw-devices/m-p/4037313#M729900</link>
      <description>Hello,&lt;BR /&gt;&lt;BR /&gt;You may find this recent thread on the topic useful:&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=1138171" target="_blank"&gt;http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=1138171&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;PCS</description>
      <pubDate>Wed, 18 Jul 2007 13:14:01 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/how-can-i-know-free-raw-devices/m-p/4037313#M729900</guid>
      <dc:creator>spex</dc:creator>
      <dc:date>2007-07-18T13:14:01Z</dc:date>
    </item>
    <item>
      <title>Re: how can I know free raw devices?</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/how-can-i-know-free-raw-devices/m-p/4037314#M729901</link>
      <description>Thanks guys&lt;BR /&gt;&lt;BR /&gt;I very sorry for my delayed response.&lt;BR /&gt;&lt;BR /&gt;for this issue, I wrote a script for our DBA team to check the current used raw devices in the Oracle RAC and compare it with all raw devices in the system to find out the free volumes. &lt;BR /&gt;&lt;BR /&gt;This is the only way I can see to solve this issue.&lt;BR /&gt;&lt;BR /&gt;Thanks.</description>
      <pubDate>Sun, 21 Oct 2007 03:23:43 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/how-can-i-know-free-raw-devices/m-p/4037314#M729901</guid>
      <dc:creator>YMJ</dc:creator>
      <dc:date>2007-10-21T03:23:43Z</dc:date>
    </item>
  </channel>
</rss>

