3G file burns to -514M file on DVD-R

Fabian Keil freebsd-listen at fabiankeil.de
Sun Jun 19 12:14:56 GMT 2005

"Andrew L. Gould" <algould at datawok.com> wrote:

> I have a gzip'd database backup file that's 3GB in size.  I used mkisofs 
> to create an iso image for burning to a DVD-R.  Both the mkisofs and 
> growisofs process appeared to finish successfully; but 'ls -alh' shows 
> the resulting file to be -514M in size when the DVD-R is mounted in 
> FreeBSD 4.10.  When I mount the dvd in a separate FreeBSD 5.4 system, 
> ls -alh results in 'ls: /cdrom/pgdumpall.gz: Value too large to be 
> stored in data type'.  I ftp'd the original 3GB file from the FreeBSD 
> 4.10 system to the FreeBSD 5.4 system.  ls -alh reads the size of the 
> original file correctly.
> Windows reads the DVD-R and shows the file size correctly.
> I've tried recreating the iso image using -r and -l options and burning 
> the iso file with and without the -dvd-compat option; but the results 
> remain the same.
> Any ideas or advice?

Split your backup file before creating the iso.

At the moment FreeBSD can't handle big files on isofs.
If I remember correctly, big means > 1 GB, but I'm not sure.

You should still be able to extract the file with isoinfo
from the cdrtools port.


More information about the freebsd-questions mailing list