Uploaded image for project: 'RHEL'
  1. RHEL
  2. RHEL-84058

Low-level devicemapper error returned when creating filesystem with size that is divisible by 512 but not by 4096

Linking RHIVOS CVEs to...Migration: Automation ...Sync from "Extern...XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Major Major
    • None
    • rhel-10.0
    • stratisd
    • None
    • No
    • Moderate
    • rhel-storage-crs
    • ssg_platform_storage
    • None
    • False
    • False
    • Hide

      None

      Show
      None
    • None
    • None
    • None
    • None
    • Unspecified
    • Unspecified
    • Unspecified
    • None

      What were you trying to do that didn't work?

      Trying to create a Stratis filesystem using Cockpit fails when setting both the initial size and limit size. This issue happens only on RHEL 10. On RHEL 9, the filesystem is created successfully.

      What is the impact of this issue to you?

      Users cannot create a stratis filesystem in cockpit if they set both the initial size and limit size.

      Please provide the package NVR for which the bug is seen:

      cockpit-333-1.el10

      cockpit-storaged-333-1.el10

      stratis-cli-3.7.0-2.el10

      stratisd-3.7.3-2.el10

      How reproducible is this bug?:

      always

      Steps to reproduce

      1. Create stratis pool on a device using cockpit or terminal
      2. Use cockpit to create a filesystem on this pool setting both the initial size and limit size. (See the following screenshot of the "Create Filesystem" window)

      Expected results

      Filesystem is created successfully

      Actual results

      Creation of filesystem fails with the following message:

      low-level ioctl error due to nix error; ioctl number: 9, input header: Some(DeviceInfo { version: Version

      { major: 4, minor: 0, patch: 0 }

      , data_size: 16384, data_start: 312, target_count: 1, open_count: 0, flags: DmFlags(0x0), event_nr: 0, dev: Device { major: 0, minor: 0 }, name: Some(DmNameBuf { inner: "stratis-1-5fe9f01ed45c424aa7449f0393ccdde7-thin-fs-8600f4f391144892b26547d794d4dacd" }), uuid: None }), header result: Some(DeviceInfo { version: Version

      { major: 4, minor: 48, patch: 0 }

      , data_size: 16384, data_start: 312, target_count: 1, open_count: 0, flags: DmFlags(0x0), event_nr: 0, dev: Device { major: 0, minor: 0 }, name: Some(DmNameBuf { inner: "stratis-1-5fe9f01ed45c424aa7449f0393ccdde7-thin-fs-8600f4f391144892b26547d794d4dacd" }), uuid: None }), error: EINVAL: Invalid argument

       

      GitHub issue: https://github.com/stratis-storage/project/issues/760

        1. createfs.jpg
          createfs.jpg
          147 kB
        2. stratis_busctl_out.txt
          2 kB
        3. stratiscli_busctl_output2.txt
          102 kB

              amulhern@redhat.com the Mulhern
              rhn-support-fsuba Filip Suba
              stratis-team stratis-team
              Filip Suba Filip Suba
              Votes:
              0 Vote for this issue
              Watchers:
              7 Start watching this issue

                Created:
                Updated: