<?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: Create new Logical Volume in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/create-new-logical-volume/m-p/2590155#M647601</link>
    <description>Hi,&lt;BR /&gt;&lt;BR /&gt;It's OK, but remember:&lt;BR /&gt;&lt;BR /&gt;lvextend -l &lt;SIZE_IN_EXTENDS&gt;&lt;BR /&gt;lvextend -L &lt;SIZE_IN_MB&gt;&lt;BR /&gt;&lt;BR /&gt;Later,&lt;BR /&gt;&lt;/SIZE_IN_MB&gt;&lt;/SIZE_IN_EXTENDS&gt;</description>
    <pubDate>Fri, 05 Oct 2001 08:18:54 GMT</pubDate>
    <dc:creator>Marcin Wicinski</dc:creator>
    <dc:date>2001-10-05T08:18:54Z</dc:date>
    <item>
      <title>Create new Logical Volume</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/create-new-logical-volume/m-p/2590154#M647600</link>
      <description>Hi everybody&lt;BR /&gt;&lt;BR /&gt;I need a great help from the UNIX experts because in my current project there is no Unix administrator. &lt;BR /&gt;&lt;BR /&gt;I need to create a new logical volume and make a symbolic link for oracle datafile in the RAW devices. Kindly advice me the following steps are correct or not.&lt;BR /&gt;&lt;BR /&gt;STEP1: &lt;BR /&gt;To create a new logical volume I will run the following scripts in the root user&lt;BR /&gt;&lt;BR /&gt;# lvcreate -n sdata1 vgoracle&lt;BR /&gt;# lvextend -L 1500 /dev/vgoracle/sdata1 /dev/dsk/c6t0d4&lt;BR /&gt;&lt;BR /&gt;STEP2: To create a symbolic link, I will run the following scripts on the each node login as oracle user&lt;BR /&gt;&lt;BR /&gt;$ ln ?s /dev/vgoracle/sdata1 /data/oracle/oradata/WEB/sdata1_01.dbf&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Thanks &amp;amp; Regards&lt;BR /&gt;&lt;BR /&gt;Michael Selvam&lt;BR /&gt;</description>
      <pubDate>Fri, 05 Oct 2001 08:08:48 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/create-new-logical-volume/m-p/2590154#M647600</guid>
      <dc:creator>Michael Selvam</dc:creator>
      <dc:date>2001-10-05T08:08:48Z</dc:date>
    </item>
    <item>
      <title>Re: Create new Logical Volume</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/create-new-logical-volume/m-p/2590155#M647601</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;It's OK, but remember:&lt;BR /&gt;&lt;BR /&gt;lvextend -l &lt;SIZE_IN_EXTENDS&gt;&lt;BR /&gt;lvextend -L &lt;SIZE_IN_MB&gt;&lt;BR /&gt;&lt;BR /&gt;Later,&lt;BR /&gt;&lt;/SIZE_IN_MB&gt;&lt;/SIZE_IN_EXTENDS&gt;</description>
      <pubDate>Fri, 05 Oct 2001 08:18:54 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/create-new-logical-volume/m-p/2590155#M647601</guid>
      <dc:creator>Marcin Wicinski</dc:creator>
      <dc:date>2001-10-05T08:18:54Z</dc:date>
    </item>
    <item>
      <title>Re: Create new Logical Volume</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/create-new-logical-volume/m-p/2590156#M647602</link>
      <description>&lt;BR /&gt;Looks good, it will create a 1500 MB lvol, but when you create the symbolic link you want it to point to the raw lvol, rsdata, not sdata.&lt;BR /&gt;&lt;BR /&gt;Im not sure why you do it this way, creating a link from a filename called X.dbf pointing to a raw lvol, normally oracle raw databases are handled without such links (?)&lt;BR /&gt;</description>
      <pubDate>Fri, 05 Oct 2001 08:19:59 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/create-new-logical-volume/m-p/2590156#M647602</guid>
      <dc:creator>Stefan Farrelly</dc:creator>
      <dc:date>2001-10-05T08:19:59Z</dc:date>
    </item>
    <item>
      <title>Re: Create new Logical Volume</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/create-new-logical-volume/m-p/2590157#M647603</link>
      <description>This is fine as long as you have 1500Mb free on /dev/dsk/c6t0d4.  I presume that the c6t0d4 device is a RAID device so you don't have to worry about mirroring the data at an O/S level.  Another thing is why specify the device in the first place ?.  A lvextend without the /dev/dsk/? on the end will extend the LV to the next available extents.</description>
      <pubDate>Fri, 05 Oct 2001 11:32:00 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/create-new-logical-volume/m-p/2590157#M647603</guid>
      <dc:creator>John Waller</dc:creator>
      <dc:date>2001-10-05T11:32:00Z</dc:date>
    </item>
    <item>
      <title>Re: Create new Logical Volume</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/create-new-logical-volume/m-p/2590158#M647604</link>
      <description>NO,&lt;BR /&gt;&lt;BR /&gt;/dev/vgoracle/sdata1 is the block device.&lt;BR /&gt;&lt;BR /&gt;You need to use the character device !!!&lt;BR /&gt;&lt;BR /&gt;/dev/vgoracle/rsdata1&lt;BR /&gt;&lt;BR /&gt;Second:&lt;BR /&gt;After lvcreate, the permissions on the rawdevice usally are 644 for root. You might need to adjust to get access for the oracle user, i.e.&lt;BR /&gt;&lt;BR /&gt;chown oracle:dba /dev/vgoracle/rsdata1&lt;BR /&gt;chmod 600 /dev/vgoracle/rsdata1&lt;BR /&gt;&lt;BR /&gt;Third:&lt;BR /&gt;lvextend may round up to the next PE size ! So the volume might be bigger than expected. Check the real size with lvdisplay after lvextend.&lt;BR /&gt;&lt;BR /&gt;Fourth:&lt;BR /&gt;When you use the device in Oracle, give a little spare space to the size, in case HP and Oracle programming guys have diffrent views about GB / MB / KB ( 1000 &amp;lt;-&amp;gt; 1024 ), so that you are not leaving the rawdevice at the edge. This might cause errors.&lt;BR /&gt;&lt;BR /&gt;Hope this helps&lt;BR /&gt;Volker&lt;BR /&gt;</description>
      <pubDate>Fri, 05 Oct 2001 12:16:48 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/create-new-logical-volume/m-p/2590158#M647604</guid>
      <dc:creator>Volker Borowski</dc:creator>
      <dc:date>2001-10-05T12:16:48Z</dc:date>
    </item>
    <item>
      <title>Re: Create new Logical Volume</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/create-new-logical-volume/m-p/2590159#M647605</link>
      <description>Hi&lt;BR /&gt;You may want to change the ownership of raw volume to oracle before creating the links.&lt;BR /&gt;#chown oracle:dba /dev/vgoracle/rsdata1&lt;BR /&gt;Also change permissions to 755&lt;BR /&gt;#chmod 755 /dev/vgoracle/rsdata1 &lt;BR /&gt;&lt;BR /&gt;Thanks.&lt;BR /&gt;Prashant.&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Fri, 05 Oct 2001 13:15:02 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/create-new-logical-volume/m-p/2590159#M647605</guid>
      <dc:creator>Deshpande Prashant</dc:creator>
      <dc:date>2001-10-05T13:15:02Z</dc:date>
    </item>
    <item>
      <title>Re: Create new Logical Volume</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/create-new-logical-volume/m-p/2590160#M647606</link>
      <description>Hello Michael,&lt;BR /&gt;&lt;BR /&gt;to modify Prashant recommendation a little bit:&lt;BR /&gt;chmod 664 /dev/...&lt;BR /&gt;&lt;BR /&gt;for the x-permission is not needed for data files/volumes,&lt;BR /&gt;but you may have processes running in group "dba",&lt;BR /&gt;but not being user "oracle"...&lt;BR /&gt;&lt;BR /&gt;Just my ?0.02,&lt;BR /&gt;Wodisch</description>
      <pubDate>Fri, 05 Oct 2001 15:25:34 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/create-new-logical-volume/m-p/2590160#M647606</guid>
      <dc:creator>Wodisch</dc:creator>
      <dc:date>2001-10-05T15:25:34Z</dc:date>
    </item>
    <item>
      <title>Re: Create new Logical Volume</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/create-new-logical-volume/m-p/2590161#M647607</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;The other guys are correct in the advice given,&lt;BR /&gt;I would like to add one further thing, and that&lt;BR /&gt;is how to check whether you have enough space &lt;BR /&gt;to begin with.&lt;BR /&gt;&lt;BR /&gt;# vgdisplay -v /dev/vgoracle&lt;BR /&gt;&lt;BR /&gt;and note both the information in header which&lt;BR /&gt;indicates the space available and the in &lt;BR /&gt;section which relates directly to the disk&lt;BR /&gt;that you want to use.&lt;BR /&gt;&lt;BR /&gt;My 3 cents worth&lt;BR /&gt;Good Luck&lt;BR /&gt;-Michael</description>
      <pubDate>Sat, 06 Oct 2001 19:58:11 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/create-new-logical-volume/m-p/2590161#M647607</guid>
      <dc:creator>Michael Tully</dc:creator>
      <dc:date>2001-10-06T19:58:11Z</dc:date>
    </item>
  </channel>
</rss>

