https://bugs.kde.org/show_bug.cgi?id=494548

            Bug ID: 494548
           Summary: Partition Manager fails to create new partition table
                    if 'ddf_raid_member' signature is present
    Classification: Applications
           Product: partitionmanager
           Version: 24.08.1
          Platform: Other
                OS: Linux
            Status: REPORTED
          Severity: normal
          Priority: NOR
         Component: general
          Assignee: andr...@stikonas.eu
          Reporter: lingm+kdeb...@posteo.org
  Target Milestone: ---

Created attachment 174697
  --> https://bugs.kde.org/attachment.cgi?id=174697&action=edit
Screenshot of the error in the GUI

Got two factory new drives. They showed up as "No valid partition table found
on this device", so I attempted to create a new (GPT) partition table.

Creation fails with the rather unhelpful message "Error". Luckily the failing
command is shown: "sfdisk --wipe=always /dev/devicename".

Running that command in the terminal manally gives a few more details:

> This disk is currently in use - repartitioning is probably a bad idea.
> Umount all file systems, and swapoff all swap partitions on this disk.
> Use the --no-reread flag to suppress this check.
> sfdisk: Use the --force flag to overrule all checks.

Since the disk is clearly not currently in use, attempt again with the
`--force` flag:

> The device contains 'ddf_raid_member' signature and it may be removed by a
> write command. See sfdisk(8) man page and --wipe option for more details.

No clue what a 'ddf_raid_member' signature is. The disks must have shipped with
them from the factory or something. At least I didn't put them there. Anyway,
that appears to be the root cause.

dmraid -r confirms that:
> /dev/sdf: ddf1, ".ddf1_disks", GROUP, ok, 31250710528 sectors, data@ 0

GParted shows the file system as "ataraid".  Creating a new partition table
with GParted does finish successfully and wipes that signature.

If you need me to get you any further data, please let me know ASAP. So far
I've left one disk untouched, but will need to put it into production soon.


EXPECTATION
Creating a new partition table completes successfully and wipes
'ddf_raid_member' signatures if present.

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to