3G file burns to -514M file on DVD-R
freebsd-listen at fabiankeil.de
Fri Jun 24 18:14:36 GMT 2005
"Andrew L. Gould" <algould at datawok.com> wrote:
> On Sunday 19 June 2005 07:15 am, Fabian Keil wrote:
> > "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.
> > 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.
> Once I've burned the DVD, how can I rejoin the files created using the
> -split-output option so that I can reload the database from the dump
> file? The man pages for mkisofs, isoinfo and split weren't very
> helpful in this regard.
You misunderstood the -split-output option. It splits the image itself,
so that it can be saved on file systems which have trouble with big files.
I guess files splitted with split(1) can be rebuild with cat,
haven't tried it though.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Size: 187 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20050624/1d987c35/attachment-0001.bin
More information about the freebsd-questions