Weird EINVAL readig *large* file

Paul Schenkeveld fb-stable at psconsult.nl
Sat Apr 5 08:45:44 PST 2003


Hi DES,

On Sat, Apr 05, 2003 at 05:34:56PM +0200, Dag-Erling Smørgrav wrote:
> Paul Schenkeveld <fb-stable at psconsult.nl> writes:
> > When I try to read back one of the saved images containing a
> > 16GB filesystem, I get EINVAL somewhere half way the file.
> > I first discoverd this when I tried "sum /dev/vinum/arch" but
> > this happens with every command I use to read the file, even
> > with a small C program I wrote to just read the file in 8KB
> > chunks to verify this error.
> 
> Can you provide a full ktrace of sum or cksum which exhibits the
> failure?

I'm currently running "ktrace sum /path/to/file/with/problem" here
but that will create a ktrace.out of roughly 8GB since the error
always occurs about 7.5 to 8 GB from the start of the file.

Sending you 8GB doesn't seem very convenient.  Would it be sufficient
for you to run a kdump and mail you the first lines (up to the point
where it's reading in a loop) and the last lines (including several
iterations of the loop)?

> DES
> -- 
> Dag-Erling Smørgrav - des at ofug.org

Regards,

Paul Schenkeveld


More information about the freebsd-stable mailing list