Memory File System (MemFS) 2.0 for HP-UX 11i v3
2 Installing, Configuring, Tuning, and Removing HP-UX
Memory File System
This chapter describes how to install, configure, tune and remove HP-UX Memory File
System (MemFS).
The following topics are discussed:
• Installing HP-UX Memory File System
• Configuring Memory File System
• Tuning Memory File System
• Removing Memory File System
2.1 Installing HP-UX Memory File System
You can install HP-UX Memory File System (MemFS) either non-interactively or
interactively.
2.1.1 Installing HP-UX MemFS in the Non-Interactive Mode
To install MemFS in non-interactive mode, enter the following command:
# swinstall -x reinstall=false -x autoreboot=true -s <depot-path> MemFS
2.1.2 Installing MemFS in the Interactive Mode
To install MemFS in interactive mode, enter the following command:
# swinstall -x reinstall=false -x autoreboot=true -s <depot-path>
2.1.3 Configuring Memory File System
A MemFS instance can be created either through a mount(1m) command, or
automatically through an entry in the /etc/fstab file or by calling mount(2m)
system call.
Following is the syntax for mounting an MemFS instance using the mount(1)
command:
# /usr/sbin/mount -F memfs [-eQV] [-o
size=<size>,ninode=<ninode>,mode=<mode>,user=<user>,group=<group>,remount]
directory
For example, to create a MemFS instance of size 100MB with 10000 inodes and mounting
it on/memfs:
# /usr/sbin/mount -F memfs -o size=100MB,ninode=10000 /memfs
To create a MemFS instance of size 100 MB with file limit to 500, root permissions set
to 0777, owner as user ID 20 and group as group ID 40 on /mnt:
2.1 Installing HP-UX Memory File System 15