Chantara Tith
|
62daee28d4
|
Remove unused includes.
|
2016-08-12 05:51:59 +07:00 |
Chantara Tith
|
415b5e7942
|
Remove unused parameters from LvmDevice.
|
2016-08-12 05:51:59 +07:00 |
Chantara Tith
|
2a5bae9f08
|
API changes, Refactor and Raname to a consistant interface.
|
2016-08-12 05:51:59 +07:00 |
Andrius Štikonas
|
b455a0e41c
|
Convert most of the remaining foreach cases.
|
2016-08-11 14:26:54 +01:00 |
Andrius Štikonas
|
19d899994e
|
Fix a compilation error in KPM.
|
2016-08-08 22:33:17 +01:00 |
Andrius Štikonas
|
de729a0641
|
More work on C++11 for loops.
|
2016-08-08 20:45:41 +01:00 |
Andrius Štikonas
|
833dde09b8
|
Convert to C++11 for loop where it is safe (avoid detaching Qt objects).
|
2016-08-08 18:37:21 +01:00 |
Chantara Tith
|
5005057ec7
|
A small dirty hack to keep track of all the PVs that to be added to any VG.
|
2016-08-08 14:03:58 +07:00 |
Chantara Tith
|
4e6784c5a3
|
Add activating LVM LV and VG.
|
2016-08-08 13:05:52 +07:00 |
Chantara Tith
|
1b41302191
|
Add deactivating LVM LV and VG.
|
2016-08-08 12:52:50 +07:00 |
Chantara Tith
|
6f6d754d52
|
Decouple VG scan and system scan.
|
2016-08-08 10:43:52 +07:00 |
Chantara Tith
|
b1d5f1fed5
|
Move LVM deviceNodeList and LvPathList to public.
|
2016-08-08 10:14:52 +07:00 |
Chantara Tith
|
8eac41a7cb
|
Add UUID for LV filesystem.
|
2016-08-08 09:35:02 +07:00 |
Chantara Tith
|
428116d354
|
Set partitionTable Last/First sector setter as public.
|
2016-08-08 04:53:39 +07:00 |
Chantara Tith
|
0139092e22
|
Add internal storage to LVM Device to keep track of its LVs and PVs.
|
2016-08-08 03:34:41 +07:00 |
Chantara Tith
|
f6a72c05f2
|
LUKS static cast here should be sufficient.
|
2016-08-06 21:13:28 +07:00 |
Chantara Tith
|
83ec1169a3
|
Enable smartStatus for Disk Device only.
|
2016-08-06 17:17:52 +07:00 |
Chantara Tith
|
8909fc2ba8
|
Micro optimization. calling one external function instead of two.
|
2016-08-05 04:47:18 +07:00 |
Chantara Tith
|
de5b0b0c23
|
Add LVM snapshotting functionality.
|
2016-08-01 20:35:28 +07:00 |
Chantara Tith
|
576cc35900
|
Reduce the calls of external functions to speed up scanning time.
|
2016-08-01 20:35:28 +07:00 |
Chantara Tith
|
6f4de62f4f
|
House-cleaning, removing finished TODO and FIXME tasks.
|
2016-08-01 20:35:17 +07:00 |
Andrius Štikonas
|
3d7f3968f6
|
Various small cleanups.
|
2016-07-31 23:59:18 +01:00 |
Andrius Štikonas
|
2b9c63ffe0
|
Fix crashes in LVM scanner when external device is unplugged without deactivating LVM partitions.
This commit removes stderror channel from output of external commands.
|
2016-07-30 21:11:15 +01:00 |
Andrius Štikonas
|
b6b0d239f1
|
Do not limit number of partitions in Volume Manager Devices.
|
2016-07-30 17:23:17 +01:00 |
Andrius Štikonas
|
4f20405dce
|
Get rid of unused LVM flag for LVM LV.
|
2016-07-29 15:46:00 +01:00 |
Chantara Tith
|
67657527d4
|
Move LVM scanning logic from DeviceScanner to LvmDevice.
|
2016-07-28 20:21:31 +07:00 |
Chantara Tith
|
c9f556672d
|
House-cleaning and removing irrelevant TODO.
|
2016-07-28 02:57:49 +07:00 |
Chantara Tith
|
90e5e9c83e
|
Deactivate VG before removing it.
|
2016-07-28 02:57:49 +07:00 |
Chantara Tith
|
cbcfcc770e
|
Hardcode LUKS payload offset return value in byte size instead of sector number.
|
2016-07-28 02:57:49 +07:00 |
Chantara Tith
|
a8cf3e0737
|
Handle LUKS inside LVM. still need to fix incorrect sectorUsed.
|
2016-07-28 02:57:49 +07:00 |
Chantara Tith
|
4a422f8eea
|
Display preview for LV operation.
|
2016-07-28 02:57:49 +07:00 |
Chantara Tith
|
72d2e175b8
|
Rephrashing comment.
|
2016-07-28 02:57:49 +07:00 |
Chantara Tith
|
7642a516c5
|
Add functionality to specify PE size when creating VG group.
|
2016-07-28 02:57:49 +07:00 |
Chantara Tith
|
10696c87a7
|
Fix LVM volume showing incorrect preview when creating new LV.
|
2016-07-28 02:57:49 +07:00 |
Chantara Tith
|
89db5b9131
|
Move LvmDevice member variables from 32 bits to 64 bits.
|
2016-07-28 02:57:49 +07:00 |
Chantara Tith
|
271b59a30b
|
Add optional destination partitions to LVM movePV. This also helps preventing moving data back and forth when resizing.
|
2016-07-28 02:57:49 +07:00 |
Andrius Štikonas
|
fcf65fda18
|
Fix integer overflow.
|
2016-07-28 02:57:49 +07:00 |
Chantara Tith
|
930f936b8c
|
Handle case when the to-be-moved PV is not used.
|
2016-07-28 02:57:49 +07:00 |
Chantara Tith
|
c791280089
|
Refactor functions for getting list of PV and LV.
|
2016-07-28 02:57:49 +07:00 |
Chantara Tith
|
d7917936e0
|
Handle LvmDevice's getField case when VG name is not supplied.
|
2016-07-28 02:57:49 +07:00 |
Chantara Tith
|
faa314c87d
|
Add LVM PV move.
|
2016-07-28 02:57:48 +07:00 |
Chantara Tith
|
3898fec758
|
Move LVM removeVG parameter to LvmDevice instead of QString of VG name.
|
2016-07-28 02:57:48 +07:00 |
Chantara Tith
|
5b92f1b411
|
Fix createVG PV list white space problem.
|
2016-07-28 02:57:48 +07:00 |
Chantara Tith
|
016daaa75d
|
Add removeVG lvmdevice. And, Change createVG to accpeting QStringList instead.
|
2016-07-28 02:57:48 +07:00 |
Chantara Tith
|
2770da7da6
|
Add LvmDevice createVG.
|
2016-07-28 02:57:48 +07:00 |
Chantara Tith
|
0ab8227d94
|
Add freeSetors for partitionTable
|
2016-07-28 02:57:48 +07:00 |
Chantara Tith
|
7851d9e93b
|
Remove else clause
|
2016-07-28 02:57:48 +07:00 |
Chantara Tith
|
aaa2158dc3
|
Move LVM totalPE to 64 bits
|
2016-07-28 02:57:48 +07:00 |
Chantara Tith
|
a298800fe2
|
LVM LV resize Operation
|
2016-07-28 02:57:48 +07:00 |
Chantara Tith
|
503c493daf
|
Fix LV used space.
|
2016-07-28 02:57:48 +07:00 |