Bug 410380 - KDE partition manager fails at creating luks partition
Summary: KDE partition manager fails at creating luks partition
Status: REPORTED
Alias: None
Product: partitionmanager
Classification: Applications
Component: general (show other bugs)
Version: 4.0.0
Platform: Manjaro Linux
: NOR normal
Target Milestone: ---
Assignee: Andrius Štikonas
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2019-07-30 03:12 UTC by alexgallotta
Modified: 2024-07-09 11:50 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description alexgallotta 2019-07-30 03:12:51 UTC
SUMMARY
KDE partition manager fails to create luks partition

STEPS TO REPRODUCE
1. select an empty partition
2. add ext4 luks partition on all the empty space
3. apply changes

OBSERVED RESULT

Create a new partition (390.63 GiB, luks) on ‘/dev/nvme0n1’ 
Job: Create new partition on device ‘/dev/nvme0n1’ 
Command: sfdisk --force --append /dev/nvme0n1 
Create new partition ‘/dev/nvme0n1p5’: Success

Job: Create file system ‘luks’ on partition ‘/dev/nvme0n1p5’ 
Command: cryptsetup -s 512 --batch-mode --force-password --type luks1 luksFormat /dev/nvme0n1p5 
Create file system ‘luks’ on partition ‘/dev/nvme0n1p5’: Error
Create a new partition (390.63 GiB, luks) on ‘/dev/nvme0n1’: Error
EXPECTED RESULT


Operating System: Manjaro Linux 
KDE Plasma Version: 5.16.3
KDE Frameworks Version: 5.60.0
Qt Version: 5.13.0
Kernel Version: 5.2.2-1-MANJARO
OS Type: 64-bit
Processors: 8 × Intel® Xeon® CPU E3-1505M v6 @ 3.00GHz
Memory: 31.3 GiB of RAM

KDE partition manager 4.0.0-1

Additional info
Disk /dev/nvme0n1: 953.89 GiB, 1024209543168 bytes, 2000409264 sectors
Disk model: KXG50PNV1T02 NVMe TOSHIBA 1024GB        
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disklabel type: gpt

Old situation:

Device             Start        End    Sectors   Size Type
/dev/nvme0n1p1      2048    1230847    1228800   600M EFI System
/dev/nvme0n1p2   1230848   11716607   10485760     5G Microsoft basic data
/dev/nvme0n1p3  11716608  157208575  145491968  69.4G Linux filesystem
/dev/nvme0n1p4 157208576 1181208575 1024000000 488.3G Linux filesystem