HPUX-LVM
view release on metacpan or search on metacpan
print "lvname: $lvname\n" if $debug;
@lvdisplay =
`$remote_access $remote_system -l $remote_user -n $remote_command2 $vgname/$lvname`
or die "remote command $remote_command2 failed: $@\n";
#for win95 debugging purposes
# @lvdisplay = `type $lvname.vgtest`;
LVDATALINE: foreach $lvdataline (@lvdisplay) {
#attempt at keepalive timeout prevention below
#attempt at stoping browser timeout print "<B></B>";
if ($lvdataline =~ /^ --- Logical extents ---/) {
#
# Were done summ it up
#
print "Done getting physical volume data.\n" if $debug;
print "Now comparing lvdisplay physical volumes to vgdisplays used PV for each lv. Yet another sanity check\n" if $debug;
if ($lvpvcnt == $vg_info{$vgname}->{lvols}->{$lvname}->{Used_PV} ) {
@final_pvnamedatatemp=();
( run in 0.824 second using v1.01-cache-2.11-cpan-d7a12ab2c7f )