Changeset b2b0c62


Ignore:
Timestamp:
10/24/13 08:22:37 (9 months ago)
Author:
Ken Moore <ken@…>
Branches:
master, 9.2-release, releng/10.0, releng/10.0.1, releng/10.0.2
Children:
0535f803, 95a74cd
Parents:
54f447a
Message:

Add additional debuggin output to the zpool status parser as well.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src-qt4/life-preserver/lp-gui/LPGUtils.cpp

    rb22b3a5 rb2b0c62  
    33LPDataset LPGUtils::loadPoolData(QString zpool){ 
    44  //Load the current information for the given zpool 
    5   qDebug() << "New Dataset: " << zpool; 
     5  qDebug() << "[DEBUG] New Dataset: " << zpool; 
    66  LPDataset DSC; 
    77  //List all the mountpoints in this dataset 
     8  qDebug() << "[DEBUG] list snapshots"; 
    89  QStringList subsets = LPBackend::listDatasetSubsets(zpool); 
    910  QStringList lpsnaps = LPBackend::listLPSnapshots(zpool); 
     
    3334  } 
    3435  //Parse "zpool status <pool>" 
     36  qDebug() << "[DEBUG] get zpool status"; 
    3537  QStringList zstat = LPBackend::getCmdOutput("zpool status "+zpool); 
     38  qDebug() << zstat.join("\n"); 
    3639  //qDebug() << "zpool status "+zpool+":\n" << zstat.join("\n"); 
    3740  bool atheader=false; 
     
    7982    } 
    8083  } 
     84  qDebug() << "[DEBUG] Get latest snapshot/replication info"; 
    8185  //Now get the latest Snapshot/Replication information 
    8286  QStringList lpstat = LPBackend::listCurrentStatus(); 
     
    9498    } 
    9599  } 
     100  qDebug() << "[DEBUG] save info to the structure and finish"; 
    96101  //Now save the info to the dataset 
    97102  DSC.harddisks = disks; 
Note: See TracChangeset for help on using the changeset viewer.