Patent ID: 11954368
Assignee: KIOXIA CORPORATION
Field: Computer technology (Electrical engineering)
Classification: CPC G | IPC G

Claim 5:
6. A memory system comprising:
a nonvolatile memory;
a controller configured to control the nonvolatile memory;
a communication interface connectable to a plurality of hosts;
a virtual controller creation unit that is a circuit configured to create a virtual controller based on connection of a host to the communication interface;
an attach management unit that is a circuit configured to manage attachment information;
a command response unit that is a circuit configured to transmit a response to the host; and
an attachment command detection unit that is a circuit configured to detect a namespace attachment command received from the host, wherein
the controller is configured to manage a plurality of namespaces,
each of the plurality of namespaces is associated with a storage area of a plurality of storage areas of the nonvolatile memory,
the attachment information is information indicating a correspondence between each of the namespaces and a host to which the namespace is attached,
the virtual controller creation unit is configured to create, based on connection of a first host to the communication interface, a first virtual controller to which no namespace is attached, as a virtual controller to be used by the first host to access the nonvolatile memory,
the command response unit is configured to generate, based on the attachment information, information indicating a list of namespaces excluding a namespace attached to a host other than the first host and transmits the generated information to the first host when a first command for acquiring a list of the plurality of namespaces is received from the first host,
the attachment command detection unit is configured to update the attachment information based on detection of a first namespace attachment command requesting attachment of a first namespace, the first namespace attachment command being received from the first host, in a manner such that information indicating a correspondence between the first namespace and the first host is added to the attachment information, and
the virtual controller creation unit is configured to attach, based the updated attachment information, the first namespace to the first virtual controller.