Bug 2080870 - blivet.errors.PartitioningError: Failed to add the device:requested size exceeds maximum allowed
Summary: blivet.errors.PartitioningError: Failed to add the device:requested size exce...
Keywords:
Status: ASSIGNED
Alias: None
Product: Fedora
Classification: Fedora
Component: blivet-gui
Version: 37
Hardware: x86_64
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Vojtech Trefny
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard: abrt_hash:4ad731386a71afdb23c549357a8...
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2022-05-02 08:31 UTC by Mikhail
Modified: 2022-08-09 13:38 UTC (History)
8 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed:
Type: ---
Embargoed:


Attachments (Terms of Use)
File: anaconda-tb (1.07 MB, text/plain)
2022-05-02 08:31 UTC, Mikhail
no flags Details
File: anaconda.log (10.75 KB, text/plain)
2022-05-02 08:31 UTC, Mikhail
no flags Details
File: dbus.log (3.60 KB, text/plain)
2022-05-02 08:31 UTC, Mikhail
no flags Details
File: environ (563 bytes, text/plain)
2022-05-02 08:31 UTC, Mikhail
no flags Details
File: journalctl (896.39 KB, text/plain)
2022-05-02 08:31 UTC, Mikhail
no flags Details
File: lsblk_output (2.96 KB, text/plain)
2022-05-02 08:31 UTC, Mikhail
no flags Details
File: nmcli_dev_list (1.46 KB, text/plain)
2022-05-02 08:31 UTC, Mikhail
no flags Details
File: os_info (794 bytes, text/plain)
2022-05-02 08:31 UTC, Mikhail
no flags Details
File: program.log (21.11 KB, text/plain)
2022-05-02 08:31 UTC, Mikhail
no flags Details
File: storage.log (117.01 KB, text/plain)
2022-05-02 08:31 UTC, Mikhail
no flags Details
why I unnable create 8Tb RAID0 from two nvme ? (139.01 KB, image/png)
2022-05-02 08:37 UTC, Mikhail
no flags Details
why I unnable create 8Tb BTRFS volume from two nvme ? (108.66 KB, image/png)
2022-05-02 08:48 UTC, Mikhail
no flags Details
screencast (9.27 MB, video/webm)
2022-05-02 09:39 UTC, Mikhail
no flags Details

Description Mikhail 2022-05-02 08:31:19 UTC
Description of problem:
Try to create software RAID from blivet-gui

Version-Release number of selected component:
anaconda-core-37.6-1.fc37.x86_64

The following was filed automatically by anaconda:
anaconda 37.6 exception report
Traceback (most recent call first):
  File "/usr/lib/python3.10/site-packages/blivetgui/osinstall.py", line 234, in _reraise_exception
    raise type(exception)(message + str(exception) + "\n" + traceback)
  File "/usr/lib/python3.10/site-packages/blivetgui/blivetgui.py", line 509, in add_device
    self._reraise_exception(result.exception, result.traceback, message,
blivet.errors.PartitioningError: Failed to add the device:requested size exceeds maximum allowed
Traceback (most recent call last):
  File "/usr/lib/python3.10/site-packages/blivetgui/blivet_utils.py", line 1323, in add_device
    blivet.partitioning.do_partitioning(self.storage)
  File "/usr/lib/python3.10/site-packages/blivet/partitioning.py", line 618, in do_partitioning
    allocate_partitions(storage, disks, partitions, free, boot_disk=boot_disk)
  File "/usr/lib/python3.10/site-packages/blivet/partitioning.py", line 1007, in allocate_partitions
    partition = add_partition(disklabel, free, part_type, aligned_size,
  File "/usr/lib/python3.10/site-packages/blivet/partitioning.py", line 463, in add_partition
    raise PartitioningError(_("requested size exceeds maximum allowed"))
blivet.errors.PartitioningError: requested size exceeds maximum allowed


Additional info:
addons:         com_redhat_kdump
cmdline:        /usr/bin/python3  /sbin/anaconda --liveinst --graphical
cmdline_file:   BOOT_IMAGE=/images/pxeboot/vmlinuz root=live:CDLABEL=Fedora-WS-Live-rawh-20220429-n-0 rd.live.image rd.live.check quiet
dnf.librepo.log: 
executable:     /sbin/anaconda
hashmarkername: anaconda
kernel:         5.18.0-0.rc4.20220428git8f4dd16603ce834.36.fc37.x86_64
other involved packages: blivet-gui-runtime-2.3.0-5.fc37.noarch
product:        Fedora
release:        Fedora release 37 (Rawhide)
release_type:   pre-release
type:           anaconda
version:        rawhide

Comment 1 Mikhail 2022-05-02 08:31:23 UTC
Created attachment 1876434 [details]
File: anaconda-tb

Comment 2 Mikhail 2022-05-02 08:31:25 UTC
Created attachment 1876435 [details]
File: anaconda.log

Comment 3 Mikhail 2022-05-02 08:31:26 UTC
Created attachment 1876436 [details]
File: dbus.log

Comment 4 Mikhail 2022-05-02 08:31:27 UTC
Created attachment 1876437 [details]
File: environ

Comment 5 Mikhail 2022-05-02 08:31:31 UTC
Created attachment 1876438 [details]
File: journalctl

Comment 6 Mikhail 2022-05-02 08:31:32 UTC
Created attachment 1876439 [details]
File: lsblk_output

Comment 7 Mikhail 2022-05-02 08:31:33 UTC
Created attachment 1876440 [details]
File: nmcli_dev_list

Comment 8 Mikhail 2022-05-02 08:31:35 UTC
Created attachment 1876441 [details]
File: os_info

Comment 9 Mikhail 2022-05-02 08:31:36 UTC
Created attachment 1876442 [details]
File: program.log

Comment 10 Mikhail 2022-05-02 08:31:38 UTC
Created attachment 1876443 [details]
File: storage.log

Comment 11 Mikhail 2022-05-02 08:37:57 UTC
Created attachment 1876444 [details]
why I unnable create 8Tb RAID0 from two nvme ?

Comment 12 Mikhail 2022-05-02 08:43:08 UTC
Similar problem has been detected:

Try to create software RAID from blivet-gui

addons:         com_redhat_kdump
cmdline:        /usr/bin/python3  /sbin/anaconda --liveinst --graphical
cmdline_file:   BOOT_IMAGE=/images/pxeboot/vmlinuz root=live:CDLABEL=Fedora-WS-Live-rawh-20220429-n-0 rd.live.image rd.live.check quiet
dnf.librepo.log: 
hashmarkername: anaconda
kernel:         5.18.0-0.rc4.20220428git8f4dd16603ce834.36.fc37.x86_64
other involved packages: blivet-gui-runtime-2.3.0-5.fc37.noarch
package:        anaconda-core-37.6-1.fc37.x86_64
packaging.log:  
product:        Fedora
reason:         blivet.errors.PartitioningError: Failed to add the device:requested size exceeds maximum allowed
release:        Fedora release 37 (Rawhide)
release_type:   pre-release
version:        rawhide

Comment 13 Mikhail 2022-05-02 08:47:08 UTC
Similar problem has been detected:

Try to create btrfs volume from blivet-gui

addons:         com_redhat_kdump
cmdline:        /usr/bin/python3  /sbin/anaconda --liveinst --graphical
cmdline_file:   BOOT_IMAGE=/images/pxeboot/vmlinuz root=live:CDLABEL=Fedora-WS-Live-rawh-20220429-n-0 rd.live.image rd.live.check quiet
dnf.librepo.log: 
hashmarkername: anaconda
kernel:         5.18.0-0.rc4.20220428git8f4dd16603ce834.36.fc37.x86_64
other involved packages: blivet-gui-runtime-2.3.0-5.fc37.noarch
package:        anaconda-core-37.6-1.fc37.x86_64
packaging.log:  
product:        Fedora
reason:         blivet.errors.PartitioningError: Failed to add the device:requested size exceeds maximum allowed
release:        Fedora release 37 (Rawhide)
release_type:   pre-release
version:        rawhide

Comment 14 Mikhail 2022-05-02 08:48:00 UTC
Created attachment 1876445 [details]
why I unnable create 8Tb BTRFS volume from two nvme ?

Comment 15 Vojtech Trefny 2022-05-02 08:58:17 UTC
You have an MSDOS partition table on the disks which can address only up to 2 TiB of space, blivet-gui shouldn't allow you to create a new partition past the 2 TiB mark (a probably should also show a warning when you try to use MSDOS on disk bigger than 2 TiB). If you want to use the entire disk you need to use the GPT partition table.

Comment 16 Mikhail 2022-05-02 09:39:53 UTC
Created attachment 1876447 [details]
screencast

(In reply to Vojtech Trefny from comment #15)
> You have an MSDOS partition table on the disks which can address only up to
> 2 TiB of space, blivet-gui shouldn't allow you to create a new partition
> past the 2 TiB mark (a probably should also show a warning when you try to
> use MSDOS on disk bigger than 2 TiB). If you want to use the entire disk you
> need to use the GPT partition table.

At first I wanted to create a RAID using the BIOS (RAIDXpert2).
But booting into Linux, I realized that Linux does not see the volume created in this way.
A quick googling made it clear AMD RAID is not supported by the kernel. And it looks like it will never be supported out of the box. It was decided to create a software raid.
Therefore, I booted from a bootable flash drive and deleted the rubbish that RAIDXpert2 apparently created in blivet-gui. There were no warnings when I started creating new RAID volume using blivet-gui.
As it turned out later, if I deleting the rubbish partitions via gnome-disks, then blivet-gui starts working correctly.
You can see it all in my video.

Comment 17 Ben Cotton 2022-08-09 13:38:25 UTC
This bug appears to have been reported against 'rawhide' during the Fedora Linux 37 development cycle.
Changing version to 37.


Note You need to log in before you can comment on or make changes to this bug.