Operating System - HP-UX
1833987 Members
1595 Online
110063 Solutions
New Discussion

make_medialif - missing scripts on CD

 
Heather Keen
Occasional Contributor

make_medialif - missing scripts on CD

I've created an ignite CD, but the additional scripts that I've included aren't accessible.

I used this command to generate the LIF header:
make_medialif -a -r B.10.20 -C "My config" \
-f mycfg1.cfg -f mycfg2.cfg \
-s /var/opt/ignite/scripts/myscript1 \
-s /var/opt/ignite/scripts/myscript2 \
-l mylif
I then combined this with my fs_image and burnt my CD (HFS).

The problem is that when the client starts to build from the CD I get the following error:
...
* Loading_software: Begin

ERROR: source_read failed: Invalid argument (errno = 22).
ERROR: source_read failed: Invalid argument (errno = 22).
ERROR: directory checksum error
ERROR: directory checksum error
ERROR: Missing script "/var/opt/ignite/scripts/myscript1".
ERROR: Missing script "/var/opt/ignite/scripts/myscript2".
...

All my scripts from the /var/opt/ignite/scripts directory are reported as missing.

If I use the -S option on make_medialif instead of the individual -s's, that doesn't work either, but I get a slightly different error message:
...
* Loading_software: Begin

ERROR: source_read failed: Invalid argument (errno = 22).
ERROR: source_read failed: Invalid argument (errno = 22).
ERROR: Tar: error! blocksize changed
ERROR: File: . not found.
NOTE: Retrying loadfile command...
ERROR: Tar: error! blocksize changed
ERROR: File: . not found.
... (more retrys) ...
ERROR: Could not load scripts from the tape.
ERROR: Missing script "/var/opt/ignite/scripts/myscript1".
ERROR: Missing script "/var/opt/ignite/scripts/myscript2".
...

Anyone got any ideas? The Ignite version I'm using is 4.4.30, on HP-UX 11.11.

I've done this before using a tape and it worked fine, but this is the first time I've tried to put my ignite configs onto CD.

I checked the LIF file with and without the scripts, using lifls -l to check the size of the SCRIPTS file, and it does look as though my scripts are being included.