Commit Graph

1218 Commits

Author SHA1 Message Date
Caio Carvalho bbe392b5d2 Support RAID resize 2018-10-12 17:01:38 -03:00
Caio Carvalho e8cb85a15f Changing onRemoveVolumeGroup to accept RAID 2018-10-11 17:43:53 -03:00
Caio Carvalho 5727717776 Activating RAID through GUI 2018-10-11 15:01:46 -03:00
Caio Carvalho 495b2d5b42 Improving volumegroupwidgetbase layout 2018-09-14 18:38:01 -03:00
Caio Carvalho a680ad0be2 Changing RAID name validation. 2018-09-14 09:23:10 -03:00
Caio Carvalho 14b286ede7 Initial implementation of RAID activation. 2018-08-28 15:06:01 -03:00
Caio Carvalho bdc0a24508 Don't resize RAID if it is not active. 2018-08-24 12:23:17 -03:00
Caio Carvalho 702a34d6a4 DeactivateVolumeGroup cast to VolumeManagerDevice instead of LvmDevice 2018-08-19 16:59:48 +02:00
Caio Carvalho 45217f4b7e Allowing reset RAID config file path to default. 2018-08-18 22:52:45 +02:00
Caio Carvalho 170a0fadde Rescanning after RAID config file change 2018-08-16 23:56:01 +02:00
Caio Carvalho 3c79839152 Fix in raid configuration 2018-08-16 14:59:49 +02:00
Caio Carvalho 8eb4393ded Updating RAID configuration to use partitionmanager.kcfg 2018-08-16 14:17:36 +02:00
Caio Carvalho 7b1ca5fe72 Setting RAID configuration file path through GUI. 2018-08-16 01:20:07 +02:00
Andrius Štikonas 863e7cafaa Merge branch 'master' into raid-support 2018-08-15 10:48:29 +00:00
Caio Carvalho 94d1c1d9c6 Only load partitions without active raid while creating. 2018-08-14 15:18:33 +02:00
Caio Carvalho 57a2072686 Updating ok button validation 2018-08-14 12:17:10 +02:00
Caio Carvalho fa0b7b838c Check for VolumeManagerDevice instead of LVM. 2018-08-14 02:13:46 +02:00
Caio Carvalho 04db81aaba Cast to VolumeManagerDevice instead of LvmDevice. 2018-08-14 01:52:03 +02:00
Caio Carvalho 39d0477ca0 Fixing RAID information on CreateVolumeGroupDialog. 2018-08-14 01:22:50 +02:00
Caio Carvalho a8ae8d5419 Fixing RAID creation GUI. 2018-08-13 20:09:52 -03:00
Caio Carvalho eec9801582 Updating VolumeGroupDialog constraints. 2018-08-13 17:59:42 -03:00
Caio Carvalho f81f6fbff2 Including RAID components in VolumeGroupWidget 2018-08-13 16:42:18 -03:00
Caio Carvalho 4365a0e9d2 Ignore unallocated partitions in RAID creation 2018-08-09 12:16:34 -03:00
Caio Carvalho a7680ae169 Create RAID with LinuxRaidMember, Unformatted or Unknown partitions 2018-08-08 17:24:27 -03:00
Caio Carvalho 50af43636d Allowing only LinuxRaidMember partitions for RAID creation. 2018-08-08 16:39:25 -03:00
l10n daemon script 37ebbd46ab SVN_SILENT made messages (.desktop file) - always resolve ours
In case of conflict in i18n, keep the version of the branch "ours"
To resolve a particular conflict, "git checkout --ours path/to/file.desktop"
2018-08-05 05:29:35 +02:00
Caio Carvalho a87f042468 Load partitions for RAID in CreateVolumeGroupDialog. 2018-07-31 16:34:32 -03:00
l10n daemon script a4773460f0 SVN_SILENT made messages (.desktop file) - always resolve ours
In case of conflict in i18n, keep the version of the branch "ours"
To resolve a particular conflict, "git checkout --ours path/to/file.desktop"
2018-07-26 05:44:16 +02:00
Andrius Štikonas e2b31f81fb Merge branch 'kauth' 2018-07-25 09:38:54 +00:00
Caio Carvalho f21b42d10e Adding PVs that are member of VGs that are going to be deleted soon in CreateVolumeGroupDialog and ResizeVolumeGroupDialog. Avoiding segfault because of devices partition tables in CreateVolumeGroupDialog and ResizeVolumeGroupDialog. 2018-07-23 13:38:30 -03:00
Caio Carvalho 15f19e818c RAID level should not be showed when the device is inactive. (i.e. it's not loaded by mdadm). 2018-07-16 15:51:16 -03:00
Andrius Štikonas 773cbf6d3b Newly created / to be removed LVM PVs in Resize VG dialog
Port changes from Create VG dialog:
Commit: af9fbe8a4f
2018-07-16 00:20:00 +01:00
Caio Carvalho b68db554f6 Operations should check LvmDevice::s_DirtyPVs instead of check pending CreateVolumeGroupOperations to search for newly LVM PVs. 2018-07-15 19:43:44 -03:00
Andrius Štikonas aa6f4afead Use the same whitespace as rest of the file. 2018-07-15 22:33:37 +01:00
Caio Carvalho b5eaa4aadc Adding support for detecting linux_raid_member file system. 2018-07-15 17:40:01 -03:00
Andrius Štikonas 65eb5178f1 Static cast should be sufficient
We manually check device type jsut before cast
2018-07-12 09:58:50 +00:00
Caio Carvalho a606306e79 Showing SoftwareRAID device properties and allowing to create RAID device partition table. 2018-07-11 12:23:10 -03:00
Andrius Štikonas e7589702b9 Fix a compile warning. 2018-07-08 10:57:16 +01:00
Andrius Štikonas cc43e8b706 Fix out of bounds access.
BUG: 396099
2018-07-07 14:12:25 +01:00
René J.V. Bertin ade8676d23 avoid nullptr dereference when no devices are found
Differential revision: https://phabricator.kde.org/D13445
2018-06-09 14:27:35 +02:00
Andrius Štikonas 30815be85c Remove Kdelibs4ConfigMigrator
Config is no longer stored in root home folder, so migration cannot be done as
we have no access to root folder when running as unprivileged user.
2018-06-08 11:23:06 +01:00
Caio Carvalho 5a849d802b Checking if a new partition is targeted by a new VG through LvmDevice::s_DirtyPVs list instead of searching for a CreateVolumeGroupOperation targeting this new partition. 2018-05-28 16:24:31 -03:00
Caio Carvalho dfca46250e - Passing list of pending operations as argument to ResizeOperation::canGrow.
- Access LVM::pvList through static list attribute.
2018-05-09 04:15:28 -03:00
Caio Carvalho 556a5a22ba Don't delete, shrink or move LVM PVs that are being targeted by CreateVolumeGroupOperations. 2018-05-07 22:16:58 -03:00
Caio Carvalho 7d5d1f8f8a Listing newly created encrypted LVM PVs in Create Volume Group dialog. 2018-05-07 20:21:14 -03:00
Caio Carvalho d9b4ec0ce0 Disabling checkBoxEncrypt in Create New Partition dialog when cryptsetup tool is not found. 2018-05-07 19:22:20 -03:00
Caio Carvalho af9fbe8a4f - Allow creating LVM VG with PVs that are going to be created in OperationStack.
- Check if there is another CreateVolumeGroupOperation with the LVM PV before listing it in the LVM VG creation widget.
- Disallow creating VG with some PV that will be deleted.
2018-05-03 20:50:42 -03:00
l10n daemon script 48fcb9775a GIT_SILENT made messages (after extraction) 2018-04-28 03:38:26 +02:00
Andrius Štikonas 2482eba7de Do not allow closing ScanProgressDialog
BUG: 393275
2018-04-19 14:29:22 +03:00
Andrius Štikonas 3054fa1599 Update copyright year. 2018-04-16 22:25:59 +03:00