<?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: reducing raw volume in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/reducing-raw-volume/m-p/4586330#M374476</link>
    <description>&amp;gt;&amp;gt;sure you do not shrink the LV by a larger space than you shrunk the tablespace in Oracle, or data will be lost&amp;lt;&amp;lt;&amp;lt;&lt;BR /&gt;&lt;BR /&gt;Yes, Please, d'not shrink too much. also can you check whether is better you "lvremove" &amp;amp; "lvcreate" ? hence from system point of view its straight forward. (meant say all "Lv operations can be done") from Oracle point view check with your "DBA Admin"&lt;BR /&gt;&lt;BR /&gt;Just a thought. &lt;BR /&gt;&lt;BR /&gt;Thanks,&lt;BR /&gt;Johnson</description>
    <pubDate>Sun, 21 Feb 2010 05:31:13 GMT</pubDate>
    <dc:creator>Johnson Punniyalingam</dc:creator>
    <dc:date>2010-02-21T05:31:13Z</dc:date>
    <item>
      <title>reducing raw volume</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/reducing-raw-volume/m-p/4586324#M374470</link>
      <description>Hi Admins,&lt;BR /&gt;&lt;BR /&gt;can i do a lvreduce on raw database file..&lt;BR /&gt;Actaully i want to shrink a database raw file rxxx.dbf&lt;BR /&gt;&lt;BR /&gt;I have heard the lvreduce will destroy all data on any LV.&lt;BR /&gt;&lt;BR /&gt;&amp;lt;&amp;lt;&amp;lt; LVM does not store any information about which physical extents within a logical volume contain useful data; therefore, reducing the space allocated to a logical volume without doing a prior backup of the data could lead to the loss of useful data"&lt;BR /&gt;If you lvreduce a LVOL you "delete" the data on this disk. &amp;gt;&amp;gt;&amp;gt;&lt;BR /&gt;&lt;BR /&gt;As per my understanding,&lt;BR /&gt;1. In raw device file data will be written serially that means data will be written continously with no gap in between.So we can do lvreduce without data loss.&lt;BR /&gt;2.In LV wich holds file system,data will be written randomly.So doing a lvreduce here is not recommended.&lt;BR /&gt;&lt;BR /&gt;Please suggest on this.&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Thu, 18 Feb 2010 11:58:37 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/reducing-raw-volume/m-p/4586324#M374470</guid>
      <dc:creator>himacs</dc:creator>
      <dc:date>2010-02-18T11:58:37Z</dc:date>
    </item>
    <item>
      <title>Re: reducing raw volume</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/reducing-raw-volume/m-p/4586325#M374471</link>
      <description>himacs,&lt;BR /&gt;&lt;BR /&gt;To find out what applications are using the logical volume, use the fuser command&lt;BR /&gt;&lt;BR /&gt;Example:&lt;BR /&gt;fuser -cu /dev/vg01/lvol5&lt;BR /&gt;&lt;BR /&gt;IF any application/user is accessing this file system,you may stop that applciation before resuce this LV.&lt;BR /&gt;&lt;BR /&gt;You can reduce that lv but new size of lv should be higher than data already occufied on LV.&lt;BR /&gt;&lt;BR /&gt;Before reducing the lv,better take data backup.&lt;BR /&gt;&lt;BR /&gt;example.&lt;BR /&gt;&lt;BR /&gt;total lv size 5GB&lt;BR /&gt;data occufied 3.5GB&lt;BR /&gt;&lt;BR /&gt;you want to reduce that lv to 4.5GB,it is possible.use lvreduce -L &lt;NEW size=""&gt; lv_path&lt;/NEW&gt;</description>
      <pubDate>Thu, 18 Feb 2010 12:18:25 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/reducing-raw-volume/m-p/4586325#M374471</guid>
      <dc:creator>Kanagaraj</dc:creator>
      <dc:date>2010-02-18T12:18:25Z</dc:date>
    </item>
    <item>
      <title>Re: reducing raw volume</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/reducing-raw-volume/m-p/4586326#M374472</link>
      <description>using raw devices, since a write  to a raw device bypasses the UNIX buffer cache; the data is transferred &lt;BR /&gt;direct from the Oracle buffer cache to the disk&lt;BR /&gt;&lt;BR /&gt;More over "Logical volumes can be assigned to &lt;BR /&gt;file systems, &lt;BR /&gt;used as swap or dump devices,&lt;BR /&gt; or used for raw access&lt;BR /&gt;&lt;BR /&gt;so when you talk about "raw device files" its totlay raw -&amp;gt; nothing stored "while all you Database / Application has been stopped"&lt;BR /&gt;make sure "NO I/O activity " (meaning make sure all your Database &amp;amp; application complted down) and you do this activity.&lt;BR /&gt;&lt;BR /&gt;You can use either "use" lvreduce or &lt;BR /&gt;"lvremove " and "lvcreate" to actual size.what do you " and inform your " DBA admin", can help you reconfugre or something drop and recreat .etc.. (whatever from Databse point of view).&lt;BR /&gt;&lt;BR /&gt;HTH,&lt;BR /&gt;&lt;BR /&gt;Johnson</description>
      <pubDate>Thu, 18 Feb 2010 12:38:38 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/reducing-raw-volume/m-p/4586326#M374472</guid>
      <dc:creator>Johnson Punniyalingam</dc:creator>
      <dc:date>2010-02-18T12:38:38Z</dc:date>
    </item>
    <item>
      <title>Re: reducing raw volume</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/reducing-raw-volume/m-p/4586327#M374473</link>
      <description>Hi Johnson.&lt;BR /&gt;&lt;BR /&gt;&amp;gt;&amp;gt;so when you talk about "raw device files" its totlay raw -&amp;gt; nothing stored "while all you Database / Application has been stopped&amp;gt;&amp;gt;&lt;BR /&gt;&lt;BR /&gt;So you are telling when DB is down raw database file will be empty.This is new thing to me.&lt;BR /&gt;So where data will be stored while DB is down.&lt;BR /&gt;&lt;BR /&gt;Please clarify&lt;BR /&gt;&lt;BR /&gt;Regards&lt;BR /&gt;himacs</description>
      <pubDate>Thu, 18 Feb 2010 12:51:39 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/reducing-raw-volume/m-p/4586327#M374473</guid>
      <dc:creator>himacs</dc:creator>
      <dc:date>2010-02-18T12:51:39Z</dc:date>
    </item>
    <item>
      <title>Re: reducing raw volume</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/reducing-raw-volume/m-p/4586328#M374474</link>
      <description>as per below document from "it says" you need "only recreate raw device file" you can't lvreduce on the "raw device file"&lt;BR /&gt;&lt;BR /&gt;Please read document for "Better understanding" for raw device use in Oracle Database.&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://www.rdbconsulting.com/files/Raw%20devices%20versus%20file%20systems%20v2.pdf" target="_blank"&gt;http://www.rdbconsulting.com/files/Raw%20devices%20versus%20file%20systems%20v2.pdf&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&amp;gt;&amp;gt;So where data will be stored while DB is down.&amp;lt;&amp;lt;&lt;BR /&gt;&lt;BR /&gt;Again read post " since a write to a raw device bypasses the UNIX buffer cache;"&lt;BR /&gt;&lt;BR /&gt;So it use "bypasse" to "when you database is up  data "bypasses. no data is stored.&lt;BR /&gt;&lt;BR /&gt;purpose of having raw devic file "&lt;BR /&gt;&lt;BR /&gt;Improves I/O performance if system is I/O bound&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Thu, 18 Feb 2010 14:36:00 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/reducing-raw-volume/m-p/4586328#M374474</guid>
      <dc:creator>Johnson Punniyalingam</dc:creator>
      <dc:date>2010-02-18T14:36:00Z</dc:date>
    </item>
    <item>
      <title>Re: reducing raw volume</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/reducing-raw-volume/m-p/4586329#M374475</link>
      <description>Hi Johnson,&lt;BR /&gt;&lt;BR /&gt;Thanks for the document.I have logged a call with HP to confirm the same.But according to them we can reduce the raw device.&lt;BR /&gt;&lt;BR /&gt;&amp;lt;&amp;lt; first tell Oracle to shrink&lt;BR /&gt;the tablespace, and then you can go ahead and shrink the LV. The LV operations can be done online. Make&lt;BR /&gt;sure you do not shrink the LV by a larger space than you shrunk the tablespace in Oracle, or data will be lost&lt;BR /&gt;with no way to recover it!  &amp;gt;&amp;gt;&lt;BR /&gt;&lt;BR /&gt;Regards&lt;BR /&gt;himacs&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Sun, 21 Feb 2010 04:34:14 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/reducing-raw-volume/m-p/4586329#M374475</guid>
      <dc:creator>himacs</dc:creator>
      <dc:date>2010-02-21T04:34:14Z</dc:date>
    </item>
    <item>
      <title>Re: reducing raw volume</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/reducing-raw-volume/m-p/4586330#M374476</link>
      <description>&amp;gt;&amp;gt;sure you do not shrink the LV by a larger space than you shrunk the tablespace in Oracle, or data will be lost&amp;lt;&amp;lt;&amp;lt;&lt;BR /&gt;&lt;BR /&gt;Yes, Please, d'not shrink too much. also can you check whether is better you "lvremove" &amp;amp; "lvcreate" ? hence from system point of view its straight forward. (meant say all "Lv operations can be done") from Oracle point view check with your "DBA Admin"&lt;BR /&gt;&lt;BR /&gt;Just a thought. &lt;BR /&gt;&lt;BR /&gt;Thanks,&lt;BR /&gt;Johnson</description>
      <pubDate>Sun, 21 Feb 2010 05:31:13 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/reducing-raw-volume/m-p/4586330#M374476</guid>
      <dc:creator>Johnson Punniyalingam</dc:creator>
      <dc:date>2010-02-21T05:31:13Z</dc:date>
    </item>
  </channel>
</rss>

