Bug 424045 - moving btrfs partition fails, creating ntfs and btrfs partition crashes all the harddisk and data
Summary: moving btrfs partition fails, creating ntfs and btrfs partition crashes all t...
Status: REPORTED
Alias: None
Product: partitionmanager
Classification: Applications
Component: general (other bugs)
Version First Reported In: 4.1.0
Platform: Manjaro Linux
: NOR critical
Target Milestone: ---
Assignee: Andrius Štikonas
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-07-09 22:06 UTC by Rüdiger
Modified: 2024-05-28 09:19 UTC (History)
1 user (show)

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


Attachments
failure moving btrfs partition (7.01 KB, application/xhtml+xml)
2020-07-09 22:06 UTC, Rüdiger
Details
failure moving btrfs partition (6.92 KB, text/html)
2020-07-09 22:55 UTC, Andrius Štikonas
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Rüdiger 2020-07-09 22:06:00 UTC
Created attachment 130009 [details]
failure moving btrfs partition

SUMMARY
1. moving btrfs partition fails. See attachment. It is in German language.

Using a 1 TB hard disk with KDE Plasma on Manjaro Linux beside a 256 GB HD for OS.

And here more bugs from other cases with the same hard disk.
2. Originally my hard disk was fully formated in NTFS 99% for data use and another 1% size partition was for MS Windows. I tried to shrink the NTFS part for having 2 halfs of the harddisk. Then I formatted the 2nd part into btrfs. It crashed all my data. Even the most professional recovery programs could rescue only a little.
3. Later after the crash I have deleted the whole hard disk and splitted it into 2 parts. I tried to format one half to NTFS and the 2nd half to btrfs. It said this does not work. Using a Windows platform partition manager easily I could format one half to NTFS and the other one to ext4. Later I used gparted to change the ext4 to btrfs.

Sorry to talk so open but your partition manager is really rubbish. It cause terrific problems. It cost me 3 days of work for (partial) recovery. All free partition programs in Windows are much more reliable and offer more features. Compared gbparted still does not create those crashes as KDE partition manager. And it gives at least warnings for risky formats and explains what to consider before acting. Nothing like this for KDE partition manager

STEPS TO REPRODUCE1. 
2. 
3. 

OBSERVED RESULT


EXPECTED RESULT


SOFTWARE/OS VERSIONS
Windows: 
macOS: 
Linux/KDE Plasma: 
(available in About System)
KDE Plasma Version: 
KDE Frameworks Version: 
Qt Version: 

ADDITIONAL INFORMATION
Comment 1 Andrius Štikonas 2020-07-09 22:55:07 UTC
Created attachment 130012 [details]
failure moving btrfs partition

Fix broken html file
Comment 2 Andrius Štikonas 2020-07-09 23:09:04 UTC
> SUMMARY
> 1. moving btrfs partition fails. See attachment. It is in German language.
> 
> Using a 1 TB hard disk with KDE Plasma on Manjaro Linux beside a 256 GB HD
> for OS.
> 
> And here more bugs from other cases with the same hard disk.
> 2. Originally my hard disk was fully formated in NTFS 99% for data use and
> another 1% size partition was for MS Windows. I tried to shrink the NTFS
> part for having 2 halfs of the harddisk. Then I formatted the 2nd part into
> btrfs. It crashed all my data. Even the most professional recovery programs
> could rescue only a little.
> 3. Later after the crash I have deleted the whole hard disk and splitted it
> into 2 parts. I tried to format one half to NTFS and the 2nd half to btrfs.
> It said this does not work. Using a Windows platform partition manager
> easily I could format one half to NTFS and the other one to ext4. Later I
> used gparted to change the ext4 to btrfs.
> 
> Sorry to talk so open but your partition manager is really rubbish. It cause
> terrific problems. It cost me 3 days of work for (partial) recovery. All
> free partition programs in Windows are much more reliable and offer more
> features. Compared gbparted still does not create those crashes as KDE
> partition manager. And it gives at least warnings for risky formats and
> explains what to consider before acting. Nothing like this for KDE partition
> manager
> 

That's very strange that you have such a bad experience. Maybe there is something unusual
in your system that triggers some bug. Although, Partition Manager like gparted don't do much
themselves, they mostly run external command line programs to do things.
Comment 3 2wxsy58236r3 2020-07-10 04:38:22 UTC
I am sorry to hear that you have such a bad experience.

No matter which software you use, you are reminded to back up your data. You cannot blame anyone if you choose to ignore the warning and proceed without backing up your data.

The KDE Partition Manager Handbook says:

> First of all, you should never perform any destructive operations (delete, move, resize) without first making a complete backup of everything affected.
> It calls external tools written and supported by the file system authors. And it has been tested extensively.
> There is always the risk of data loss due to an unknown bug. KDE Partition Manager's authors try to minimize this risk, but there are of course no guarantees.
Comment 4 robin 2024-05-28 08:05:04 UTC
Does not seem to be fixed in 24.02.2 (Fedora KDE). Moving a btrfs partition failed with an error, I don't remember what, sorry.. It left the disk in a state where the partition was moved but the filesystem wasn't, making it unrecognizable. Fortunately testdisk could find the btrfs header and restore the partition, so no data is lost. But it is disastrous for people who do not know this is possible.