Adding NVMe SSDs
You can add SSDs after you have determined that the node currently manages less SSDs than the maximum set value (maxDeviceCount).
- 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
$ lbcli list nvme-devices --server-uuid=fc9849f7-7380-48d8-904b-48a89c4da7a0
Sample Output
Name Size Serial State Server UUID Node UUID
nvme0n1 4T 700084450RGN Healthy fc9849f7-7380-48d8-904b-48a89c4da7a0 fb9c7b76-22f2-4fcf-af1a-70933c1dd3fb
nvme1n1 4T 7000SZ450RGN Healthy fc9849f7-7380-48d8-904b-48a89c4da7a0 fb9c7b76-22f2-4fcf-af1a-70933c1dd3fb
nvme2n1 4T 7000UM450RGN Healthy fc9849f7-7380-48d8-904b-48a89c4da7a0 fb9c7b76-22f2-4fcf-af1a-70933c1dd3fb
nvme3n1 4T 7000V9450RGN Healthy fc9849f7-7380-48d8-904b-48a89c4da7a0 fb9c7b76-22f2-4fcf-af1a-70933c1dd3fb
In 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-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
nvme0n1 4T 700084450RGN Healthy fc9849f7-7380-48d8-904b-48a89c4da7a0 fb9c7b76-22f2-4fcf-af1a-70933c1dd3fb
nvme1n1 4T 7000SZ450RGN Healthy fc9849f7-7380-48d8-904b-48a89c4da7a0 fb9c7b76-22f2-4fcf-af1a-70933c1dd3fb
nvme2n1 4T 7000UM450RGN Healthy fc9849f7-7380-48d8-904b-48a89c4da7a0 fb9c7b76-22f2-4fcf-af1a-70933c1dd3fb
nvme3n1 4T 7000V9450RGN Healthy fc9849f7-7380-48d8-904b-48a89c4da7a0 fb9c7b76-22f2-4fcf-af1a-70933c1dd3fb
nvme4n1 4T 910005450RGN None fc9849f7-7380-48d8-904b-48a89c4da7a0 ---
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
$ lbcli list nvme-devices --server-uuid=fc9849f7-7380-48d8-904b-48a89c4da7a0 --node-uuid=UNMANAGED
Sample Output
Name Size Serial State Server UUID Node UUID
nvme4n1 4T 910005450RGN None fc9849f7-7380-48d8-904b-48a89c4da7a0 ---
If you do not filter by the server-uuid flag, you will see a list of NVMe devices across all the Lightbits cluster servers.
- 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
$ 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 NVMe SSDs to add the new device.
- 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
Sample Output
Name Size Serial State Server UUID Node UUID
nvme0n1 4T 700084450RGN Healthy fc9849f7-7380-48d8-904b-48a89c4da7a0 fb9c7b76-22f2-4fcf-af1a-70933c1dd3fb
nvme1n1 4T 7000SZ450RGN Healthy fc9849f7-7380-48d8-904b-48a89c4da7a0 fb9c7b76-22f2-4fcf-af1a-70933c1dd3fb
nvme2n1 4T 7000UM450RGN Healthy fc9849f7-7380-48d8-904b-48a89c4da7a0 fb9c7b76-22f2-4fcf-af1a-70933c1dd3fb
nvme3n1 4T 7000V9450RGN Healthy fc9849f7-7380-48d8-904b-48a89c4da7a0 fb9c7b76-22f2-4fcf-af1a-70933c1dd3fb
nvme4n1 4T 910005450RGN Healthy fc9849f7-7380-48d8-904b-48a89c4da7a0 fb9c7b76-22f2-4fcf-af1a-70933c1dd3fb
The output shows that the new nvme4n1 device has been successfully added to the node.