[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Large file problem?



On Sat, Oct 09, 2004 at 09:50:44PM -0600, Paul E Condon wrote:
> I want to back up a large file to DVD. I have been backing up 'normal'
> files to DVD successfully for some time, but this one is 2725942329
> bytes, and someting is keeping growisofs from writing any more than
> 8033337 bytes. I've tried twice and gotten this same length result
> both times. I can make another copy of the file on HD with cp and the
> copy has the same length, so I suppose there is no corruption of the
> file. But I should note that I cannot to a diff of the copy against
> the original because gives an error message "diff: memory exhausted"
> and quits almost immediately, i.e. well before it could have read even
> a few % of the files.
> 
> growisofs does not issue any error messages. It just issues it normal
> progress report and expected end time messages, writing trailer
> message.
> 
> Is there a file size limit in the dvd?, the kernel?, where? 

Old kernels (2.2.20 IIRC is affected, 2.6.0 isn't, exact cutoff is
unknown) limit files to 2GB.

If you want to know if hugefile1 and hugefile2 are identical, just do:

cmp hugefile1 hugefile2

It is much faster and requires very little memory, but tells you IF
there are differences, not WHAT they are.

-- 
The world's most effective spam filter:
        ln -sf /dev/full /var/mail/$USER



Reply to: