class LvmAccess


Definition#include <LvmAccess.h>
List of all Methods
Annotated List
Files
Globals
Hierarchy
Index

Public Methods

Public Static Methods

Protected Types

Protected Methods

Protected Members


Detailed Description

 LvmAccess ( bool Expensive_bv=true )

LvmAccess

 ~LvmAccess ()

~LvmAccess

[virtual]

unsigned  VgCnt ()

VgCnt

unsigned  PvCnt ()

PvCnt

unsigned  LvCnt ()

LvCnt

int  GetVgIdx ( const string& VgName_Cv )

GetVgIdx

int  GetPvIdx ( const string& PvName_Cv )

GetPvIdx

VgInfo  GetVg ( int Idx_ii )

GetVg

LvInfo  GetLv ( int Idx_ii )

GetLv

PvInfo  GetPv ( int Idx_ii )

GetPv

void  ChangeId ( int Idx_ii, int Id_iv )

ChangeId

void  ChangePvVgName ( const string& Device_Cv, const string& Name_Cv )

ChangePvVgName

void  DoExpensive ()

DoExpensive

bool  CreatePv ( const string& PvName_Cv, bool NewMeta_bv )

CreatePv

string  GetErrorText ()

GetErrorText

string  GetCmdLine ()

GetCmdLine

int  LvmVersion ()

LvmVersion

bool  Lvm2 ()

Lvm2

bool  ChangeActive ( const string& Name_Cv, bool Active_bv )

ChangeActive

bool  DeleteVg ( const string& VgName_Cv )

DeleteVg

bool  ExtendVg ( const string& VgName_Cv, const string& PvName_Cv )

ExtendVg

bool  ShrinkVg ( const string& VgName_Cv, const string& PvName_Cv )

ShrinkVg

bool  CreateVg ( const string& VgName_Cv, unsigned long PeSize_lv, bool NewMeta_bv, list& Devices_Cv )

CreateVg

bool  CreateLv ( const string& LvName_Cv, const string& VgName_Cv, unsigned long Size_lv, unsigned long Stripe_lv, unsigned long StripeSize_lv )

CreateLv

bool  ChangeLvSize ( const string& LvName_Cv, unsigned long Size_lv )

ChangeLvSize

bool  DeleteLv ( const string& LvName_Cv )

DeleteLv

void  UpdateDisk ( list<PartInfo>& Part_Cv, const string& Disk_Cv )

UpdateDisk

void  ActivateLvm ()

ActivateLvm

bool  ActivateVGs ( bool Activate_bv=true )

ActivateVGs

list  PhysicalDeviceList ()

PhysicalDeviceList

unsigned long long  UnitToValue ( const string& Unit_Cv )

UnitToValue

[static]

VgIntern (struct)

VgIntern

[protected]

void  ProcessMd ()

ProcessMd

[protected]

void  ScanForDisks ()

ScanForDisks

[protected]

void  ScanForInactiveVg ()

ScanForInactiveVg

[protected]

void  ScanLvmStatus ()

ScanLvmStatus

[protected]

void  ScanProcLvm ()

ScanProcLvm

[protected]

void  ScanVgdisplayOutput ()

ScanVgdisplayOutput

[protected]

void  PrepareLvmCmd ()

PrepareLvmCmd

[protected]

list<PvInfo>::iterator  SortIntoPvList ( const PvInfo& PvElem_rv )

SortIntoPvList

[protected]

bool  ExecuteLvmCmd ( const string& Cmd_Cv )

ExecuteLvmCmd

[protected]

bool  MountRamdisk ( const string& Path_Cv, unsigned SizeMb_iv )

MountRamdisk

[protected]

string  GetPvDevicename ( const string& VgName_Cv, const string& FDev_Cv, const string& Dev_Cv, int Num_iv, int Mp_iv )

GetPvDevicename

[protected]

void  LvIntoList ( VgIntern& VgElem_rr, list<LvInfo>& LvList_Cr, const LvInfo& LvElem_rv )

LvIntoList

[protected]

void  PvIntoList ( VgIntern& VgElem_rr, list<PvInfo>& PvList_Cr, const PvInfo& PvElem_rv )

PvIntoList

[protected]

list::iterator  FindVg ( const string& Name_Cv )

FindVg

[protected]

list<PvInfo>::iterator  FindPv ( const string& Device_Cv )

FindPv

[protected]

list<LvInfo>::iterator  FindLv ( const string& Name_Cv )

FindLv

[protected]

list VgList_C

VgList_C

[protected]

list<PvInfo> PvList_C

PvList_C

[protected]

list<LvInfo> LvList_C

LvList_C

[protected]

bool Expensive_b

Expensive_b

[protected]

bool DidVgchangeA_b

DidVgchangeA_b

[protected]

SystemCmd LvmCmd_C

LvmCmd_C

[protected]

string LvmOutput_C

LvmOutput_C

[protected]

string CmdLine_C

CmdLine_C

[protected]

int LvmRet_i

LvmRet_i

[protected]

int LvmVersion_i

LvmVersion_i

[protected]


Generated by: root on D60 on Mon Oct 20 16:15:28 2003, using kdoc 2.0a54.