Summary: | enlarging mounted btrfs partition with "Align" option checked leads to full loss of the partition. | ||
---|---|---|---|
Product: | [Applications] partitionmanager | Reporter: | bobafetthotmail |
Component: | general | Assignee: | Andrius Štikonas <andrius> |
Status: | RESOLVED FIXED | ||
Severity: | major | ||
Priority: | NOR | ||
Version: | 4.0.0 | ||
Target Milestone: | --- | ||
Platform: | openSUSE | ||
OS: | Linux | ||
Latest Commit: | https://invent.kde.org/kde/kpmcore/commit/40b65438f0608a1913cd5b6232232fed78d50bdc | Version Fixed In: | 4.0.1 |
Sentry Crash Report: |
Description
bobafetthotmail
2019-10-03 19:22:22 UTC
Regarding disabling if it's mounted, that's not possible. Btrfs does not support offline resizing at all, to resize btrfs partition we mount it anyway. Instead of disabling it, it's better to investigate whether it is reproducible and what causes this bug. Ok, I tested this on my system. I'll disable automatic realignment. I slightly misunderstood your initial comment, so ignore my first comment that it's not possible. (What's not possible is not mounting btrfs in order to resize but moving partitions can only be done when they are not mounted) Git commit 0b5e5040ebb3c172ea9c70af660e73957fc1334e by Andrius Štikonas. Committed on 05/10/2019 at 10:52. Pushed by stikonas into branch 'master'. Do not align partitions if they are mounted. Moving data when partitions are mounted is almost guaranteed to cause data loss. M +3 -1 src/gui/partresizerwidget.h https://invent.kde.org/kde/kpmcore/commit/0b5e5040ebb3c172ea9c70af660e73957fc1334e I'll try to release a new bug fix version of kpmcore too. Git commit 40b65438f0608a1913cd5b6232232fed78d50bdc by Andrius Štikonas. Committed on 05/10/2019 at 11:08. Pushed by stikonas into branch '4.0'. Do not align partitions if they are mounted. Moving data when partitions are mounted is almost guaranteed to cause data loss. M +3 -1 src/gui/partresizerwidget.h https://invent.kde.org/kde/kpmcore/commit/40b65438f0608a1913cd5b6232232fed78d50bdc Thank you! |