Operating System - HP-UX
1752288 Members
3248 Online
108786 Solutions
New Discussion юеВ

make_sys_image removes soft links

 
SOLVED
Go to solution

make_sys_image removes soft links

The system I ran make_sys_image on to create a golden image seems to be missing a number of links. I have been looking at the script but can't seem to find out how to restore them.

We were able to fix a couple of then by looking at a comperable system My client is now having trouble compiling and I am not sure how to help them.

Any ideas?
7 REPLIES 7
Robert-Jan Goossens_1
Honored Contributor

Re: make_sys_image removes soft links

Hi Peter,

http://www1.itrc.hp.com/service/cki/docDisplay.do?docLocale=en_US&docId=200000079988752

Title: Recovering system after reboot during make_sys_image
Document ID: KBRC00015741

Hope this helps,
Robert-Jan

Re: make_sys_image removes soft links

It seems the network files were put back properly it was just links that seem to be missing. Here is the log file:

* (find_files; echo find_files $? >>/var/tmp/cmd_res6167) | (/sbin/pax -dwx ustar -f -; echo pax $? >>/var/tmp/cmd_res6167) | (/usr/contrib/bin/gzip; echo gzip $? >>/var/tmp/cmd_res6167 ) >
/ARCHFILEBAK/archive/wmsatla.image
WARNING: The pax command returned a non-zero exit status (exit status 1)
* Cleanup: Do Not interrupt, restoring files, kernel, and transition links.
ERROR: Another instance of tlinstall or tlremove is running
If this is not true, try again after removing the following lock file:
/tmp/__tl.lock
======= 01/31/07 08:16:16 CST END make_sys_image

There is nothing in the /var/tmp/ing_configure directory.

Re: make_sys_image removes soft links

More information:

Another message below talks about how to look in the archive for files. I have the archive and was hoping to try and get the links out of it. I did run the gzcat command but am getting an error:

wmsatlna# /usr/contrib/bin/gzcat wmsatla.image | tar -tvf - > files
wmsatla.image: Value too large to be stored in data type
Tar: blocksize = 0; broken pipe?

I think I am on the right track but still need a bit of help.
Tim Nelson
Honored Contributor
Solution

Re: make_sys_image removes soft links

I ran into the same problem when I interupted a make_sys_image.

The old transition links are removed and then put back during a make_sys_image.

Either just run make_sys_image again and make sure it completes or run the tranistion link command. ( I will look for what it is called ). Another way would just be to add or remove some software as every swinstall/swremove also runs this utility.
Tim Nelson
Honored Contributor

Re: make_sys_image removes soft links

tlinstall is the command to install / put back the transition links like /bin etc..

See man page for more info.

Re: make_sys_image removes soft links

The tlinstall was the ticket! We had been doing it by hand and this is exactly what I needed. Thanks.

Re: make_sys_image removes soft links

tlinstall did it.