<?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: Creating raw filesystems in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/creating-raw-filesystems/m-p/2893209#M103404</link>
    <description>Hi Joe,&lt;BR /&gt;&lt;BR /&gt;Create logical volumes with the normal procedure. Don't run newfs on them. Change permissions /dev/vg02/*lvol* to them so that they can access rlvol*.&lt;BR /&gt;&lt;BR /&gt;Ex.,&lt;BR /&gt;&lt;BR /&gt;#lvcreate -n lvol1 -L size_in_mb vg02&lt;BR /&gt;&lt;BR /&gt;(no newfs here)&lt;BR /&gt;&lt;BR /&gt;#chown oracle:dba /dev/vg02/*lvol*&lt;BR /&gt;&lt;BR /&gt;-Sri</description>
    <pubDate>Thu, 30 Jan 2003 17:32:56 GMT</pubDate>
    <dc:creator>Sridhar Bhaskarla</dc:creator>
    <dc:date>2003-01-30T17:32:56Z</dc:date>
    <item>
      <title>Creating raw filesystems</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/creating-raw-filesystems/m-p/2893208#M103403</link>
      <description>Team:&lt;BR /&gt;&lt;BR /&gt; We have a requirement to create raw slices for oracle. I quite do not understand what that means and how you would create it. They want it to be created on vg02. Please let me know how to do it.&lt;BR /&gt;&lt;BR /&gt;Thanks&lt;BR /&gt;Joe.</description>
      <pubDate>Thu, 30 Jan 2003 17:29:06 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/creating-raw-filesystems/m-p/2893208#M103403</guid>
      <dc:creator>joe_91</dc:creator>
      <dc:date>2003-01-30T17:29:06Z</dc:date>
    </item>
    <item>
      <title>Re: Creating raw filesystems</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/creating-raw-filesystems/m-p/2893209#M103404</link>
      <description>Hi Joe,&lt;BR /&gt;&lt;BR /&gt;Create logical volumes with the normal procedure. Don't run newfs on them. Change permissions /dev/vg02/*lvol* to them so that they can access rlvol*.&lt;BR /&gt;&lt;BR /&gt;Ex.,&lt;BR /&gt;&lt;BR /&gt;#lvcreate -n lvol1 -L size_in_mb vg02&lt;BR /&gt;&lt;BR /&gt;(no newfs here)&lt;BR /&gt;&lt;BR /&gt;#chown oracle:dba /dev/vg02/*lvol*&lt;BR /&gt;&lt;BR /&gt;-Sri</description>
      <pubDate>Thu, 30 Jan 2003 17:32:56 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/creating-raw-filesystems/m-p/2893209#M103404</guid>
      <dc:creator>Sridhar Bhaskarla</dc:creator>
      <dc:date>2003-01-30T17:32:56Z</dc:date>
    </item>
    <item>
      <title>Re: Creating raw filesystems</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/creating-raw-filesystems/m-p/2893210#M103405</link>
      <description>At our site we do one addition step and that is to link the raw partition to some 'logical' directory:&lt;BR /&gt;&lt;BR /&gt;ln -s /dev/vg02/rFile /oracle/InstanceName/newdirname</description>
      <pubDate>Thu, 30 Jan 2003 18:00:29 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/creating-raw-filesystems/m-p/2893210#M103405</guid>
      <dc:creator>Iona B. Marley</dc:creator>
      <dc:date>2003-01-30T18:00:29Z</dc:date>
    </item>
    <item>
      <title>Re: Creating raw filesystems</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/creating-raw-filesystems/m-p/2893211#M103406</link>
      <description>Hi Joe,&lt;BR /&gt;&lt;BR /&gt;Creating a raw volume is identical to creating a cooked volume with the exception of leaving out the step of creating the FS.&lt;BR /&gt;&lt;BR /&gt;pvcreate (-f) /dev/rdsk/cxtydz&lt;BR /&gt;mkdir /dev/vg02&lt;BR /&gt;mknod group -c 64 0x020000&lt;BR /&gt;vgcreate vg02 /dev/dsk/cxtydz&lt;BR /&gt;lvcreate -l #_extents -n lvol_name vg02&lt;BR /&gt;mkdir /mnt_poimt&lt;BR /&gt;mount /dev/vg02/rlvol_name /mnt_point&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Note there's NO newfs command in there and that you mount the rlvol_name &amp;amp; not the cooked LV.&lt;BR /&gt;Also I'd recommend you put a commented note in /etc/fstab to indicate the existence of this raw volume.&lt;BR /&gt;&lt;BR /&gt;Rgds,&lt;BR /&gt;Jeff</description>
      <pubDate>Thu, 30 Jan 2003 18:01:39 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/creating-raw-filesystems/m-p/2893211#M103406</guid>
      <dc:creator>Jeff Schussele</dc:creator>
      <dc:date>2003-01-30T18:01:39Z</dc:date>
    </item>
    <item>
      <title>Re: Creating raw filesystems</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/creating-raw-filesystems/m-p/2893212#M103407</link>
      <description>1 - raw filesystem is an contradiction in terms!!!  A raw device is one that is a character device, as seen from ls -l.&lt;BR /&gt;&lt;BR /&gt;cd /dev/vg02&lt;BR /&gt;ls -l&lt;BR /&gt;crw-rw-r-- root sys 64 0x020000 group&lt;BR /&gt;brw-rw-r-- root sys 64 0x020001 lvol1&lt;BR /&gt;crw-rw-r-- root sys 64 0x020001 rlvol1&lt;BR /&gt;&lt;BR /&gt;rlvol1 - raw or character device&lt;BR /&gt;lvol1 - block device&lt;BR /&gt;&lt;BR /&gt;That said..... you do not need to "cook" (newfs or fsadm) the logical volume, just point the DB at the device (e.g. /dev/vg02/rlvol1).  However I would use a layer of indirection so that the database is more "portable" (you may need to recover it onto another computer)&lt;BR /&gt;&lt;BR /&gt;as an example&lt;BR /&gt;cd /opt/oracle/databaselinks/&lt;BR /&gt;ln -s /dev/vg02/rlvol1 &lt;NAME&gt;&lt;BR /&gt;&lt;BR /&gt;I would choose something meaningfile for name like dbsdata1_chk1.&lt;BR /&gt;&lt;BR /&gt;You will probably need to change the permissions of the device say&lt;BR /&gt;rw-rw---- oracle oracle&lt;BR /&gt;chmod 660 /dev/vg02/rlvol1&lt;BR /&gt;chown oracle:oracle /dev/vg02/rlvol1&lt;BR /&gt;&lt;BR /&gt;good luck&lt;BR /&gt;&lt;BR /&gt;Tim&lt;BR /&gt;&lt;BR /&gt;&lt;/NAME&gt;</description>
      <pubDate>Thu, 30 Jan 2003 20:57:28 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/creating-raw-filesystems/m-p/2893212#M103407</guid>
      <dc:creator>Tim D Fulford</dc:creator>
      <dc:date>2003-01-30T20:57:28Z</dc:date>
    </item>
    <item>
      <title>Re: Creating raw filesystems</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/creating-raw-filesystems/m-p/2893213#M103408</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;like the other already said: "raw" means NO filesystem, no data structure known to UN*X.&lt;BR /&gt;And as the oracle DBA your just use the device file, where you usually would enter the data-file-name to be created.&lt;BR /&gt;But you have to be pretty careful with the size, as oracle needs a few MBs at the start of the raw-device for itself, so a 100MB raw-device would NOT give you 100MB of space...&lt;BR /&gt;&lt;BR /&gt;FWIW,&lt;BR /&gt;Wodisch</description>
      <pubDate>Thu, 30 Jan 2003 23:46:34 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/creating-raw-filesystems/m-p/2893213#M103408</guid>
      <dc:creator>Wodisch</dc:creator>
      <dc:date>2003-01-30T23:46:34Z</dc:date>
    </item>
    <item>
      <title>Re: Creating raw filesystems</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/creating-raw-filesystems/m-p/2893214#M103409</link>
      <description>Hi Jeff,&lt;BR /&gt;  If I am not wrong I think we cannot mount the raw file system. So the last 2 command what u have mentioned will not be applicable for raw FS. We can mount only if we have any FS(used by newfs) on the logical volume. &lt;BR /&gt;  Correct me if there is any way to mount the Raw FS using mount command.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;- Suki</description>
      <pubDate>Fri, 31 Jan 2003 02:47:54 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/creating-raw-filesystems/m-p/2893214#M103409</guid>
      <dc:creator>suki</dc:creator>
      <dc:date>2003-01-31T02:47:54Z</dc:date>
    </item>
    <item>
      <title>Re: Creating raw filesystems</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/creating-raw-filesystems/m-p/2893215#M103410</link>
      <description>Joe,&lt;BR /&gt;&lt;BR /&gt;Follow what Sridhar and Jeff have mentioned.&lt;BR /&gt;&lt;BR /&gt;I also have raw filesystems for oracle on my servers.&lt;BR /&gt;&lt;BR /&gt;For raw filesystems you don't have to format the filesystem hence, you don't run the newfs command.&lt;BR /&gt;&lt;BR /&gt;Just do an lvcreate and leave it at that.&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;Anil</description>
      <pubDate>Fri, 31 Jan 2003 22:51:35 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/creating-raw-filesystems/m-p/2893215#M103410</guid>
      <dc:creator>Anil C. Sedha</dc:creator>
      <dc:date>2003-01-31T22:51:35Z</dc:date>
    </item>
  </channel>
</rss>

