Operating System - HP-UX
1833752 Members
2780 Online
110063 Solutions
New Discussion

Re: mkisofs file size limitations

 
jmazzaro
Occasional Contributor

mkisofs file size limitations

Greetings,

I'm trying to make DVD Golden Images of my HPUX servers for DR, and I'm running into a problem that I believe is due to mkisofs. The DVDs seem fine. They boot. They find the image, and they nearly finish loading. The output goes like this:
Processing 10% of Archive
Processing 20% of Archive
Processing 30% of Archive
Processing 50 % of Archive

somewhere near the end, but before 100%, I get an End of archive error and it asks for a second DVD, which of course desn't exist. Change_media is set to False, and the config seems fine. I think the image is getting truncated by the mkisofs utility. My images are all greater than 2GB, but less than 4GB. Is there some fix or option I need?

My mkisofs commands
RISC
/usr/local/bin/mkisofs -D -R -U -max-iso9660-filenames -eltorito-alt-boot -no-emul-boot -b ${lif[$s]} -o $isotmpdir/$
iname $isotmpdir | tee -a $session

IA
/usr/local/bin/mkisofs -D -R -U -max-iso9660-filenames -no-emul-boot -b EFI_CD_image -eltorito-alt-boot -no-emul-boot
-b ${lif[$s]} -o $isotmpdir/$iname $isotmpdir | tee -a $session
4 REPLIES 4
V. Nyga
Honored Contributor

Re: mkisofs file size limitations

Hi,

you're not burning the DVD with mkisofs, right?

I believe you have the problem, that your filesystem is not configured for largefiles.
So you only can create files of 2GB.

HTH
Volkmar
*** Say 'Thanks' with Kudos ***
V. Nyga
Honored Contributor

Re: mkisofs file size limitations

Hi again,

to check this:
fstyp -v /dev/vg00/lvol3 |grep -i f_flag
if
f_flag: 0 - max 2GB
f_flag: 16 - max 8GB

V.
*** Say 'Thanks' with Kudos ***
jmazzaro
Occasional Contributor

Re: mkisofs file size limitations

That was a good suggestion. Unfortunately, I think it's not the problem:
fstyp -v /dev/vx/dsk/ignitedg/ignitevol | grep -i f_flag
f_flag: 16


I recorded the error:
gunzip: stdin: unexpected end of file
pax_iux ready for volume 2

I'm burning the ISO to DVD using ImgBurn.

The iso's are created on a samba share and I'm burning them to a DVD player over the network. they seem fine, other than this wacky error at the very end of the load.
V. Nyga
Honored Contributor

Re: mkisofs file size limitations

Hi again,

so if you unzip your image of the DVD without booting from it, you get already an error 'unexpected end of file'?
So the image was cut during creation.
How big is the gz-image?
How big unzipped? - More than 8GB?

The next point could be, that your gzip is not supporting more than 2 GB, or your tar if it is also involved.

I've heard that gzip 1.24 can't handle files bigger than 2 GB.

You have to check every step of creation for this cut - or a message like 'end of tape' and something like 'give device to continue'.

HTH
Volkmar
*** Say 'Thanks' with Kudos ***