Changeset 40222 for trunk/ippScripts/scripts/rawcheck_mddb.pl
- Timestamp:
- Nov 28, 2017, 3:19:07 PM (9 years ago)
- File:
-
- 1 edited
-
trunk/ippScripts/scripts/rawcheck_mddb.pl (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/ippScripts/scripts/rawcheck_mddb.pl
r40203 r40222 153 153 my $mounts = $neb->mounts(); 154 154 my %volume_fill_factors = (); 155 my %down_volume = (); 155 156 foreach my $vol_row (@$mounts) { 156 157 my ($mount_point, $total, $used, $vol_id, $name, $host, $path, $allocate, $available, $xattr) = @{ $vol_row }; … … 162 163 $acceptable_volume{$name} = 0; 163 164 } 165 166 if (($available != 1)&&($xattr != 5)) { 167 $down_volume{$name} = 1; 168 } 169 164 170 if (($name =~ /ippb05/)||($name =~ /ippb02/)) { 165 171 $acceptable_volume{$name} = 0; … … 334 340 # Identify orphans, and push their handling until later. 335 341 unless (exists($unified_list{$f}{neb_host})) { 336 # Handle this. 337 $orphans{$f} = $unified_list{$f}; 342 if ($down_volume{$unified_list{$f}{md_vol}} != 1) { 343 # Handle this. 344 $orphans{$f} = $unified_list{$f}; 345 warn "No neb entry for $orphans{$f}{md_ins_id} $exp_id $class_id $f \n"; 346 } 347 else { 348 warn "No neb entry for likely due to host issue $exp_id $class_id $f \n"; 349 } 338 350 delete($unified_list{$f}); 339 warn "No neb entry for $orphans{$f}{md_ins_id} $exp_id $class_id $f \n";340 351 next; 341 352 }
Note:
See TracChangeset
for help on using the changeset viewer.
