Adding SSDs

AI Tools

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

  1. Enter the lbcli list nvme-devices --data command to list all data 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

$ lbcli list nvme-devices --server-uuid=fc9849f7-7380-48d8-904b-48a89c4da7a0 --data

Sample Output

Name Size Serial State Server UUID Node UUID Usage nvme0n1 4T 700084450RGN Healthy fc9849f7-7380-48d8-904b-48a89c4da7a0 fb9c7b76-22f2-4fcf-af1a-70933c1dd3fb Data nvme1n1 4T 7000SZ450RGN Healthy fc9849f7-7380-48d8-904b-48a89c4da7a0 fb9c7b76-22f2-4fcf-af1a-70933c1dd3fb Data nvme2n1 4T 7000UM450RGN Healthy fc9849f7-7380-48d8-904b-48a89c4da7a0 fb9c7b76-22f2-4fcf-af1a-70933c1dd3fb Data nvme3n1 4T 7000V9450RGN Healthy fc9849f7-7380-48d8-904b-48a89c4da7a0 fb9c7b76-22f2-4fcf-af1a-70933c1dd3fb Data

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

$ lbcli list nvme-devices --server-uuid=fc9849f7-7380-48d8-904b-48a89c4da7a0

Sample Output

Name Size Serial State Server UUID Node UUID Usage nvme0n1 4T 700084450RGN Healthy fc9849f7-7380-48d8-904b-48a89c4da7a0 fb9c7b76-22f2-4fcf-af1a-70933c1dd3fb Data nvme1n1 4T 7000SZ450RGN Healthy fc9849f7-7380-48d8-904b-48a89c4da7a0 fb9c7b76-22f2-4fcf-af1a-70933c1dd3fb Data nvme2n1 4T 7000UM450RGN Healthy fc9849f7-7380-48d8-904b-48a89c4da7a0 fb9c7b76-22f2-4fcf-af1a-70933c1dd3fb Data nvme3n1 4T 7000V9450RGN Healthy fc9849f7-7380-48d8-904b-48a89c4da7a0 fb9c7b76-22f2-4fcf-af1a-70933c1dd3fb Data nvme4n1 4T 910005450RGN None fc9849f7-7380-48d8-904b-48a89c4da7a0 --- UnManaged

The output shows that nvme4n1 was added to the server, but is not managed by the Lightbits node because it does not include a node UUID (the usage of the device is marked as "UnManaged")

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

Sample Command

$ lbcli list nvme-devices --server-uuid=fc9849f7-7380-48d8-904b-48a89c4da7a0 --device-usage=unmanaged

Sample Output

Name Size Serial State Server UUID Node UUID Usage nvme4n1 4T 910005450RGN None fc9849f7-7380-48d8-904b-48a89c4da7a0 --- UnManaged
Note

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

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

Sample Command

$ lbcli add nvme-device --serial-number=910005450RGN --node-uuid=fb9c7b76-22f2-4fcf-af1a-70933c1dd3fb

This task can take several minutes for the Lightbits pool of 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

$ lbcli list nvme-devices --node-uuid=fb9c7b76-22f2-4fcf-af1a-70933c1dd3fb --data

Sample Output

Name Size Serial State Server UUID Node UUID Usage nvme0n1 4T 700084450RGN Healthy fc9849f7-7380-48d8-904b-48a89c4da7a0 fb9c7b76-22f2-4fcf-af1a-70933c1dd3fb Data nvme1n1 4T 7000SZ450RGN Healthy fc9849f7-7380-48d8-904b-48a89c4da7a0 fb9c7b76-22f2-4fcf-af1a-70933c1dd3fb Data nvme2n1 4T 7000UM450RGN Healthy fc9849f7-7380-48d8-904b-48a89c4da7a0 fb9c7b76-22f2-4fcf-af1a-70933c1dd3fb Data nvme3n1 4T 7000V9450RGN Healthy fc9849f7-7380-48d8-904b-48a89c4da7a0 fb9c7b76-22f2-4fcf-af1a-70933c1dd3fb Data nvme4n1 4T 910005450RGN Healthy fc9849f7-7380-48d8-904b-48a89c4da7a0 fb9c7b76-22f2-4fcf-af1a-70933c1dd3fb Data

The output shows that the new nvme4n1 device has been successfully added to the node, and its usage is marked as Data.