Index: trunk/ippScripts/scripts/rawcheck_mddb.pl
===================================================================
--- trunk/ippScripts/scripts/rawcheck_mddb.pl	(revision 40314)
+++ trunk/ippScripts/scripts/rawcheck_mddb.pl	(revision 40327)
@@ -176,4 +176,9 @@
     
     $volume_fill_factors{$name} = $used / $total;
+
+    # This should prioritize hosts that we wish to deprecate.
+    if ($total < 52885172852) {
+	$volume_fill_factors{$name} = 1.0;
+    }
 }
 
@@ -228,4 +233,5 @@
 	unless(defined($key))        { die "No database uri: $exp_id"; }
 	unless(defined($data_state)) { $data_state = 'no_data_state'; }
+	if ($data_state eq 'corrupt') { next; } # This has already been marked as bad, so we can move on.
 	unless(defined($md5sum))     { die "No database md5sum: $exp_id"; }
 	unless(defined($hostname))   { $hostname = 'ipp004'; }
@@ -545,4 +551,6 @@
 		    @cull_order = sort { $sorting_hash{$b} <=> $sorting_hash{$a} } @cull_order;
 		    
+		    my $tmp = join ' ', @cull_order;
+		    print "$exp_id $site $tmp\n";
 		    for ($i = 0; $i < ($instance_count{$site} - $requirement_map{$site}); $i++) {
 			my $f = $cull_order[$i];
