BlockDev.NVMENamespaceInfo

Fields

Name

Type

Access

Description

current_lba_format

BlockDev.NVMELBAFormat

r/w

A LBA Format currently used for the namespace. Contains zeroes in case of an invalid or no supported LBA Format reported.

eui64

str

r/w

IEEE Extended Unique Identifier: a 64-bit IEEE Extended Unique Identifier (EUI-64) that is globally unique and assigned to the namespace when the namespace is created. Remains fixed throughout the life of the namespace and is preserved across namespace and controller operations.

features

int

r/w

features and capabilities present for this namespace, see BlockDev.NVMENamespaceFeature.

format_progress_remaining

int

r/w

The percentage value remaining of a format operation in progress.

lba_formats

[BlockDev.NVMELBAFormat]

r/w

A list of supported LBA Formats.

ncap

int

r/w

Namespace Capacity: maximum number of logical blocks that may be allocated in the namespace at any point in time. The number of logical blocks is based on the formatted LBA size (see current_lba_format).

nguid

str

r/w

Namespace Globally Unique Identifier: a 128-bit value that is globally unique and assigned to the namespace when the namespace is created. Remains fixed throughout the life of the namespace and is preserved across namespace and controller operations.

nsid

int

r/w

The Namespace Identifier (NSID).

nsize

int

r/w

Namespace Size: total size of the namespace in logical blocks. The number of logical blocks is based on the formatted LBA size (see current_lba_format).

nuse

int

r/w

Namespace Utilization: current number of logical blocks allocated in the namespace. This field is smaller than or equal to the Namespace Capacity. The number of logical blocks is based on the formatted LBA size (see current_lba_format).

uuid

str

r/w

Namespace 128-bit Universally Unique Identifier (UUID) as specified in RFC 4122.

write_protected

bool

r/w

True if the namespace is currently write protected and all write access to the namespace shall fail.

Methods

None

Details

class BlockDev.NVMENamespaceInfo