Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 496734 - sys-block/partitionmanager fails for unformatted partitions
Summary: sys-block/partitionmanager fails for unformatted partitions
Status: RESOLVED UPSTREAM
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] KDE (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo KDE team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-01-02 08:17 UTC by Tres 'RiverRat' Melton
Modified: 2014-07-25 19:49 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Tres 'RiverRat' Melton 2014-01-02 08:17:14 UTC
I cant' create an 'unformatted' partition cleanly.

My partitions were hosed (unaligned), bad me.  They were assigned to a RAID system and being clever I chose to remove and fix the devices one by one.  Turns out, when you partition a device with KDE's partitionmanager it fails while trying to create an unformatted partion's filesystem.  Imagine that ... failing to create a partition's filesystem when it is, as of yet: undefined.

There should be an exception in the code that calls the "finalize the disk" functions so it doesn't even try to call the "format-a-partition" call when no format is defined.

In this case it is a RAID V issue, but I think LVM, LUKS, and possibly others, might suffer from the need for untyped partitions.  Regardless, they cannot be created without enduring errors with partitionmanager.

Are the config/version files really necessary?  I can provide them if they are.
Comment 1 Michael Palimaka (kensington) gentoo-dev 2014-01-02 14:14:04 UTC
partitionmanager is only a front end for parted, is this likely to be an issue with parted, or the GUI misusing the backend?
Comment 2 Andrius Štikonas 2014-01-21 02:57:50 UTC
I think I observed this behaviour too. This is probably partitionmanager's bug, so should be reported upstream, not here. Partitionmanager checks for filesystem, fails to find one, hence reports the error.

It's just that the partitionmanager really needs more manpower. So patches are really welcome there (hopefully, things will change for the better with todays migration to git).
Comment 3 Tres 'RiverRat' Melton 2014-01-21 21:09:52 UTC
(In reply to Michael Palimaka (kensington) from comment #1)
> partitionmanager is only a front end for parted, is this likely to be an
> issue with parted, or the GUI misusing the backend?

It isn't an isue with parted as it does create the partitions correctly.  It just fails to create a filesystem on a partition because there is not one to create.  It should not even try; creating the partition was all it was asked to do.
Comment 4 Johannes Huber (RETIRED) gentoo-dev 2014-02-09 15:00:25 UTC
(In reply to Tres 'RiverRat' Melton from comment #3)
> (In reply to Michael Palimaka (kensington) from comment #1)
> > partitionmanager is only a front end for parted, is this likely to be an
> > issue with parted, or the GUI misusing the backend?
> 
> It isn't an isue with parted as it does create the partitions correctly.  It
> just fails to create a filesystem on a partition because there is not one to
> create.  It should not even try; creating the partition was all it was asked
> to do.

Please report upstream then and link here back.
Comment 5 Johannes Huber (RETIRED) gentoo-dev 2014-07-25 19:49:59 UTC
There is new version in tree. Please test.

>  13 Jul 2014; Johannes Huber <johu@gentoo.org> +partitionmanager-1.1.0.ebuild:
>  Version bump, bug #516948.

If the bug still persists, please report this upstream.