Module netapp_ontap.models.nvme_namespace_space

Copyright © 2021 NetApp Inc. All rights reserved.


class NvmeNamespaceSpaceSchema (*, only: typing.Union = None, exclude: typing.Union = (), many: bool = False, context: typing.Dict = None, load_only: typing.Union = (), dump_only: typing.Union = (), partial: typing.Union = False, unknown: str = None)

The fields of the NvmeNamespaceSpace object


  • netapp_ontap.resource.ResourceSchema
  • marshmallow.schema.Schema
  • marshmallow.base.SchemaABC

Class variables

block_size GET POST

The size of blocks in the namespace in bytes.
Valid in POST when creating an NVMe namespace that is not a clone of another. Disallowed in POST when creating a namespace clone. Valid in POST.

guarantee GET POST PATCH

The guarantee field of the nvme_namespace_space.


The total provisioned size of the NVMe namespace.
NVMe namespaces do not support resize.
The maximum and minimum sizes listed here are the absolute maximum and absolute minimum sizes in bytes. The maximum size is variable with respect to large NVMe namespace support in ONTAP. If large namespaces are supported, the maximum size is 128 TB (140737488355328 bytes) and if not supported, the maximum size is just under 16 TB (17557557870592 bytes). The minimum size supported is always 4096 bytes.
For more information, see Size properties in the docs section of the ONTAP REST API documentation.

Example: 1073741824

used GET

The amount of space consumed by the main data stream of the NVMe namespace.
This value is the total space consumed in the volume by the NVMe namespace, including filesystem overhead, but excluding prefix and suffix streams. Due to internal filesystem overhead and the many ways NVMe filesystems and applications utilize blocks within a namespace, this value does not necessarily reflect actual consumption/availability from the perspective of the filesystem or application. Without specific knowledge of how the namespace blocks are utilized outside of ONTAP, this property should not be used and an indicator for an out-of-space condition.
For more information, see Size properties in the docs section of the ONTAP REST API documentation.