Commit Graph

33 Commits

Author SHA1 Message Date
Chantara Tith e8b2b8dd92 More documentations. 2016-08-15 22:09:59 +07:00
Andrius Štikonas 50378c03bb Make sure to activate all LVM LVs on start. 2016-08-15 22:09:59 +07:00
Andrius Štikonas 6ecbaf9b2f Make variable names slightly more consistent thruoght kmpcore.
Add more doxygen comments.
2016-08-15 22:09:59 +07:00
Chantara Tith 92b20929d1 Remove unused includes. 2016-08-15 22:09:59 +07:00
Chantara Tith a95fc3c2af Remove unused parameters from LvmDevice. 2016-08-15 22:09:59 +07:00
Chantara Tith c93bd24096 API changes, Refactor and Raname to a consistant interface. 2016-08-15 22:09:59 +07:00
Andrius Štikonas a6b016775f Convert to C++11 for loop where it is safe (avoid detaching Qt objects). 2016-08-15 22:09:56 +07:00
Chantara Tith 47e1391b3b A small dirty hack to keep track of all the PVs that to be added to any VG. 2016-08-15 22:09:09 +07:00
Chantara Tith 6e589b4077 Add activating LVM LV and VG. 2016-08-15 22:09:09 +07:00
Chantara Tith d2c94bfd81 Add deactivating LVM LV and VG. 2016-08-15 22:09:09 +07:00
Chantara Tith a79c75c22d Decouple VG scan and system scan. 2016-08-15 22:09:09 +07:00
Chantara Tith cd6f76137c Move LVM deviceNodeList and LvPathList to public. 2016-08-15 22:09:09 +07:00
Chantara Tith a646270558 Add internal storage to LVM Device to keep track of its LVs and PVs. 2016-08-15 22:09:09 +07:00
Chantara Tith 32770fbb42 Add LVM snapshotting functionality. 2016-08-15 22:09:09 +07:00
Andrius Štikonas e754e389ab Various small cleanups. 2016-08-15 22:09:09 +07:00
Chantara Tith 53276a67ce Move LVM scanning logic from DeviceScanner to LvmDevice. 2016-08-15 22:09:09 +07:00
Chantara Tith 98fcf2d57f Add functionality to specify PE size when creating VG group. 2016-08-15 22:09:08 +07:00
Chantara Tith c1f3dd8503 Move LvmDevice member variables from 32 bits to 64 bits. 2016-08-15 22:09:08 +07:00
Chantara Tith 5a1dfb85c1 Add optional destination partitions to LVM movePV. This also helps preventing moving data back and forth when resizing. 2016-08-15 22:09:08 +07:00
Chantara Tith d2c73b54fc Refactor functions for getting list of PV and LV. 2016-08-15 22:09:08 +07:00
Chantara Tith ca61d14607 Add LVM PV move. 2016-08-15 22:09:08 +07:00
Chantara Tith 9a1f8762da Move LVM removeVG parameter to LvmDevice instead of QString of VG name. 2016-08-15 22:09:08 +07:00
Chantara Tith 601d642e53 Add removeVG lvmdevice. And, Change createVG to accpeting QStringList instead. 2016-08-15 22:09:08 +07:00
Chantara Tith b7403355da Add LvmDevice createVG. 2016-08-15 22:09:08 +07:00
Chantara Tith e6c831ef72 Move LVM totalPE to 64 bits 2016-08-15 22:09:07 +07:00
Chantara Tith 5ece8c2e39 LVM LV resize Operation 2016-08-15 22:09:07 +07:00
Chantara Tith 01ae2af530 Add LVM operations 2016-08-15 22:09:07 +07:00
Chantara Tith 202bf9e515 Add LVM delete partition job 2016-08-15 22:09:07 +07:00
Chantara Tith d227045461 Fix PartitionTable sector representation and used space for LVM partition 2016-08-15 22:09:07 +07:00
Chantara Tith db1cb9365a Move from regex to LVM Field options 2016-08-15 22:09:07 +07:00
Chantara Tith 89a880c0e3 Refactor and add UUID to LvmDevice 2016-08-15 22:09:07 +07:00
Chantara Tith 82c796ad40 Construct PartitionTable and Partition in LvmDevice 2016-08-15 22:09:07 +07:00
Chantara Tith 6377410173 Initial work on LvmDevice 2016-08-15 22:09:07 +07:00