|
Public Member Functions |
| | LvmAccess (bool Expensive_bv=true) |
| virtual | ~LvmAccess () |
| unsigned | VgCnt () |
| unsigned | PvCnt () |
| unsigned | LvCnt () |
| int | GetVgIdx (const string &VgName_Cv) |
| int | GetPvIdx (const string &PvName_Cv) |
| VgInfo | GetVg (int Idx_ii) |
| LvInfo | GetLv (int Idx_ii) |
| PvInfo | GetPv (int Idx_ii) |
| void | ChangeId (int Idx_ii, int Id_iv) |
| void | ChangePvVgName (const string &Device_Cv, const string &Name_Cv) |
| void | DoExpensive () |
| bool | CreatePv (const string &PvName_Cv, bool NewMeta_bv) |
| string | GetErrorText () |
| string | GetCmdLine () |
| int | LvmVersion () |
| bool | Lvm2 () |
| bool | ChangeActive (const string &Name_Cv, bool Active_bv) |
| bool | DeleteVg (const string &VgName_Cv) |
| bool | ExtendVg (const string &VgName_Cv, const string &PvName_Cv) |
| bool | ShrinkVg (const string &VgName_Cv, const string &PvName_Cv) |
| bool | CreateVg (const string &VgName_Cv, unsigned long PeSize_lv, bool NewMeta_bv, list< string > &Devices_Cv) |
| bool | CreateLv (const string &LvName_Cv, const string &VgName_Cv, unsigned long Size_lv, unsigned long Stripe_lv, unsigned long StripeSize_lv) |
| bool | ChangeLvSize (const string &LvName_Cv, unsigned long Size_lv) |
| bool | DeleteLv (const string &LvName_Cv) |
| void | UpdateDisk (list< PartInfo > &Part_Cv, const string &Disk_Cv) |
| void | ActivateLvm () |
| bool | ActivateVGs (bool Activate_bv=true, const string &VgName_Cv="") |
| list< string > | PhysicalDeviceList () |
Static Public Member Functions |
| static unsigned long long | UnitToValue (const string &Unit_Cv) |
Protected Member Functions |
| void | ProcessMd () |
| void | ScanForDisks () |
| void | ScanForInactiveVg () |
| void | ScanLvmStatus () |
| void | ScanProcLvm () |
| void | ScanVgdisplayOutput () |
| void | PrepareLvmCmd () |
| list< PvInfo >::iterator | SortIntoPvList (const PvInfo &PvElem_rv) |
| bool | ExecuteLvmCmd (const string &Cmd_Cv) |
| bool | MountRamdisk (const string &Path_Cv, unsigned SizeMb_iv) |
| void | CleanPartialVGs (const string &VgName_Cv) |
| string | GetPvDevicename (const string &VgName_Cv, const string &FDev_Cv, const string &Dev_Cv, int Num_iv, int Mp_iv) |
| void | LvIntoList (VgIntern &VgElem_rr, list< LvInfo > &LvList_Cr, const LvInfo &LvElem_rv) |
| void | PvIntoList (VgIntern &VgElem_rr, list< PvInfo > &PvList_Cr, const PvInfo &PvElem_rv) |
| list< VgIntern >::iterator | FindVg (const string &Name_Cv) |
| list< PvInfo >::iterator | FindPv (const string &Device_Cv) |
| list< LvInfo >::iterator | FindLv (const string &Name_Cv) |
Protected Attributes |
| list< VgIntern > | VgList_C |
| list< PvInfo > | PvList_C |
| list< LvInfo > | LvList_C |
| bool | Expensive_b |
| bool | DidVgchangeA_b |
| SystemCmd | LvmCmd_C |
| string | LvmOutput_C |
| string | CmdLine_C |
| int | LvmRet_i |
| int | LvmVersion_i |
Classes |
| struct | VgIntern |