How to Increase the Size of the RAMFS with chramfs
Contents
About this document
Procedure
This document describes how to increase the size of the random access
memory filesystem (RAMFS) with the chramfs command.
The following method is used when the restore fails with an out of
space error message. This method only applies to situations where the
system is booted from a Sysback bootable image (tape or network) for a rootvg
installation from a Sysback full system backup. Once booted from the bootable
image, only a certain amount of the system's RAM is allocated to the newly
created virtual filesystem (or RAMFS) that the AIX installation image
(basically a mini-kernel) uses. Although methods exist to alter the default
amount of RAM used by the RAMFS prior to the bootable image being created,
there is no way to increase the size of the RAMFS after bootup except by
employing the /usr/lib/boot/chramfs AIX command. This document discusses how
to use this command with a system booted from a Sysback boot image.
This document applies to all in-service versions of Sysback on any supported
AIX version.
- If the backup was made at Sysback version 4.2.1.6 or later, then skip to
step
4. Otherwise, choose a system on which to build the floppy. This system
should be at the same level of AIX as is contained in the boot image. On a
local tape boot, the chosen system should be at the same OS level as that
of the source system at the time the backup was taken. On a network boot, the
chosen system should be at the same OS level as that of the boot server.
-
Place an initialized floppy in the drive of the chosen system.
-
Enter the following series of commands:
cd /usr/lib/boot
chmod 775 chramfs
backup -ivqf /dev/fd0 ./chramfs
-
Boot the destination machine from Sysback.
- When prompted, choose your console. Wait for the machine to display the
Installation and Maintenance MAIN MENU.
- Choose the Maintenance Shell option.
(For Sysback Version 4.2 and later ONLY, choose Utilities Menu first.)
- Place the floppy in the drive.
- For Sysback versions 4.2.1.6 and higher, enter the following commands:
cd /usr/lib/boot
For all earlier versions of Sysback, enter the following commands:
cd /tmp
restore -xqf /dev/fd0
- Verify the current size of the RAM filesystem by entering the df command.
- Increase the size of the RAM filesystem by two megabytes. Enter:
chramfs 4096
- Verify that the RAM filesystem has increased in size. Enter the df command.
- Return to the Sysback menus. Enter:
exit
How to Increase the Size of the RAMFS with chramfs: ITEM: FAX
Dated: 2000/08/14~00:00 Category: sys
This HTML file was generated 2001/03/08~16:06:09
Comments or suggestions?
Contact us