<?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 can I create a ramdrive? in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/how-can-i-create-a-ramdrive/m-p/2572475#M794818</link>
    <description>Hello Guy,&lt;BR /&gt;&lt;BR /&gt;in case you still want to know how to do it, the way it&lt;BR /&gt;worked some years ago - I have not tried this for quite&lt;BR /&gt;some time: ("#" means a comment line)&lt;BR /&gt;&lt;BR /&gt;0) # create a "make_tape_recovery" tape for your box!&lt;BR /&gt;&lt;BR /&gt;1) #Modify your kernel to include the "ram" driver:&lt;BR /&gt;1) cd /stand/build&lt;BR /&gt;1) /usr/lbin/sysadm/system_prep -v -s system&lt;BR /&gt;1) vi /stand/build/system&lt;BR /&gt;1) # Edit the system file and add the "ram" driver &lt;BR /&gt;1) mk_kernel -s system&lt;BR /&gt;1) mv /stand/system /stand/system.good&lt;BR /&gt;1) cp /stand/vmunix /stand/vmunix.good&lt;BR /&gt;1) rm -rf /stand/vmunix/dlkm.good&lt;BR /&gt;1) mv /stand/dlkm /stand/dlkm.good&lt;BR /&gt;1) mv /stand/build/system /stand/system&lt;BR /&gt;1) kmupdate&lt;BR /&gt;1) shutdown -y -r 0&lt;BR /&gt;&lt;BR /&gt;2) # set up the device files and mount the ramdisk:&lt;BR /&gt;2) # create the device files with major 9 (both b and c),&lt;BR /&gt;2) # and minor 0xVSSSSS, where "V" is the volume num,&lt;BR /&gt;2) # and "SSSSS" is the number of sectors in the ram &lt;BR /&gt;2) # disk, each sector is 256 bytes.&lt;BR /&gt;2) mknod /dev/rram1 c 9 0x101000&lt;BR /&gt;2) mknod /dev/ram1  b 9 0x101000     # that's 1MB&lt;BR /&gt;2) mkfs -F hfs /dev/rram1     # no point in VxFS here&lt;BR /&gt;2) mount /dev/ram1 /ramdisk&lt;BR /&gt;&lt;BR /&gt;As everybody (especially Bill :-) pointed out:&lt;BR /&gt;THIS IS UNSUPPORTED, dangerous, and such...&lt;BR /&gt;&lt;BR /&gt;HTH,&lt;BR /&gt;   Wodisch</description>
    <pubDate>Thu, 30 Aug 2001 18:48:51 GMT</pubDate>
    <dc:creator>Wodisch</dc:creator>
    <dc:date>2001-08-30T18:48:51Z</dc:date>
    <item>
      <title>How can I create a ramdrive?</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/how-can-i-create-a-ramdrive/m-p/2572472#M794815</link>
      <description>How can I create a ram drive under HP-UX 11?  I want to use ram as disk space to increase disk I/O performance.  This application needs to  think it is writing and reading to/from a disk.</description>
      <pubDate>Wed, 29 Aug 2001 22:20:25 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/how-can-i-create-a-ramdrive/m-p/2572472#M794815</guid>
      <dc:creator>Guy Blatt</dc:creator>
      <dc:date>2001-08-29T22:20:25Z</dc:date>
    </item>
    <item>
      <title>Re: How can I create a ramdrive?</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/how-can-i-create-a-ramdrive/m-p/2572473#M794816</link>
      <description>According to this TKB document there was no support for a RAM Disk in HP-UX 8.x, 9.x or 10.x so I seriously doubt there is support in 11.&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://us-support.external.hp.com/cki/bin/doc.pl/sid=9ff1a27e0c26d50b68/screen=ckiDisplayDocument?docId=200000024602486" target="_blank"&gt;http://us-support.external.hp.com/cki/bin/doc.pl/sid=9ff1a27e0c26d50b68/screen=ckiDisplayDocument?docId=200000024602486&lt;/A&gt;</description>
      <pubDate>Wed, 29 Aug 2001 22:39:53 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/how-can-i-create-a-ramdrive/m-p/2572473#M794816</guid>
      <dc:creator>Patrick Wallek</dc:creator>
      <dc:date>2001-08-29T22:39:53Z</dc:date>
    </item>
    <item>
      <title>Re: How can I create a ramdrive?</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/how-can-i-create-a-ramdrive/m-p/2572474#M794817</link>
      <description>The ramdisk driver was designed to be used only with a boot/install kernel and is very limited in maximum size.  It is undocumented because it is not stable from revision to revision.  Changes to the underlying driver are not documented.&lt;BR /&gt;&lt;BR /&gt;The buffer cache will accomplish most of what a ramdisk would provide.</description>
      <pubDate>Thu, 30 Aug 2001 01:27:11 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/how-can-i-create-a-ramdrive/m-p/2572474#M794817</guid>
      <dc:creator>Bill Hassell</dc:creator>
      <dc:date>2001-08-30T01:27:11Z</dc:date>
    </item>
    <item>
      <title>Re: How can I create a ramdrive?</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/how-can-i-create-a-ramdrive/m-p/2572475#M794818</link>
      <description>Hello Guy,&lt;BR /&gt;&lt;BR /&gt;in case you still want to know how to do it, the way it&lt;BR /&gt;worked some years ago - I have not tried this for quite&lt;BR /&gt;some time: ("#" means a comment line)&lt;BR /&gt;&lt;BR /&gt;0) # create a "make_tape_recovery" tape for your box!&lt;BR /&gt;&lt;BR /&gt;1) #Modify your kernel to include the "ram" driver:&lt;BR /&gt;1) cd /stand/build&lt;BR /&gt;1) /usr/lbin/sysadm/system_prep -v -s system&lt;BR /&gt;1) vi /stand/build/system&lt;BR /&gt;1) # Edit the system file and add the "ram" driver &lt;BR /&gt;1) mk_kernel -s system&lt;BR /&gt;1) mv /stand/system /stand/system.good&lt;BR /&gt;1) cp /stand/vmunix /stand/vmunix.good&lt;BR /&gt;1) rm -rf /stand/vmunix/dlkm.good&lt;BR /&gt;1) mv /stand/dlkm /stand/dlkm.good&lt;BR /&gt;1) mv /stand/build/system /stand/system&lt;BR /&gt;1) kmupdate&lt;BR /&gt;1) shutdown -y -r 0&lt;BR /&gt;&lt;BR /&gt;2) # set up the device files and mount the ramdisk:&lt;BR /&gt;2) # create the device files with major 9 (both b and c),&lt;BR /&gt;2) # and minor 0xVSSSSS, where "V" is the volume num,&lt;BR /&gt;2) # and "SSSSS" is the number of sectors in the ram &lt;BR /&gt;2) # disk, each sector is 256 bytes.&lt;BR /&gt;2) mknod /dev/rram1 c 9 0x101000&lt;BR /&gt;2) mknod /dev/ram1  b 9 0x101000     # that's 1MB&lt;BR /&gt;2) mkfs -F hfs /dev/rram1     # no point in VxFS here&lt;BR /&gt;2) mount /dev/ram1 /ramdisk&lt;BR /&gt;&lt;BR /&gt;As everybody (especially Bill :-) pointed out:&lt;BR /&gt;THIS IS UNSUPPORTED, dangerous, and such...&lt;BR /&gt;&lt;BR /&gt;HTH,&lt;BR /&gt;   Wodisch</description>
      <pubDate>Thu, 30 Aug 2001 18:48:51 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/how-can-i-create-a-ramdrive/m-p/2572475#M794818</guid>
      <dc:creator>Wodisch</dc:creator>
      <dc:date>2001-08-30T18:48:51Z</dc:date>
    </item>
    <item>
      <title>Re: How can I create a ramdrive?</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/how-can-i-create-a-ramdrive/m-p/2572476#M794819</link>
      <description>I thought the minor number was actually of the form "0xVSSSSX", where:&lt;BR /&gt;"V" - is the volume num&lt;BR /&gt;"SSSS" - is the number of sectors&lt;BR /&gt;"X" - is defined as "bit flags":&lt;BR /&gt;    0x0 - use a sector size of 1kb.&lt;BR /&gt;    0x1 - use a secotr size of 64kb.&lt;BR /&gt;    0x2 - don't use buffer cache.</description>
      <pubDate>Mon, 12 Dec 2005 13:08:41 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/how-can-i-create-a-ramdrive/m-p/2572476#M794819</guid>
      <dc:creator>John P. Kole</dc:creator>
      <dc:date>2005-12-12T13:08:41Z</dc:date>
    </item>
  </channel>
</rss>

