Adding NVMe SSDs

You can add SSDs after you have determined that the node currently manages less SSDs than the maximum set value (maxDeviceCount).

  1. Enter the lbcli list nvme-devices command to list all NVMe SSDs that the Linux OS currently sees before inserting the new SSD. Unlike in the previous instance, use the --server-uuid flag to identify physical SSDs inserted into the server chassis that are not managed by the Lightbits node.

Sample Command

Bash
Copy

Sample Output

Bash
Copy

In this case, the output shows that all SSDs are currently managed by this node.

  1. Insert the new SSD drive into any available physical slot.
  2. Re-enter the lbcli list nvme-devices command.

Sample Command

Bash
Copy

Sample Output

Bash
Copy

The output shows that nvme4n1 was added to the server but it is not managed by the Lightbits node because it does not include a node UUID.

It is also possible to list only unmanaged SSDs by entering the lbcli list nvme-devices command with the following flags.

Sample Command

Bash
Copy

Sample Output

Bash
Copy

If you do not filter by the server-uuid flag, you will see a list of NVMe devices across all the Lightbits cluster servers.

  1. Enter the lbcli add nvme-device command to add the new device to the Lightbits pool of NVMe SSDs. This command creates a background task for adding the block device.

Sample Command

Bash
Copy

This task can take several minutes for the Lightbits pool of NVMe SSDs to add the new device.

  1. Enter the lbcli list nvme-devices command. The device is available in the Lightbits pool when this command's output shows the new device in the list with a valid node UUID.

Sample Command

Bash
Copy

Sample Output

Bash
Copy

The output shows that the new nvme4n1 device has been successfully added to the node.

Type to search, ESC to discard
Type to search, ESC to discard
Type to search, ESC to discard