| line |
true |
false |
branch |
|
62
|
0 |
1 |
if ($debug) |
|
149
|
1 |
0 |
if ($arglist{'persistance'} eq 'old') |
|
150
|
0 |
1 |
if $debug |
|
151
|
0 |
1 |
unless $vginfo_ref = Storable::retrieve($datafile) |
|
156
|
0 |
0 |
unless @vgdisplay = `$remote_access $remote_system -l $remote_user -n $remote_command1` |
|
167
|
0 |
0 |
if ($templine eq '' or $templine =~ /^\s+$/) |
|
178
|
0 |
0 |
if ($alternate_link eq 'yes') |
|
188
|
0 |
0 |
if $debug5 |
|
197
|
0 |
0 |
if ($templine =~ /^VG Name/) |
|
207
|
0 |
0 |
unless defined $current_VG |
|
209
|
0 |
0 |
if ($templine =~ /^VG Write Access/) |
|
215
|
0 |
0 |
if ($templine =~ /^VG Status/) |
|
221
|
0 |
0 |
if ($templine =~ /^Max LV/) |
|
227
|
0 |
0 |
if ($templine =~ /^Cur LV/) |
|
233
|
0 |
0 |
if ($templine =~ /^Open LV/) |
|
239
|
0 |
0 |
if ($templine =~ /^Max PV/) |
|
245
|
0 |
0 |
if ($templine =~ /^Cur PV/) |
|
251
|
0 |
0 |
if ($templine =~ /^Act PV/) |
|
257
|
0 |
0 |
if ($templine =~ /^Max PE per PV/) |
|
263
|
0 |
0 |
if ($templine =~ /^VGDA/) |
|
269
|
0 |
0 |
if ($templine =~ /^PE Size \(Mbytes\)/) |
|
275
|
0 |
0 |
if ($templine =~ /^Total PE/) |
|
281
|
0 |
0 |
if ($templine =~ /^Alloc PE/) |
|
287
|
0 |
0 |
if ($templine =~ /^Free PE/) |
|
293
|
0 |
0 |
if ($templine =~ /^Total PVG/) |
|
299
|
0 |
0 |
if ($volgrpdatacnt == 15) |
|
300
|
0 |
0 |
if $debug |
|
306
|
0 |
0 |
if ($templine =~ /^ --- Logical volumes ---/) |
|
312
|
0 |
0 |
if ($templine =~ /^ LV Name/) |
|
314
|
0 |
0 |
if $debug |
|
316
|
0 |
0 |
if $debug1 |
|
318
|
0 |
0 |
if $debug1 |
|
322
|
0 |
0 |
if $debug1 |
|
324
|
0 |
0 |
if ($templine =~ /^ LV Status/) |
|
331
|
0 |
0 |
if ($templine =~ /^ LV Size \(Mbytes\)/) |
|
338
|
0 |
0 |
if ($templine =~ /^ Current LE/) |
|
345
|
0 |
0 |
if ($templine =~ /^ Allocated PE/) |
|
352
|
0 |
0 |
if ($templine =~ /^ Used PV/) |
|
362
|
0 |
0 |
if ($lvdatacnt != 5) { } |
|
369
|
0 |
0 |
if $debug |
|
370
|
0 |
0 |
if $debug |
|
371
|
0 |
0 |
if $debug |
|
373
|
0 |
0 |
unless @lvdisplay = `$remote_access $remote_system -l $remote_user -n $remote_command2 $vgname/$lvname` |
|
384
|
0 |
0 |
if ($lvdataline =~ /^ --- Logical extents ---/) |
|
388
|
0 |
0 |
if $debug |
|
389
|
0 |
0 |
if $debug |
|
390
|
0 |
0 |
if ($lvpvcnt == $vg_info{$vgname}{'lvols'}{$lvname}{'Used_PV'}) { } |
|
399
|
0 |
0 |
if ($lvdataline =~ /^--- Logical volumes ---/) |
|
404
|
0 |
0 |
if ($lvdataline =~ /^LV Name/) |
|
408
|
0 |
0 |
if $debug |
|
412
|
0 |
0 |
if ($lvdataline =~ /^VG Name/) |
|
418
|
0 |
0 |
if ($lvdataline =~ /^LV Permission/) |
|
424
|
0 |
0 |
if ($lvdataline =~ /^LV Status/) |
|
430
|
0 |
0 |
if ($lvdataline =~ /^Mirror copies/) |
|
436
|
0 |
0 |
if ($lvdataline =~ /^Consistency Recovery/) |
|
442
|
0 |
0 |
if ($lvdataline =~ /^Schedule/) |
|
448
|
0 |
0 |
if ($lvdataline =~ /^LV Size \(Mbytes\)/) |
|
454
|
0 |
0 |
if ($lvdataline =~ /^Current LE/) |
|
460
|
0 |
0 |
if ($lvdataline =~ /^Allocated PE/) |
|
466
|
0 |
0 |
if ($lvdataline =~ /^Stripes/) |
|
472
|
0 |
0 |
if ($lvdataline =~ /^Stripe Size \(Kbytes\)/) |
|
478
|
0 |
0 |
if ($lvdataline =~ /^Bad block/) |
|
484
|
0 |
0 |
if ($lvdataline =~ /^Allocation/) |
|
490
|
0 |
0 |
if ($lvdataline =~ /^IO Timeout \(Seconds\)/) |
|
498
|
0 |
0 |
if ($lvdatacnt2 != 14) { } |
|
505
|
0 |
0 |
if $debug |
|
508
|
0 |
0 |
if ($lvdataline =~ /^ --- Distribution of logical volume ---/) |
|
509
|
0 |
0 |
if $debug |
|
514
|
0 |
0 |
if ($lvdataline =~ m[^ /dev]) |
|
521
|
0 |
0 |
if $debug |
|
522
|
0 |
0 |
if $debug |
|
523
|
0 |
0 |
if $debug |
|
542
|
0 |
0 |
if ($templine =~ /^ --- Physical volumes ---/) |
|
547
|
0 |
0 |
if ($templine =~ /^ PV Name/ and not $templine =~ /Alternate Link/) |
|
559
|
0 |
0 |
if ($templine =~ /^ PV Name/ and $templine =~ /Alternate Link/) |
|
561
|
0 |
0 |
if $debug5 |
|
567
|
0 |
0 |
if ($templine =~ /^ PV Status/) |
|
569
|
0 |
0 |
unless (exists $vg_info{$vgname}{'Physical_Vols'}{$pvname}{'Alternate_Links'}) |
|
570
|
0 |
0 |
if $debug5 |
|
578
|
0 |
0 |
if ($templine =~ /^ Total PE/) |
|
584
|
0 |
0 |
if ($templine =~ /^ Free PE/) |
|
591
|
0 |
0 |
if ($pvdatacnt != 3) { } |
|
608
|
0 |
0 |
if ($arglist{'persistance'} eq 'new') |
|
609
|
0 |
0 |
if $debug |
|
610
|
0 |
0 |
unless Storable::nstore(\%vg_info, $datafile) |
|
630
|
0 |
0 |
if $HPUX::LVM::AUTOLOAD =~ /::DESTROY$/ |
|
643
|
0 |
0 |
if $debug |
|
644
|
0 |
0 |
if $debug |
|
647
|
0 |
0 |
if $debug |
|
651
|
0 |
0 |
if $debug |
|
656
|
0 |
0 |
if $debug |
|
664
|
0 |
0 |
if $debug |
|
668
|
0 |
0 |
if $debug |
|
670
|
0 |
0 |
if $debug |
|
671
|
0 |
0 |
if $debug |
|
672
|
0 |
0 |
unless $HPUX::LVM::AUTOLOAD =~ /.*::get_(\w+)/ |
|
673
|
0 |
0 |
if $debug |
|
674
|
0 |
0 |
unless ref $self |
|
677
|
0 |
0 |
if $debug |
|
680
|
0 |
0 |
if ($SIXTHARG) |
|
681
|
0 |
0 |
if $debug |
|
682
|
0 |
0 |
unless (exists $$self{$VOLGRP}{$THIRDARG}{$FOURTHARG}{$FIFTHARG}{$SIXTHARG}{$1}) |
|
688
|
0 |
0 |
if ($FIFTHARG) |
|
689
|
0 |
0 |
if $debug |
|
690
|
0 |
0 |
unless (exists $$self{$VOLGRP}{$THIRDARG}{$FOURTHARG}{$FIFTHARG}{$1}) |
|
697
|
0 |
0 |
if ($FOURTHARG) |
|
698
|
0 |
0 |
if $debug |
|
699
|
0 |
0 |
unless (exists $$self{$VOLGRP}{$THIRDARG}{$FOURTHARG}{$1}) |
|
705
|
0 |
0 |
if ($THIRDARG) |
|
706
|
0 |
0 |
if $debug |
|
707
|
0 |
0 |
unless (exists $$self{$VOLGRP}{$THIRDARG}{$1}) |
|
714
|
0 |
0 |
if $debug |
|
716
|
0 |
0 |
unless (exists $$self{$VOLGRP}{$1}) |
|
719
|
0 |
0 |
if $debug |
|
720
|
0 |
0 |
if (@_) { } |
|
730
|
0 |
0 |
if $debug |
|
744
|
0 |
0 |
if $debug2 |
|
745
|
0 |
0 |
if (ref $$self{$mainkey}{$subkey} eq 'HASH') |
|
746
|
0 |
0 |
if $debug2 |
|
749
|
0 |
0 |
if (ref $$self{$mainkey}{$subkey}{$subsubkey} eq 'HASH') |
|
750
|
0 |
0 |
if $debug2 |
|
753
|
0 |
0 |
if (ref $$self{$mainkey}{$subkey}{$subsubkey}{$subsubsubkey} eq 'HASH') |
|
754
|
0 |
0 |
if $debug2 |
|
757
|
0 |
0 |
if (ref $$self{$mainkey}{$subkey}{$subsubkey}{$subsubsubkey}{$subsubsubsubkey} eq 'HASH') |
|
758
|
0 |
0 |
if $debug2 |
|
796
|
0 |
0 |
if $debug |
|
807
|
0 |
0 |
if $debug |
|
809
|
0 |
0 |
if $debug |
|
811
|
0 |
0 |
if ($vg_phys_vols eq $dev_file) |
|
813
|
0 |
0 |
if $debug |
|
814
|
0 |
0 |
if $debug |
|
815
|
0 |
0 |
if $debug2 |
|
817
|
0 |
0 |
if $debug |
|
819
|
0 |
0 |
if $debug |
|
821
|
0 |
0 |
if $debug |
|
822
|
0 |
0 |
if ($pv_in_lv eq $dev_file) |
|
823
|
0 |
0 |
if $debug |
|
845
|
0 |
0 |
if $debug2 |
|
847
|
0 |
0 |
if $debug2 |
|
848
|
0 |
0 |
if $debug2 |
|
849
|
0 |
0 |
if $debug2 |
|
898
|
0 |
0 |
if $debug5 |
|
902
|
0 |
0 |
if $debug5 |
|
907
|
0 |
0 |
if $debug5 |
|
908
|
0 |
0 |
if ($$self{$vg}{'Physical_Vols'}{$pvinvg}{'Alternate_Links'}[0] eq 'None') { } |
|
909
|
0 |
0 |
if $debug5 |
|
914
|
0 |
0 |
if $debug5 |
|
916
|
0 |
0 |
if $debug5 |
|
952
|
0 |
0 |
if $debug |
|
953
|
0 |
0 |
if $debug |
|
963
|
0 |
0 |
if $debug |
|
967
|
0 |
0 |
if $debug |
|
1010
|
0 |
5 |
if $debug |
|
1011
|
0 |
5 |
if $debug |
|
1012
|
0 |
5 |
if $debug |
|
1016
|
0 |
5 |
if $debug |
|
1037
|
0 |
0 |
if $debug5 |
|
1038
|
0 |
0 |
if $debug5 |
|
1039
|
0 |
0 |
if $debug5 |
|
1041
|
0 |
0 |
if (defined $$self{$vol_group}{'Physical_Vols'}{$device_name}{$attr}) { } |
|
1042
|
0 |
0 |
if $debug5 |
|
1046
|
0 |
0 |
if $debug5 |