You can add Data SSDs after you have determined that the node currently manages less Data SSDs than the maximum set value (maxDeviceCount).
- Enter the
lbcli list nvme-devices --datacommand to list all Data 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
$ lbcli list nvme-devices --server-uuid=fc9849f7-7380-48d8-904b-48a89c4da7a0 --dataSample Output
Name Size Serial State Server UUID Node UUID Usagenvme0n1 4T 700084450RGN Healthy fc9849f7-7380-48d8-904b-48a89c4da7a0 fb9c7b76-22f2-4fcf-af1a-70933c1dd3fb Datanvme1n1 4T 7000SZ450RGN Healthy fc9849f7-7380-48d8-904b-48a89c4da7a0 fb9c7b76-22f2-4fcf-af1a-70933c1dd3fb Datanvme2n1 4T 7000UM450RGN Healthy fc9849f7-7380-48d8-904b-48a89c4da7a0 fb9c7b76-22f2-4fcf-af1a-70933c1dd3fb Datanvme3n1 4T 7000V9450RGN Healthy fc9849f7-7380-48d8-904b-48a89c4da7a0 fb9c7b76-22f2-4fcf-af1a-70933c1dd3fb DataIn this case, the output shows that all SSDs are currently managed by this node.
- Insert the new SSD drive into any available physical slot.
- Re-enter the
lbcli list nvme-devicescommand.
Sample Command
$ lbcli list nvme-devices --server-uuid=fc9849f7-7380-48d8-904b-48a89c4da7a0Sample Output
Name Size Serial State Server UUID Node UUID Usagenvme0n1 4T 700084450RGN Healthy fc9849f7-7380-48d8-904b-48a89c4da7a0 fb9c7b76-22f2-4fcf-af1a-70933c1dd3fb Datanvme1n1 4T 7000SZ450RGN Healthy fc9849f7-7380-48d8-904b-48a89c4da7a0 fb9c7b76-22f2-4fcf-af1a-70933c1dd3fb Datanvme2n1 4T 7000UM450RGN Healthy fc9849f7-7380-48d8-904b-48a89c4da7a0 fb9c7b76-22f2-4fcf-af1a-70933c1dd3fb Datanvme3n1 4T 7000V9450RGN Healthy fc9849f7-7380-48d8-904b-48a89c4da7a0 fb9c7b76-22f2-4fcf-af1a-70933c1dd3fb Datanvme4n1 4T 910005450RGN None fc9849f7-7380-48d8-904b-48a89c4da7a0 --- UnManagedThe 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=unmanagedSample Output
Name Size Serial State Server UUID Node UUID Usagenvme4n1 4T 910005450RGN None fc9849f7-7380-48d8-904b-48a89c4da7a0 --- UnManagedIf you do not filter by the server-uuid flag, you will see a list of NVMe devices across all Lightbits cluster servers.
- Enter the
lbcli add nvme-devicecommand 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
$ lbcli add nvme-device --serial-number=910005450RGN --node-uuid=fb9c7b76-22f2-4fcf-af1a-70933c1dd3fbThis task can take several minutes for the Lightbits pool of NVMe SSDs to add the new device.
- Enter the
lbcli list nvme-devicescommand. 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 --dataSample Output
Name Size Serial State Server UUID Node UUID Usagenvme0n1 4T 700084450RGN Healthy fc9849f7-7380-48d8-904b-48a89c4da7a0 fb9c7b76-22f2-4fcf-af1a-70933c1dd3fb Datanvme1n1 4T 7000SZ450RGN Healthy fc9849f7-7380-48d8-904b-48a89c4da7a0 fb9c7b76-22f2-4fcf-af1a-70933c1dd3fb Datanvme2n1 4T 7000UM450RGN Healthy fc9849f7-7380-48d8-904b-48a89c4da7a0 fb9c7b76-22f2-4fcf-af1a-70933c1dd3fb Datanvme3n1 4T 7000V9450RGN Healthy fc9849f7-7380-48d8-904b-48a89c4da7a0 fb9c7b76-22f2-4fcf-af1a-70933c1dd3fb Datanvme4n1 4T 910005450RGN Healthy fc9849f7-7380-48d8-904b-48a89c4da7a0 fb9c7b76-22f2-4fcf-af1a-70933c1dd3fb DataThe output shows that the new nvme4n1 device has been successfully added to the node, and its usage is marked as Data.