Operating System - HP-UX
1753835 Members
7368 Online
108806 Solutions
New Discussion юеВ

Re: make_sys_image size issue

 
SOLVED
Go to solution
MikeL_4
Super Advisor

make_sys_image size issue


I am running a make_sys_image to try and create a bootable DVD. I have run a cleanup -c 1 to cleanup any superseeded patches, and I have created a file with +NO_ARCHIVE and a list of directories not to include in the make_sys_image.

When I run the make_sys_image it is creating a 7.3Gb image file, and the size of an archive file from a normal make_net_recovery is only 2.5Gb in size.

Why such a big difference and what can I do to get the size down on the make_sys_image to be able to create a DVD ?
3 REPLIES 3
John Payne_2
Honored Contributor
Solution

Re: make_sys_image size issue

Mike,

When this happens to me, it's always as a result of my forgetting to exclude the actual .gz image from make_sys_image

If I forget to update the:

/var/opt/logs/hostname.gz

entry in the LEVEL2_NO_ARCHIVE section, I get into a loop. (/var/opt/logs is where I stick my image in, nothing special about it.)

The other possiblility is that you have other Volume Groups you are picking up in your image, where make_net_recovery is only grabbing vg00.

Hope it helps
John
Spoon!!!!
MikeL_4
Super Advisor

Re: make_sys_image size issue

Unless I am not using the exclude file correctly, here is what I am entering:

/opt/ignite/data/scripts/make_sys_image \
-s local -d /var/tmp/image/archives \
-f /var/tmp/image/exclude_file -n B.11.11_archive.gz

I write our image in /var/tmp/image/archives

My exclude file has:
+NO_ARCHIVE
/var/tmp/image
/var/opt/ignite
MikeL_4
Super Advisor

Re: make_sys_image size issue

Thanks John, I found what I had wrong in the exclude file, I reran the make_sys_image and it's about 2.5Gb now...