Problem
When I try to create an emergency boot floppy disk, this error message occurs:
NOTICE: HTFS: Out of inodes on EAFS dev marry (76/2)
The floppy creation process then fails. Solution
First, make sure you have installed the most recent Release
Supplement for your operating system. Currently, Release
Supplement 5.0.0d is most current for SCO OpenServer Release
5.0.0. No Release Supplement was issued for Release 5.0.2. SCO
OpenServer Release 5.0.4 requires Release Supplement RS504C.If installation of the Release Supplement does not resolve the problem, there are two possible solutions:
1. The best solution is to reduce the number of device nodes
created on the diskette. Many of these devices are not required
in an emergency boot environment, but each requires an inode.To eliminate unwanted device nodes follow these steps:
a. Log in as root.b. Change to the directory /usr/lib/mkdevc. Back up the fd script with the following command:
cp fd fd.origd. Open the file "fd" in the vi text editor and find the following lines:
NOTREQ="aud byte cbd cdt da dup ecc_ eisarom err log marry pa\ prf ptm ptspwr uapm rtc sleeper"
These are the devices from node.d that will be excluded from the root diskette.
e. Change the word "ptspwr" to two words, "pts pwr". If it
is already two words, leave it as is.Change the word "cbd" to "cdb".f. If you have OpenServer 5.0.0 or 5.0.2, add the following words:
merge mpm spm svdsp svkbd vdsp vkbd vmouse spt mpt
Otherwise, if you have OpenServer 5.0.4 or 5.0.5, add the following:
merge mpm spm svdsp svkbd vdsp vkbd vmouseThe line should now look like this on OpenServer 5.0.0/5.0.2:
NOTREQ="aud byte cdb cdt da dup ecc_ eisarom err log marry pa\
prf ptm pts pwr uapm rtc sleeper merge mpm spm svdsp\
svkbd vdsp vkbd vmouse spt mpt"or this on OpenServer 5.0.4/5.0.5:NOTREQ="aud byte cdb cdt da dup ecc_ eisarom err log marry pa\
prf ptm pts pwr uapm rtc sleeper merge mpm spm svdsp\
svkbd vdsp vkbd vmouse tun"g. If you have OpenServer 5.0.0 or 5.0.2, find the following lines:
# Now build the omitted nodes.
rm -f /tmp/extra_nodesAfter the second line, add this line:
ls /dev/[pt]typ? >>/tmp/extra_nodesh. Save the file "fd" and run mkdev fd. You should almost
certainly be able to create the floppy now.i. If you are still running out of inodes, run the following command:
wc -l /etc/conf/node.d/* | sort -nr | moreThis will list all the devices in the link kit along with the
number of nodes that will be created for each. If you see any
you can do without in an emergency boot situation, add that
device name to the NOTREQ list. An example would be if you
have a multiport board or a terminal server configured.j. Always test any boot/root floppy set to be sure you have all the functionality you will need in an emergency recovery situation.
2. Another alternative is to increase the number of inodes on
the diskette. This is not recommended unless absolutely
necessary. Each extra inode will use 128 bytes on the root
filesystem. This will result in fewer utilities being copied
and make the floppy less useful in a recovery situation. If
you still wish to increase the inodes take the following steps:a. Log in as root.b. Change to the directory /usr/lib/mkdevc. Back up the fd script with the following command:
cp fd fd.origd. Open the file "fd" with the vi text editor.
For OpenServer Release 5.0.0 and 5.0.2:Find the line that creates the filesystem:
/etc/mkfs -y -f EAFS /dev/marry/tmp/ramdisk 5120:XXXX>/dev/null 2>&1where "XXXX" is a number. This is the amount of inodes that will
be allocated when "mkdev fd" is invoked. With the Release Supplement
applied, this should be 1000. You can increase this as needed. If
you find you need more than 2048 inodes, you may want to decrease
the number of device nodes instead.For OpenServer Release 5.0.4:Find the line that sets the value of the INODES variable:
INODES=XXXwhere "XXX" is a number. As with the other releases, this is the
number of inodes that will be allocated when "mkdev fd" is invoked.
You can increase this as needed. If you find you need more than
2048 inodes, you may want to decrease the number of device nodes
instead.e. Write the changes to this file.
f. Always test any boot/root floppy set to be sure you have all the functionality you will need in an emergency recovery situation.