<?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: how to manage raw volume ??? in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/how-to-manage-raw-volume/m-p/3272524#M627593</link>
    <description>Thanks to all,&lt;BR /&gt;&lt;BR /&gt;By the way :&lt;BR /&gt;&lt;BR /&gt;I have found Oracle doc about using RAW volume with oracle. But not exactly for HP-UX... Here what i have made on the server :&lt;BR /&gt;&lt;BR /&gt;1. Give ownership to oracle user on the raw disk (/dev/vgoracle/rlvora1)&lt;BR /&gt;2. chmod 600 on the raw disk&lt;BR /&gt;3. Using ln -sf to create symbolic file (.dbf that point on the raw disk)&lt;BR /&gt;4. Used Enteprise manager to create new tablespace that point on .dbf (with reuse option)&lt;BR /&gt;&lt;BR /&gt;Somebody can tell me if this procedure are OK ? If optimisatioon configuration or tool exist for RAW volume... &lt;BR /&gt;&lt;BR /&gt;thanks</description>
    <pubDate>Tue, 11 May 2004 08:02:05 GMT</pubDate>
    <dc:creator>Vasago</dc:creator>
    <dc:date>2004-05-11T08:02:05Z</dc:date>
    <item>
      <title>how to manage raw volume ???</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/how-to-manage-raw-volume/m-p/3272515#M627584</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;Running HP-UX with Oracle. Some Database are on RAW LV.&lt;BR /&gt;&lt;BR /&gt;How i can manage RAW LV ? (ex : show how space are used on raw device...)&lt;BR /&gt;&lt;BR /&gt;i can do an lvdisplay but that don't give me space used... :&lt;BR /&gt;&lt;BR /&gt;LV Name                     /dev/vgoracle/lvora1&lt;BR /&gt;VG Name                     /dev/vgoracle&lt;BR /&gt;LV Permission               read/write   &lt;BR /&gt;LV Status                   available/syncd           &lt;BR /&gt;Mirror copies               0            &lt;BR /&gt;Consistency Recovery        MWC                 &lt;BR /&gt;Schedule                    parallel     &lt;BR /&gt;LV Size (Mbytes)            300000          &lt;BR /&gt;Current LE                  9375      &lt;BR /&gt;Allocated PE                9375        &lt;BR /&gt;Stripes                     0       &lt;BR /&gt;Stripe Size (Kbytes)        0                   &lt;BR /&gt;Bad block                   on           &lt;BR /&gt;Allocation                  strict                    &lt;BR /&gt;IO Timeout (Seconds)        default             &lt;BR /&gt;</description>
      <pubDate>Mon, 10 May 2004 16:02:08 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/how-to-manage-raw-volume/m-p/3272515#M627584</guid>
      <dc:creator>Vasago</dc:creator>
      <dc:date>2004-05-10T16:02:08Z</dc:date>
    </item>
    <item>
      <title>Re: how to manage raw volume ???</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/how-to-manage-raw-volume/m-p/3272516#M627585</link>
      <description>Hi&lt;BR /&gt;&lt;BR /&gt;I would look for usage within Oracle management tools. I do not think it is possible to view using a UNIX command, May be a backup tool?&lt;BR /&gt;&lt;BR /&gt;HTH,&lt;BR /&gt;&lt;BR /&gt;Gideon</description>
      <pubDate>Mon, 10 May 2004 16:06:41 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/how-to-manage-raw-volume/m-p/3272516#M627585</guid>
      <dc:creator>G. Vrijhoeven</dc:creator>
      <dc:date>2004-05-10T16:06:41Z</dc:date>
    </item>
    <item>
      <title>Re: how to manage raw volume ???</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/how-to-manage-raw-volume/m-p/3272517#M627586</link>
      <description>&amp;gt;&amp;gt; how to manage raw volume ???&lt;BR /&gt;&lt;BR /&gt;VERY VERY CAREFULLY!!!!&lt;BR /&gt;&lt;BR /&gt;There is no way that I know of for you to see the space used on a raw LV at the unix level.  That's what oracle tools are for.&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Mon, 10 May 2004 16:08:48 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/how-to-manage-raw-volume/m-p/3272517#M627586</guid>
      <dc:creator>Patrick Wallek</dc:creator>
      <dc:date>2004-05-10T16:08:48Z</dc:date>
    </item>
    <item>
      <title>Re: how to manage raw volume ???</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/how-to-manage-raw-volume/m-p/3272518#M627587</link>
      <description>From the perspective of the OS, your question has absolutely no meaning; how the space is used within a raw volume is solely determined by the application (Oracle in this case). &lt;BR /&gt;&lt;BR /&gt;You can start by doing a "select * from dba_data_files". The "bytes" column will indicate the total size of the tablespace which must be be less than or equal to the LV Size returned by lvdisplay.&lt;BR /&gt;</description>
      <pubDate>Mon, 10 May 2004 16:11:31 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/how-to-manage-raw-volume/m-p/3272518#M627587</guid>
      <dc:creator>A. Clay Stephenson</dc:creator>
      <dc:date>2004-05-10T16:11:31Z</dc:date>
    </item>
    <item>
      <title>Re: how to manage raw volume ???</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/how-to-manage-raw-volume/m-p/3272519#M627588</link>
      <description>In /dev/vgorcle&lt;BR /&gt;&lt;BR /&gt;Make sure the oracle user owns the special device files.&lt;BR /&gt;&lt;BR /&gt;All other management of this raw space must be done with sqlplus or tools provided by oracle.&lt;BR /&gt;&lt;BR /&gt;I manage Software AG databases raw.&lt;BR /&gt;&lt;BR /&gt;All I can do in the OS is create the logical volumes, change the ownership and then start using the SAG tools.&lt;BR /&gt;&lt;BR /&gt;SEP</description>
      <pubDate>Mon, 10 May 2004 16:13:05 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/how-to-manage-raw-volume/m-p/3272519#M627588</guid>
      <dc:creator>Steven E. Protter</dc:creator>
      <dc:date>2004-05-10T16:13:05Z</dc:date>
    </item>
    <item>
      <title>Re: how to manage raw volume ???</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/how-to-manage-raw-volume/m-p/3272520#M627589</link>
      <description>Ask your local DBA how to use their tools if you are deeply intersted.  Since you have root you should be able to run any tools they use.  Really they should be the ones who need to manage whether they have enough space.  If they are not keeping up with it and giving you last minutes requests defining a SLA might help :).</description>
      <pubDate>Mon, 10 May 2004 16:52:13 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/how-to-manage-raw-volume/m-p/3272520#M627589</guid>
      <dc:creator>generic_1</dc:creator>
      <dc:date>2004-05-10T16:52:13Z</dc:date>
    </item>
    <item>
      <title>Re: how to manage raw volume ???</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/how-to-manage-raw-volume/m-p/3272521#M627590</link>
      <description>To see how "full" the Datafiles are:&lt;BR /&gt;&lt;BR /&gt;db_studio is a nice graphical Oracle tool.&lt;BR /&gt;You need to have an oracle login (diffenrent to the Unix login).&lt;BR /&gt;&lt;BR /&gt;the set your enviroment correctly (su - oracle) does this normaly.&lt;BR /&gt;... and try "oemapp dba_studio".&lt;BR /&gt;&lt;BR /&gt;If it is installed on that Unix box you'll get a GUI where you have to connect to the required instance and then you should look under Storage / Datafiles ......&lt;BR /&gt;&lt;BR /&gt;But from pure SYSTEM Admin view I guess you  dont need care about that. DBAs should :-)</description>
      <pubDate>Mon, 10 May 2004 17:38:30 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/how-to-manage-raw-volume/m-p/3272521#M627590</guid>
      <dc:creator>Juergen Tappe</dc:creator>
      <dc:date>2004-05-10T17:38:30Z</dc:date>
    </item>
    <item>
      <title>Re: how to manage raw volume ???</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/how-to-manage-raw-volume/m-p/3272522#M627591</link>
      <description>You just foudn out why they label raw devices a managemetn nightmare! It is all up to you. The (Operating) system will not help. These are RAW devices, no window dressing. You have to astablish and adhere to:&lt;BR /&gt;- Carefull naming&lt;BR /&gt;- Carefull sizing&lt;BR /&gt;- Carefull ownership settings&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Clay wrote: "You can start by doing a "select * from dba_data_files". "&lt;BR /&gt;&lt;BR /&gt;Right. But is only a start.Besides datafile Oracle also has temp files, redo logs, control files.&lt;BR /&gt;&lt;BR /&gt;Here is a procedure I use. You would need to run it once for every instance you manage.&lt;BR /&gt;&lt;BR /&gt;column status format a8&lt;BR /&gt;column member format a55&lt;BR /&gt;column file_name format a45&lt;BR /&gt;column Tablespace format a15&lt;BR /&gt;column segment_name format a15&lt;BR /&gt;column extent_name format a15&lt;BR /&gt;column owner format a10&lt;BR /&gt;column file format a45&lt;BR /&gt;column id format 99&lt;BR /&gt;&lt;BR /&gt;set pages 9999&lt;BR /&gt;set heading off&lt;BR /&gt;set FEEDBACK off&lt;BR /&gt;select 'redo_'||l.group# "Tablespace", l.group# "Id", l.bytes/(1024*1024) "MB",&lt;BR /&gt;    MEMBER "File" from v$logfile f, v$log l where l.group# = f.group#&lt;BR /&gt;union&lt;BR /&gt;select tablespace_name "Tablespace", FILE_ID "Id", bytes/(1024*1024) "MB",&lt;BR /&gt;    file_name "File" from dba_data_files&lt;BR /&gt;union&lt;BR /&gt;select tablespace_name "Tablespace", FILE_ID "Id", bytes/(1024*1024) "MB",&lt;BR /&gt;    file_name "File" from dba_temp_files&lt;BR /&gt;union&lt;BR /&gt;select 'Control_file' "Tablespace", rownum "Id", 0 "MB",&lt;BR /&gt;    name "File" from v$controlfile&lt;BR /&gt;order by 1&lt;BR /&gt;/</description>
      <pubDate>Mon, 10 May 2004 18:01:18 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/how-to-manage-raw-volume/m-p/3272522#M627591</guid>
      <dc:creator>Hein van den Heuvel</dc:creator>
      <dc:date>2004-05-10T18:01:18Z</dc:date>
    </item>
    <item>
      <title>Re: how to manage raw volume ???</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/how-to-manage-raw-volume/m-p/3272523#M627592</link>
      <description>A raw volume has no files and no concept of full or empty as far as HP-UX is concerned. Only Oracle knows how the lvols are laid out and how much space is being used. By choosing to use raw volumes, you have turned over ALL responsibility for disk space to your DBAs. There is nothing you can do except to learn Oracle and the various status tools to see how the space is being managed,</description>
      <pubDate>Mon, 10 May 2004 21:23:53 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/how-to-manage-raw-volume/m-p/3272523#M627592</guid>
      <dc:creator>Bill Hassell</dc:creator>
      <dc:date>2004-05-10T21:23:53Z</dc:date>
    </item>
    <item>
      <title>Re: how to manage raw volume ???</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/how-to-manage-raw-volume/m-p/3272524#M627593</link>
      <description>Thanks to all,&lt;BR /&gt;&lt;BR /&gt;By the way :&lt;BR /&gt;&lt;BR /&gt;I have found Oracle doc about using RAW volume with oracle. But not exactly for HP-UX... Here what i have made on the server :&lt;BR /&gt;&lt;BR /&gt;1. Give ownership to oracle user on the raw disk (/dev/vgoracle/rlvora1)&lt;BR /&gt;2. chmod 600 on the raw disk&lt;BR /&gt;3. Using ln -sf to create symbolic file (.dbf that point on the raw disk)&lt;BR /&gt;4. Used Enteprise manager to create new tablespace that point on .dbf (with reuse option)&lt;BR /&gt;&lt;BR /&gt;Somebody can tell me if this procedure are OK ? If optimisatioon configuration or tool exist for RAW volume... &lt;BR /&gt;&lt;BR /&gt;thanks</description>
      <pubDate>Tue, 11 May 2004 08:02:05 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/how-to-manage-raw-volume/m-p/3272524#M627593</guid>
      <dc:creator>Vasago</dc:creator>
      <dc:date>2004-05-11T08:02:05Z</dc:date>
    </item>
  </channel>
</rss>

