- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- How can I create a ramdrive?
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Discussions
Discussions
Discussions
Forums
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-29-2001 03:20 PM
тАО08-29-2001 03:20 PM
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-29-2001 03:39 PM
тАО08-29-2001 03:39 PM
Re: How can I create a ramdrive?
http://us-support.external.hp.com/cki/bin/doc.pl/sid=9ff1a27e0c26d50b68/screen=ckiDisplayDocument?docId=200000024602486
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-29-2001 06:27 PM
тАО08-29-2001 06:27 PM
Re: How can I create a ramdrive?
The buffer cache will accomplish most of what a ramdisk would provide.
Bill Hassell, sysadmin
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-30-2001 11:48 AM
тАО08-30-2001 11:48 AM
Solutionin case you still want to know how to do it, the way it
worked some years ago - I have not tried this for quite
some time: ("#" means a comment line)
0) # create a "make_tape_recovery" tape for your box!
1) #Modify your kernel to include the "ram" driver:
1) cd /stand/build
1) /usr/lbin/sysadm/system_prep -v -s system
1) vi /stand/build/system
1) # Edit the system file and add the "ram" driver
1) mk_kernel -s system
1) mv /stand/system /stand/system.good
1) cp /stand/vmunix /stand/vmunix.good
1) rm -rf /stand/vmunix/dlkm.good
1) mv /stand/dlkm /stand/dlkm.good
1) mv /stand/build/system /stand/system
1) kmupdate
1) shutdown -y -r 0
2) # set up the device files and mount the ramdisk:
2) # create the device files with major 9 (both b and c),
2) # and minor 0xVSSSSS, where "V" is the volume num,
2) # and "SSSSS" is the number of sectors in the ram
2) # disk, each sector is 256 bytes.
2) mknod /dev/rram1 c 9 0x101000
2) mknod /dev/ram1 b 9 0x101000 # that's 1MB
2) mkfs -F hfs /dev/rram1 # no point in VxFS here
2) mount /dev/ram1 /ramdisk
As everybody (especially Bill :-) pointed out:
THIS IS UNSUPPORTED, dangerous, and such...
HTH,
Wodisch
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-12-2005 05:08 AM
тАО12-12-2005 05:08 AM
Re: How can I create a ramdrive?
"V" - is the volume num
"SSSS" - is the number of sectors
"X" - is defined as "bit flags":
0x0 - use a sector size of 1kb.
0x1 - use a secotr size of 64kb.
0x2 - don't use buffer cache.