HPE GreenLake Administration
- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Memory based filesystems
Operating System - HP-UX
1830898
Members
3019
Online
110017
Solutions
Forums
Categories
Company
Local Language
back
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Discussions
back
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
Blogs
Information
Community
Resources
Community Language
Language
Forums
Blogs
Go to solution
Topic Options
- 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
03-28-2001 03:34 AM
03-28-2001 03:34 AM
Hi,
Is it possible to create a memory-based filesystem on HP-UX 10.20 or 11.0? I've done this before on Sun (tmpfs) and DEC (mfs) but can't find the equivalent on HP.
Thanks all,
Charles.
Is it possible to create a memory-based filesystem on HP-UX 10.20 or 11.0? I've done this before on Sun (tmpfs) and DEC (mfs) but can't find the equivalent on HP.
Thanks all,
Charles.
Solved! Go to Solution.
2 REPLIES 2
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-28-2001 03:48 AM
03-28-2001 03:48 AM
SolutionFor HP-UX 11 do;
1. Modify your kernel to include the "ram" driver:
# cd /stand/build
# /usr/lbin/sysadm/system_prep -v -s system
# vi /stand/build/system
Edit the system file
Add the "ram" driver in alphabetic order with the other drivers
# mk_kernel -s system
# mv /stand/system /stand/system.prev
# cp /stand/vmunix /stand/vmunix.prev
# rm -rf /stand/vmunix/dlkm.prev
# mv /stand/dlkm /stand/dlkm.prev
# mv /stand/build/system /stand/system
# kmupdate
# shutdown -r 0
2. Set up the device files and mount the ramdisk file system:
a. Make device files with
major 9 (both block and char),
minor 0xVSSSSS,
where V is the volume number,
SSSSS is the number of sectors in the ram disk,
and a sector is 256 bytes.
b. # mknod /dev/rram1 c 9 0x101000
# mknod /dev/ram1 b 9 0x101000 # makes a 1 meg ram disk.
# newfs -F hfs /dev/rram1
# mount /dev/ram1 /ramdisk
For HP-UX 10.20, there is no kmupdate command
so do as follows:
1. Modify your kernel to include the "ram" driver:
# cd /stand/build
# /usr/lbin/sysadm/system_prep -v -s system
# vi /stand/build/system
Edit the system file
Add the "ram" driver in alphabetic order with the other drivers
# mk_kernel -s system
# mv /stand/system /stand/system.prev
# cp /stand/vmunix /stand/vmunix.prev
# mv /stand/build/system /stand/system
# mv /stand/build/vmunix_test /stand/vmunix
# shutdown -r 0
2. Set up the device files and mount the ramdisk file system:
a. Make device files with
major 9 (both block and char),
minor 0xVSSSSS,
where V is the volume number,
SSSSS is the number of sectors in the ram disk,
and a sector is 64 (not 256) bytes.
# mknod /dev/rram1 c 9 0x9FF000
# mknod /dev/ram1 b 9 0x9FF000
# newfs -F hfs /dev/rram1
# mount /dev/ram1 /ramdisk
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-28-2001 03:53 AM
03-28-2001 03:53 AM
Re: Memory based filesystems
Create a secondary swap:
lvcreate -L xxx /dev/vg00/lvolx
edit /etc/fstab with:
/dev/vg00/lvolx /swap swap pri=2 0 0
enabling swap with:swapon -a
verify:swapinfo
and mount /dev/vg00/lvolx /swap.
lvcreate -L xxx /dev/vg00/lvolx
edit /etc/fstab with:
/dev/vg00/lvolx /swap swap pri=2 0 0
enabling swap with:swapon -a
verify:swapinfo
and mount /dev/vg00/lvolx /swap.
The opinions expressed above are the personal opinions of the authors, not of Hewlett Packard Enterprise. By using this site, you accept the Terms of Use and Rules of Participation.
Company
Events and news
Customer resources
© Copyright 2025 Hewlett Packard Enterprise Development LP