[parted-devel] [PATCH] Add support for NVDIMM devices

Sebastian Parschauer sparschauer at suse.de
Mon Nov 6 16:14:17 UTC 2017


On 03.11.2017 13:55, Phil Susi wrote:> It isn't about booting but rather
the NVDIMM specification describes a
> special partition table used to break the ram up into different devices
> with different properties for interleave and sector atomicity or not.
> Use of this partition table is not optional.  I'm not sure it makes any
> sense to then take one of those partitions, and try to sub-partition it
> with another disk label, or whether parted could be extended to
> manipulate the NVDIMM partition table.

To which spec are you referring to?

https://www.kernel.org/doc/Documentation/nvdimm/nvdimm.txt ?

What is mentioned as a LABEL there is internal meta data handled within
the NVDIMM drivers (class nd) which can be vendor specific as well.
These LABELs are e.g. used to group multiple regions to one big pmem device.

Parted should only care for the devices which the PMEM block driver
provides and not do NVDIMM management tasks.

A traditional disk label msdos/gpt is put on the pmem device in order to
be able to use a pmem aware file system.

See also:
https://www.snia.org/sites/default/orig/FMS2015/Chang-Sainio_NVDIMM_Cookbook.pdf



More information about the parted-devel mailing list