48 EFS Systems on a Linux Base: Getting Started
CICS, IMS™, and WebSphere®. You should consult the AD CD-ROM documentation for
more information about device addresses, volumes available, and IPL options.
5.1.2 Installation tasks
If you let the Linux automount function mount CDs, you can perform the complete AD
installation under the flexes userid. Installation consists of:
Inserting a CD in the drive (and waiting for Linux automount to recognize it)
Using an unzip and ckdconvaws command, piped together
Issuing an umount command to remove the CD
Repeating this process for each CD
The automount window is convenient for confirming the contents of the CD. You might close
this window before you umount the CD.
If loading a CD on your system does not trigger an automount function you can issue the
appropriate commands. You may need to do this from a root window, and in this case using
two windows (one as root and one as flexes) is convenient:
# mount /dev/cdrom /mnt/cdrom (Issue from root)
(Process the CD from a flexes window)
# umount /dev/cdrom
(Remove the CD)
Installing a volume
The output of the unzip command can be piped directly to the ckdconvaws command:
(Insert CD and wait for automount to recognize it)
$ unzip -p /mnt/cdrom/zos14/s4res1.zip | ckdconvaws -r - /s390/S4RES1 3390-3
FSIDC146 Max head = 14, cyl = 3343, blks = 57
FSIDC180 Cylinder nnn completed in mmm milliseconds
FSIDC190 CKD Conversion Completed (3339 cyls copied)
(Close the automount window)
$ umount /dev/cdrom
The ckdconvaws command converts the AWSCKD format (used on the AD systems) to the
FLEX-ES format, and writes to the Linux file indicated.
In this example, the volume being
unzipped is a 3390-3 (and we must tell the ckdconvaws program this). The second operand,
/s390/S4RES1, is the target location for the Linux file that will emulate the S/390 volume.
Enter the command as shown; notice the space before
and after the single dash in the
second part of the command. Use the correct
pipe symbol (long vertical line, sometimes
shown with two sections in the vertical line).
Command speed may appear erratic, with fast cylinder copies followed by long pauses. This
is due to Linux buffering large amounts of disk I/O in memory, and then flushing it to disk.
(This effect is not seen if you are using raw disk interfaces.)
3390-3 volumes are held in two files in the original AWSCKD format. Both these files are
usually placed in the same zip file. The ckdconvaws program handles this transition
Repeat the same process for the other CDs that are to be loaded. For the z/OS 1.4s system,
CD CD File................. Linux File Disk Model
2 /mnt/cdrom/zos14/s4res2.zip /s390/S4RES2 3390-3
The -r option indicates that ckdconvaws should create the output file, if it does not already exist.