Chapter 2 HPSS Planning
74 September 2002 HPSS Installation Guide
Release 4.5, Revision 2
6. Now, rebuild the kernel configuration by running the "make config" command and
answering"yes" when questioned about AIO support. The default value of 4096 should be
sufficient for the number of system-wide AIO requests.
At this time, you should also configure the kernel to support your disk or tape devices. If
tape device access is required, be sure to also enable the kernel for SCSI tape support. See
the following section for information on device support on the Linux platform.
Notethat the Linux kernel configuration varibles that control the KAIO facility are CONFIG_AIO
andCONFIG_AIO_MAX .
7. Follow your procedure for rebuilding your Linux kernel. For example:
% make dep
% make bzImage
8. Copythe new kernel image to the boot directory, update the lilo configuration, and recycle
the system. For example:
% cd /boot
% cp /usr/src/linux-2.4.18/arch/i386/boot/bzImage vmlinux-2.4.18
% vi /etc/lilo.conf
% /sbin/lilo
% shutdown -Fr 0
9. Ifyou need to rebuild the HPSS Mover, make a link from/usr/src/linux/include/linux/aio.h
to/usr/include/linux/aio.h. For example:
% cd /usr/include/linux
% ln -s /usr/src/linux-2.4.18/include/linux/aio.h
2.6.10.2 Tape Devices

2.6.10.2.1 AIX

Alltape devices that will be used for HPSS data must be set to handle variable block sizes (to allow
for the ANSI standard 80-byte volume label and file section headers).
To set the devices to use variable blocks on an AIX platform, either use thechdev command
(substituting the appropriate device name forrmt0 - also take into accounts differences in the
interface based on the specific device driver supporting the device):
chdev -l rmt0 -a block_size=0
orsmitty:
smitty tape
<select “Change / Show Characteristics of a Tape Drive”>
<select the appropriate tape device>
<change “BLOCK size (0=variable length)” to “0”>
<enter>