Bug 488729 - Resize second disk on btrfs multi device (raid1) returns error
Summary: Resize second disk on btrfs multi device (raid1) returns error
Status: REPORTED
Alias: None
Product: partitionmanager
Classification: Applications
Component: general (show other bugs)
Version: 23.08.0
Platform: Ubuntu Linux
: NOR normal
Target Milestone: ---
Assignee: Andrius Štikonas
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-06-19 11:31 UTC by abelau@gmail.com
Modified: 2024-06-19 11:31 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 abelau@gmail.com 2024-06-19 11:31:38 UTC
SUMMARY
btrfs raid1 with 2 partitions (sda1 sdb1)

KDE partition manager shows correct info:
Partition    Type    Mount Point     Label
/dev/sda1    btrfs    /mnt/point/  testbtrfs
/dev/sdb1    btrfs                 testbtrfs
Note: Mount Point of /dev/sdb1 is empty (matches with df)

Online Resize /dev/sda1 works as expected
Online Resize /dev/sdb1 returns below error:


OBSERVED RESULT

Job: Check file system on partition ‘/dev/sdb1’ 
Command: btrfs check --repair /dev/sdb1 
Check file system on partition ‘/dev/sdb1’: Error
Checking partition ‘/dev/sdb1’ before resize/move failed. 
Grow partition ‘/dev/sdb1’ from 97.66 GiB to 146.48 GiB: Error


EXPECTED RESULT

Online resize/grow successful


SOFTWARE/OS VERSIONS
Linux/KDE Plasma: Ubuntu 24.04 
(available in About System)
KDE Plasma Version: 5.27.11
KDE Frameworks Version: 5.115.0
Qt Version: 5.15.13

ADDITIONAL INFORMATION
It looks like KDE Partition Manager is treating the 2nd disk in a btrfs raid1 array as unmounted, and not interpreting it as part of a btrfs raid1 array.