|
Public Member Functions |
| | LvmVg (Storage *const s, const string &Name) |
| | LvmVg (Storage *const s, const string &Name, bool lvm1) |
| | LvmVg (const LvmVg &c) |
| virtual | ~LvmVg () |
| unsigned | numLv () const |
| bool | lvm2 () const |
| bool | inactive () const |
| int | removeVg () |
| int | extendVg (const std::list< string > &dl) |
| int | extendVg (const string &device) |
| int | reduceVg (const std::list< string > &dl) |
| int | reduceVg (const string &device) |
| int | createLv (const string &name, unsigned long long sizeK, unsigned stripe, string &device) |
| int | removeLv (const string &name) |
| int | changeStripe (const string &name, unsigned long stripe) |
| int | changeStripeSize (const string &name, unsigned long long stripeSize) |
| int | setPeSize (long long unsigned peSizeK) |
| void | normalizeDmDevices () |
| void | getCommitActions (std::list< storage::commitAction * > &l) const |
| int | commitChanges (storage::CommitStage stage) |
| int | getToCommit (storage::CommitStage stage, std::list< Container * > &col, std::list< Volume * > &vol) |
| int | resizeVolume (Volume *v, unsigned long long newSize) |
| int | removeVolume (Volume *v) |
| void | getInfo (storage::LvmVgInfo &info) const |
| bool | equalContent (const Container &rhs) const |
| void | logDifference (const Container &rhs) const |
Static Public Member Functions |
| static storage::CType | staticType () |
| static void | activate (bool val=true) |
| static void | getVgs (std::list< string > &l) |
| static bool | lvNotDeleted (const LvmLv &l) |
Protected Types |
typedef CastIterator< VIter,
LvmLv * > | LvmLvInter |
typedef CastIterator< CVIter,
const LvmLv * > | LvmLvCInter |
| typedef CheckFnc< const LvmLv > | CheckFncLvmLv |
typedef CheckerIterator< CheckFncLvmLv,
LvmLvPI< CheckFncLvmLv
>::type, LvmLvInter, LvmLv > | LvmLvPIterator |
typedef CheckerIterator< CheckFncLvmLv,
LvmLvCPI< CheckFncLvmLv
>::type, LvmLvCInter, const
LvmLv > | LvmLvCPIterator |
typedef DerefIterator< LvmLvPIterator,
LvmLv > | LvmLvIter |
typedef DerefIterator< LvmLvCPIterator,
const LvmLv > | ConstLvmLvIter |
| typedef IterPair< LvmLvIter > | LvmLvPair |
| typedef IterPair< ConstLvmLvIter > | ConstLvmLvPair |
Protected Member Functions |
| LvmLvPair | lvmLvPair (bool(*Check)(const LvmLv &)=NULL) |
| LvmLvIter | lvmLvBegin (bool(*Check)(const LvmLv &)=NULL) |
| LvmLvIter | lvmLvEnd (bool(*Check)(const LvmLv &)=NULL) |
| ConstLvmLvPair | lvmLvPair (bool(*Check)(const LvmLv &)=NULL) const |
| ConstLvmLvIter | lvmLvBegin (bool(*Check)(const LvmLv &)=NULL) const |
| ConstLvmLvIter | lvmLvEnd (bool(*Check)(const LvmLv &)=NULL) const |
| | LvmVg (Storage *const s, const string &File, int) |
| void | getVgData (const string &name, bool exists=true) |
| void | init () |
| virtual void | print (std::ostream &s) const |
| virtual Container * | getCopy () const |
| string | createVgText (bool doing) const |
| string | removeVgText (bool doing) const |
| string | extendVgText (bool doing, const string &dev) const |
| string | reduceVgText (bool doing, const string &dev) const |
| int | doCreateVg () |
| int | doRemoveVg () |
| int | doExtendVg () |
| int | doReduceVg () |
| int | doCreate (Volume *v) |
| int | doRemove (Volume *v) |
| int | doResize (Volume *v) |
| int | doCreatePv (const string &device) |
| string | metaString () |
| string | instSysString () |
| void | logData (const string &Dir) |
| void | addLv (unsigned long &le, string &name, string &uuid, string &status, string &alloc, bool &ro) |
| void | addPv (Pv *&p) |
Protected Attributes |
| string | status |
| string | uuid |
| bool | lvm1 |
| bool | inactiv |
| unsigned | num_lv |
| storage::LvmVgInfo | info |
Static Protected Attributes |
| static bool | active = false |
Friends |
| class | Storage |
| std::ostream & | operator<< (std::ostream &, const LvmVg &) |
Classes |
| struct | LvmLvCPI |
| struct | LvmLvPI |