<?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: linking a raw device in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/linking-a-raw-device/m-p/2592985#M647706</link>
    <description>hi Clay,&lt;BR /&gt;&lt;BR /&gt;  Your very experience then, your right Im out of space on one of my vg, but im wondering the purpose of rlvol4orig character dev and lvol4orig block dev that you made co'z your not using it on step 3.&lt;BR /&gt;&lt;BR /&gt;tnx,&lt;BR /&gt;joks</description>
    <pubDate>Fri, 12 Oct 2001 00:01:14 GMT</pubDate>
    <dc:creator>jok llamera</dc:creator>
    <dc:date>2001-10-12T00:01:14Z</dc:date>
    <item>
      <title>linking a raw device</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/linking-a-raw-device/m-p/2592982#M647703</link>
      <description>hi fellas,&lt;BR /&gt;&lt;BR /&gt;Before I have suceesfully link(symbolic) a RAW device from deferent volume group, I came out with the same output with the size(Mb) when I cammand;&lt;BR /&gt;lvdisplay -v /dev/src_vg/src_lv and &lt;BR /&gt;lvdisplay -v /dev/lnk_vg/lnk_lv &lt;BR /&gt;&lt;BR /&gt;I am wondering why this time when I created a 2048MB LV and command lvdisplay with the link, it only reflected 32Mb..I have recreated the source LV and the symbolic link but the same thing happen.&lt;BR /&gt;&lt;BR /&gt;Is there someone can advice me..&lt;BR /&gt;&lt;BR /&gt;thanks,&lt;BR /&gt;joks&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Thu, 11 Oct 2001 06:28:55 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/linking-a-raw-device/m-p/2592982#M647703</guid>
      <dc:creator>jok llamera</dc:creator>
      <dc:date>2001-10-11T06:28:55Z</dc:date>
    </item>
    <item>
      <title>Re: linking a raw device</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/linking-a-raw-device/m-p/2592983#M647704</link>
      <description>jok,&lt;BR /&gt;&lt;BR /&gt;Why do you want to create links to lvs from other volume groups?.I am hearing it for the first time.&lt;BR /&gt;&lt;BR /&gt;Now, if your lnk_vg already has a logical volume that has the same minor number as of the linked logical volume, you may get into problems like what you have now. It will display the size of the logical volume in the lnk_vg that has this minor number.&lt;BR /&gt;&lt;BR /&gt;But I am still confused why you are doing like this.&lt;BR /&gt;&lt;BR /&gt;-Sri</description>
      <pubDate>Thu, 11 Oct 2001 16:46:30 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/linking-a-raw-device/m-p/2592983#M647704</guid>
      <dc:creator>Sridhar Bhaskarla</dc:creator>
      <dc:date>2001-10-11T16:46:30Z</dc:date>
    </item>
    <item>
      <title>Re: linking a raw device</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/linking-a-raw-device/m-p/2592984#M647705</link>
      <description>I'm taking a wild guess here but I suspect that you are using Oracle raw devices and you can't extend the lvol in the vg that it is currently in. To avoid this problem, I always use names like 'myfile01.dbf' and then symbolically link that to /dev/vg02/rlvol4, for example.&lt;BR /&gt;&lt;BR /&gt;However, you probably actually need /dev/vg02/rlvol4 but you need to link it to /dev/vg05/rlov1 (for example) for space reasons.&lt;BR /&gt;&lt;BR /&gt;I think this will work:&lt;BR /&gt;1) clean up your old junk.&lt;BR /&gt;   cd /dev/vg02&lt;BR /&gt;   rm lvol4 rlvol4&lt;BR /&gt;2) make new nodes in vg02&lt;BR /&gt;   mknod rlvol4orig c 64 0x020004&lt;BR /&gt;   mknod lvol4orig  b 64 0x020004&lt;BR /&gt;   (Your major &amp;amp; minor devices numbers will differ)&lt;BR /&gt;3) ln -s /dev/vg05/rlvol1 /dev/vg02/rlvol4&lt;BR /&gt;4) chown oracle:oracle /dev/vg05/rlvol1&lt;BR /&gt;   chmod 660 /dev/vg05/rlvol1&lt;BR /&gt;&lt;BR /&gt;I THINK this will work and keep lvdisplay and vgdisplay happy.&lt;BR /&gt;&lt;BR /&gt;Clay</description>
      <pubDate>Thu, 11 Oct 2001 17:29:33 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/linking-a-raw-device/m-p/2592984#M647705</guid>
      <dc:creator>A. Clay Stephenson</dc:creator>
      <dc:date>2001-10-11T17:29:33Z</dc:date>
    </item>
    <item>
      <title>Re: linking a raw device</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/linking-a-raw-device/m-p/2592985#M647706</link>
      <description>hi Clay,&lt;BR /&gt;&lt;BR /&gt;  Your very experience then, your right Im out of space on one of my vg, but im wondering the purpose of rlvol4orig character dev and lvol4orig block dev that you made co'z your not using it on step 3.&lt;BR /&gt;&lt;BR /&gt;tnx,&lt;BR /&gt;joks</description>
      <pubDate>Fri, 12 Oct 2001 00:01:14 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/linking-a-raw-device/m-p/2592985#M647706</guid>
      <dc:creator>jok llamera</dc:creator>
      <dc:date>2001-10-12T00:01:14Z</dc:date>
    </item>
    <item>
      <title>Re: linking a raw device</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/linking-a-raw-device/m-p/2592986#M647707</link>
      <description>I am not sure if your lvdisplay works this way  because the minor number of the lvol doesn't belong to the category of the "group" file.&lt;BR /&gt;&lt;BR /&gt;For ex., in lnk_vg has the group minor 0x0b0000&lt;BR /&gt;and src_vg has ox0a0000&lt;BR /&gt;&lt;BR /&gt;Let's say src_lv in src_vg is 0x0a0001&lt;BR /&gt;when you link /dev/src_vg/src_lv to link_vg/lnk_lv, it still maintains the minor number 0x0a0001 which doesn't fall under the group 0x0b0000&lt;BR /&gt;&lt;BR /&gt;So lvdisplay /dev/lnk_vg/lnk_lv/will show nothing or the size of the lvol in lnk_vg that has the minor number 0x0b0001.&lt;BR /&gt;&lt;BR /&gt;But this works within the volume group.&lt;BR /&gt;&lt;BR /&gt;#ln -s /dev/src_vg/src_lv /dev/src_vg/src_lv1&lt;BR /&gt;#ln -s /dev/src_vg/rsrc_lv /dev/src_vg/rsrc_lv1&lt;BR /&gt;(you can create any number of links and all will show the correct information)&lt;BR /&gt;But this is definitly what you don't want.&lt;BR /&gt;&lt;BR /&gt;However, if you don't mind the lvdisplay output, the solution still works as your oracle links will treat this as a simple linked file and follow it to src_vg.&lt;BR /&gt;&lt;BR /&gt;-Sri&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Fri, 12 Oct 2001 01:05:25 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/linking-a-raw-device/m-p/2592986#M647707</guid>
      <dc:creator>Sridhar Bhaskarla</dc:creator>
      <dc:date>2001-10-12T01:05:25Z</dc:date>
    </item>
  </channel>
</rss>

