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

[RHEL10] Failed to re-read partition table after format: Invalid argument

    • Icon: Bug Bug
    • Resolution: Not a Bug
    • Icon: Undefined Undefined
    • None
    • rhel-10.0
    • libblockdev
    • None
    • No
    • None
    • rhel-sst-storage-management
    • ssg_filesystems_storage_and_HA
    • None
    • False
    • Hide

      None

      Show
      None
    • None
    • None
    • None
    • None
    • None

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

      What is the impact of this issue to you?

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

      How reproducible is this bug?:

      Steps to reproduce

      1.  
      2.  
      3.  

      Expected results

      Actual results

       

      LBA Format  0 : Metadata Size: 0   bytes - Data Size: 512 bytes - Relative Performance: 0x1 Better 
      LBA Format  1 : Metadata Size: 8   bytes - Data Size: 512 bytes - Relative Performance: 0x3 Degraded (in use)
      LBA Format  2 : Metadata Size: 0   bytes - Data Size: 4096 bytes - Relative Performance: 0 Best 
      LBA Format  3 : Metadata Size: 8   bytes - Data Size: 4096 bytes - Relative Performance: 0x2 Good 
      LBA Format  4 : Metadata Size: 64  bytes - Data Size: 4096 bytes - Relative Performance: 0x3 Degraded 
      
      >>> o.bd.nvme_format("/dev/nvme0n1p1", 512 ,8, o.bd.NVMEFormatSecureErase.NONE)
      Traceback (most recent call last):
        File "<stdin>", line 1, in <module>
      gi.repository.GLib.GError: g-bd-nvme-error-quark: Failed to re-read partition table after format: Invalid argument (1)
      >>> 
       

      looks nvme_format don't works well with nvme partition,  please have a look if something was wrong here.

       

      after format, the nvme partition run mkfs successful.

       

      [root@storageqe-65]# mkfs.xfs -f /dev/nvme0n1p1 
      meta-data=/dev/nvme0n1p1         isize=512    agcount=4, agsize=327680 blks
               =                       sectsz=512   attr=2, projid32bit=1
               =                       crc=1        finobt=1, sparse=1, rmapbt=1
               =                       reflink=1    bigtime=1 inobtcount=1 nrext64=1
      data     =                       bsize=4096   blocks=1310720, imaxpct=25
               =                       sunit=0      swidth=0 blks
      naming   =version 2              bsize=4096   ascii-ci=0, ftype=1
      log      =internal log           bsize=4096   blocks=16384, version=2
               =                       sectsz=512   sunit=0 blks, lazy-count=1
      realtime =none                   extsz=4096   blocks=0, rtextents=0
      Discarding blocks...Done.
      [root@storageqe-65 home]# 
       

       

      libblockdev-3.2.0-2.el10.x86_64

       

       

       

       

              vtrefny@redhat.com Vojtěch Trefný
              guazhang@redhat.com Guangwu Zhang
              Vojtěch Trefný Vojtěch Trefný
              Guangwu Zhang Guangwu Zhang
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated:
                Resolved: