Beefy Boxes and Bandwidth Generously Provided by pair Networks
laziness, impatience, and hubris
 
PerlMonks  

Re^3: DBI error ... forty-eight

by Cody Fendant (Pilgrim)
on Jul 31, 2011 at 02:14 UTC ( #917669=note: print w/ replies, xml ) Need Help??


in reply to Re^2: DBI error ... forty-eight
in thread DBI error ... forty-eight

So, what does "link number out of range" mean then?


Comment on Re^3: DBI error ... forty-eight
Re^4: DBI error ... forty-eight
by Khen1950fx (Canon) on Jul 31, 2011 at 22:13 UTC
    In a nutshell: Sparse file.

    After you read that, try this script to check whether a file is sparse or is not sparse:

    #!/usr/bin/perl use strict; use warnings; my $file = shift @ARGV; my(@status) = stat $file; print "\n"; if ( $status[7] > ($status[12] * 512) ) { print "$file is sparse\n\n"; } else { print "$file does not appear to be sparse\n"; } system("du -hS --apparent-size $file"); system("du -hS $file"); print "\n";
    The apparent-size file will usually be lt than the actual-size. If the apparent-size is gt the actual-size, that might be a sign that something's wrong.

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://917669]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others making s'mores by the fire in the courtyard of the Monastery: (9)
As of 2014-12-25 12:01 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    Is guessing a good strategy for surviving in the IT business?





    Results (160 votes), past polls