-
Bug
-
Resolution: Unresolved
-
Normal
-
None
-
rhel-10.2
-
None
-
No
-
None
-
rhel-storage-management
-
4
-
False
-
False
-
-
None
-
None
-
None
-
None
-
Unspecified
-
Unspecified
-
Unspecified
-
None
[root@storageqe-109 libblockdev]# busctl get-property org.freedesktop.UDisks2 /org/freedesktop/UDisks2/block_devices/nvme0n1 org.freedesktop.UDisks2.Block Drive
o "/"
get the "/" for nvme Drive property, but the property was wrong.
/org/freedesktop/UDisks2/block_devices/nvme0n1: org.freedesktop.UDisks2.Block: Configuration: [] CryptoBackingDevice: '/' Device: /dev/nvme0n1 DeviceNumber: 66305 Drive: '/' HintAuto: false HintIconName: HintIgnore: false HintName: HintPartitionable: true HintSymbolicIconName: HintSystem: true Id: by-id-nvme-SAMSUNG_MZPLJ1T6HBJR-00007_S55JNC0T900418 IdLabel: IdType: IdUUID: IdUsage: IdVersion: MDRaid: '/' MDRaidMember: '/' PreferredDevice: /dev/nvme0n1 ReadOnly: false Size: 1600321314816 Symlinks: /dev/disk/by-diskseq/2 /dev/disk/by-id/nvme-SAMSUNG_MZPLJ1T6HBJR-00007_S55JNC0T900418 /dev/disk/by-id/nvme-SAMSUNG_MZPLJ1T6HBJR-00007_S55JNC0T900418_1 /dev/disk/by-id/nvme-eui.35354a30549004180025384300000001 /dev/disk/by-path/pci-0000:02:00.0-nvme-1 UserspaceMountOptions: org.freedesktop.UDisks2.NVMe.Namespace: EUI64: 0000000000000000 FormatPercentRemaining: 0 FormattedLBASize: (512, 0, 0x02) LBAFormats: [(512, 0, 0x02), (512, 8, 0x04), (4096, 0, 0x01), (4096, 8, 0x03), (4096, 64, 0x04)] NGUID: 35354a30549004180025384300000001 NSID: 1 NamespaceCapacity: 3125627568 NamespaceSize: 3125627568 NamespaceUtilization: 3125627568 UUID: WWN: eui.35354a30549004180025384300000001 org.freedesktop.UDisks2.PhysicalVolume: FreeSize: 0 Size: 1600319913984 VolumeGroup: '/org/freedesktop/UDisks2/lvm/udisks_test_vdo_vg'
nvme info
[root@storageqe-109 ~]# nvme list
Node Generic SN Model Namespace Usage Format FW Rev
--------------------- --------------------- -------------------- ---------------------------------------- ---------- -------------------------- ---------------- --------
/dev/nvme0n1 /dev/ng0n1 S55JNC0T900418 SAMSUNG MZPLJ1T6HBJR-00007 0x1 1.60 TB / 1.60 TB 512 B + 0 B EPK9CB5Q
[root@storageqe-109 ~]# nvme id-ns /dev/nvme0n1 -H
NVME Identify Namespace 1:
nsze : 0xba4d4ab0 Total size in logical blocks
ncap : 0xba4d4ab0 Maximum size in logical blocks
nuse : 0xba4d4ab0 Current size in logical blocks
nsfeat : 0
[7:7] : 0 NPRG, NPRA and NORS are Not Supported
[6:6] : 0 Single Atomicity Mode applies to write operations
[5:4] : 0 NPWG, NPWA, NPDG, NPDGL, NPDA, and NOWS are Not Supported
[3:3] : 0 NGUID and EUI64 fields if non-zero, Reused
[2:2] : 0 Deallocated or Unwritten Logical Block error Not Supported
[1:1] : 0 Namespace uses AWUN, AWUPF, and ACWU
[0:0] : 0 Thin Provisioning Not Supportednlbaf : 4
flbas : 0
[6:5] : 0 Most significant 2 bits of Current LBA Format Selected
[4:4] : 0 Metadata Transferred in Separate Contiguous Buffer
[3:0] : 0 Least significant 4 bits of Current LBA Format Selectedmc : 0x3
[1:1] : 0x1 Metadata Pointer Supported
[0:0] : 0x1 Metadata as Part of Extended Data LBA Supporteddpc : 0x1f
[4:4] : 0x1 Protection Information Transferred as Last Bytes of Metadata Supported
[3:3] : 0x1 Protection Information Transferred as First Bytes of Metadata Supported
[2:2] : 0x1 Protection Information Type 3 Supported
[1:1] : 0x1 Protection Information Type 2 Supported
[0:0] : 0x1 Protection Information Type 1 Supporteddps : 0
[3:3] : 0 Protection Information is Transferred as Last Bytes of Metadata
[2:0] : 0 Protection Information Disablednmic : 0
[1:1] : 0 Namespace is Not a Dispersed Namespace
[0:0] : 0 Namespace Multipath Not Capablerescap : 0xff
[7:7] : 0x1 Ignore Existing Key - Used as defined in revision 1.3 or later
[6:6] : 0x1 Exclusive Access - All Registrants Supported
[5:5] : 0x1 Write Exclusive - All Registrants Supported
[4:4] : 0x1 Exclusive Access - Registrants Only Supported
[3:3] : 0x1 Write Exclusive - Registrants Only Supported
[2:2] : 0x1 Exclusive Access Supported
[1:1] : 0x1 Write Exclusive Supported
[0:0] : 0x1 Persist Through Power Loss Supportedfpi : 0x80
[7:7] : 0x1 Format Progress Indicator Supported
[6:0] : 0 Format Progress Indicator (Remaining 0%)dlfeat : 1
[4:4] : 0 Guard Field of Deallocated Logical Blocks is set to 0xFFFF
[3:3] : 0 Deallocate Bit in the Write Zeroes Command is Not Supported
[2:0] : 0x1 Bytes Read From a Deallocated Logical Block and its Metadata are 0x00nawun : 0
nawupf : 0
nacwu : 0
nabsn : 0
nabo : 0
nabspf : 0
noiob : 0
nvmcap : 1,600,321,314,816
mssrl : 0
mcl : 0
msrc : 0
kpios : 0
[1:1] : 0 Key Per I/O Capability Not Supported
[0:0] : 0 Key Per I/O Capability Disablednulbaf : 0
kpiodaag: 0
anagrpid: 0
nsattr : 0
[0:0] : 0 Namespace Not Write Protectednvmsetid: 0
endgid : 0
nguid : 35354a30549004180025384300000001
eui64 : 0000000000000000
LBA Format 0 : Metadata Size: 0 bytes - Data Size: 512 bytes - Relative Performance: 0x1 Better (in use)
LBA Format 1 : Metadata Size: 8 bytes - Data Size: 512 bytes - Relative Performance: 0x3 Degraded
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
[root@storageqe-109 ~]#
I don't have reproducer, but looks the nvme usually formatted to different lba format before hit the error.
to workaround
restart udisksd.
[root@storageqe-109 libblockdev]# busctl get-property org.freedesktop.UDisks2 /org/freedesktop/UDisks2/block_devices/nvme0n1 org.freedesktop.UDisks2.Block Drive
o "/org/freedesktop/UDisks2/drives/SAMSUNG_MZPLJ1T6HBJR_00007_S55JNC0T900418"
udisks2-2.10.90-6.el10_1.x86_64
libnvme-1.13-1.el10.x86_64
nvme-cli-2.13-2.el10.x86_64
nvmetcli-0.8-1.el10.noarch
libblockdev-3.4.0-1.el10.x86_64
6.12.0-134.el10.x86_64