Commit Graph

43 Commits

Author SHA1 Message Date
Andrius Štikonas b620b0caaf Merge branch 'master' into raid-support 2020-11-14 01:28:46 +00:00
Andrius Štikonas 19f78ef76a Port away from qAsConst. 2020-10-24 22:01:45 +01:00
Andrius Štikonas 1d3458fb0a Merge branch 'master' into raid-support 2020-10-02 12:11:29 +01:00
Andrius Štikonas d68ffeadef REUSE: SPDX style license headers for src/util. 2020-10-01 00:33:19 +01:00
Andrius Štikonas 11bb5799ec REUSE: SPDX license headers for backend and core folders. 2020-09-20 20:33:16 +01:00
Andrius Štikonas 90ebdb9b42 Merge branch 'master' into raid-support 2019-01-12 00:07:21 +00:00
Andrius Štikonas ca07ad5ab0 Silence RAID warnings in master. 2019-01-12 00:05:59 +00:00
Caio Carvalho 355c37097a Including fail and remove PV methods for RAID shrinking 2018-10-13 18:27:52 -03:00
Caio Carvalho 6ab2143158 RAID 4, 5, 6 and 10 asks for confirmation during creation 2018-10-13 18:10:37 -03:00
Caio Carvalho daacc0bfb7 Changing volume group resize to support RAID 2018-10-12 16:59:59 -03:00
Caio Carvalho 6a349f7bc8 Avoiding segfaults on device scanning 2018-10-12 15:07:32 -03:00
Caio Carvalho 3ada811de7 RAID partition table needs to be erased before removing 2018-10-12 12:02:49 -03:00
Caio Carvalho ecc5dc8a4f Including RAID removal 2018-10-11 17:51:25 -03:00
Caio Carvalho f269144474 RAID activation operation support 2018-10-11 15:01:07 -03:00
Caio Carvalho 7429ff7527 Loading physical volumes for RAID 2018-10-11 14:36:08 -03:00
Caio Carvalho 4353de0f05 Including config parameter in RAID assemble. 2018-08-24 18:54:35 -03:00
Caio Carvalho 8083306d66 Updating mdadm config file through a application helper. 2018-08-24 12:06:35 -03:00
Caio Carvalho 6ab3f854e7 Initial RAID configuration file setting implementation. 2018-08-16 01:01:03 +02:00
Caio Carvalho 1c714c7854 Setting mount point for linux_raid_member partitions. 2018-08-14 15:07:48 +02:00
Caio Carvalho 213162c1a8 Updating mdadm.conf file information after creation. 2018-08-14 12:18:22 +02:00
Caio Carvalho be89331db0 Initial RAID deactivation support. 2018-08-14 01:51:09 +02:00
Caio Carvalho 6ddb69b661 Avoiding -1B size for inactive RAID. 2018-08-13 09:53:07 -03:00
Caio Carvalho 51d295ca5d Changing eraseDeviceMDSuperblock call in software RAID creation 2018-08-08 16:44:46 -03:00
Caio Carvalho fed87159da Initial Software RAID creation. 2018-07-31 16:21:51 -03:00
Caio Carvalho 64419caa8d Add chunk size for RAID 1 arrays. 2018-07-16 15:39:47 -03:00
Caio Carvalho c1e393240b Using QFile instead of calling ExternalCommand to read /proc/mdstat and mdadm.conf files. 2018-07-15 19:38:33 -03:00
Caio Carvalho 3fd221f794 Ranged-for in availableInConf const copy.
All the scanned devices should be added to devices list.
2018-07-15 16:36:43 -03:00
Caio Carvalho a508cfbc83 Avoiding pointer comparison. 2018-07-15 15:51:23 -03:00
Caio Carvalho e761c131d0 Changing prettyName for RAID devices with Resync/Recovery status. 2018-07-15 13:21:12 -03:00
Caio Carvalho f3fac7eac7 Add SoftwareRAID::Status enum.
Check for RAID before modelCommand in SfdiskBackend::scanDevice.
2018-07-15 13:11:50 -03:00
Caio Carvalho fae6cd4d61 RAID 0 devices don't need to check for resync/recovery progress. 2018-07-15 12:10:19 -03:00
Caio Carvalho dff99ffcf5 Support RAID devices which are in resync/recovery process after its creation/assemble.
Revert modelCommand.output().trimmed().isEmpty() check in SfdiskBackend::scanDevice.
2018-07-15 12:06:54 -03:00
Caio Carvalho a0b9a93b6b Support inactive RAID devices. 2018-07-15 10:31:27 -03:00
Caio Carvalho aa23ecdc3c Software RAID devices can be created containing '/' character after 'md'. (e.g. /dev/md/alpha0) 2018-07-13 19:33:08 -03:00
Caio Carvalho 6803d6bc67 Including RAID level in SoftwareRAID device pretty name. 2018-07-13 17:56:13 -03:00
Caio Carvalho b3e0dbe15a Adding full command option for detail and stop Software RAID. 2018-07-13 16:20:38 -03:00
Caio Carvalho d8602817f0 Adding reassemble method for SoftwareRAID. 2018-07-12 14:38:52 -03:00
Caio Carvalho 3f7c5ca722 Reassemble Software RAID when commit partition table. 2018-07-12 14:08:24 -03:00
Andrius Štikonas b11b73b1e5 Remove extra semicolon after Q_UNUSED. 2018-07-12 00:12:43 +01:00
Caio Carvalho e2f88dbbf9 Including SoftwareRAID attributes getters. 2018-07-11 12:03:44 -03:00
Caio Carvalho ae8987b82c Sfdisk always creates RAID logical partitions with a 'p' character before partition number. 2018-07-10 23:03:21 -03:00
Caio Carvalho 04a5e2914d Correctly showing Software RAID device partition table. 2018-07-10 19:09:22 -03:00
Caio Carvalho c03c0ddc15 Including src/core/raid subdirectory. 2018-07-09 20:48:52 -03:00