Identifying Unused Slots

AI Tools

From a Linux shell on any of the Lightbits servers, enter the lbcli list nvme-devices command to see how many SSDs are managed by the Lightbits node that you want to add SSDs to.

Sample Command

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

A -J flag after lbcli indicates that the JWT is not stored in the lbcli configuration file.

Sample Output

Name Size NUMA ID Serial State Server UUID Node UUID Usage nvme6n1 4T 18446744073709551615 f0c6ae27-2d2c-4a97-b Healthy 1edcc7fb-3acf-5c53-ae1d-3ea3663442f2 d6fdc28a-e721-5bda-bfe9-2f103c75f8b4 Data nvme9n1 4T 18446744073709551615 5dadf1c3-dfe3-402e-a Healthy 1edcc7fb-3acf-5c53-ae1d-3ea3663442f2 d6fdc28a-e721-5bda-bfe9-2f103c75f8b4 Data nvme5n1 400.0 GiB 18446744073709551615 e70f2b94-f0a6-4e7a-8 Healthy 1edcc7fb-3acf-5c53-ae1d-3ea3663442f2 d6fdc28a-e721-5bda-bfe9-2f103c75f8b4 Journal nvme7n1 4T 18446744073709551615 c67ab014-03d9-4956-9 Healthy 1edcc7fb-3acf-5c53-ae1d-3ea3663442f2 --- UnManaged nvme0n1 4T 18446744073709551615 fe9989a9-2a63-4ece-9 Healthy 1edcc7fb-3acf-5c53-ae1d-3ea3663442f2 --- UnManaged nvme4n1 400.0 GiB 18446744073709551615 efaa0aef-bdbc-4a8e-9 Healthy 1edcc7fb-3acf-5c53-ae1d-3ea3663442f2 d6fdc28a-e721-5bda-bfe9-2f103c75f8b4 Journal nvme3n1 4T 18446744073709551615 bfdb879c-18f0-40f5-b Healthy 1edcc7fb-3acf-5c53-ae1d-3ea3663442f2 d6fdc28a-e721-5bda-bfe9-2f103c75f8b4 Data nvme8n1 4T 18446744073709551615 80183aa9-7468-4bcb-8 Healthy 1edcc7fb-3acf-5c53-ae1d-3ea3663442f2 d6fdc28a-e721-5bda-bfe9-2f103c75f8b4 Data

The output shows that this Lightbits node currently uses four data SSD devices and two journal SSD devices.

Next, enter the lbcli get node command to check the maximum number of SSD devices this node was configured to manage, as set by maxDeviceCount in the initial configuration.

Sample Command

$ lbcli get node --uuid=fb9c7b76-22f2-4fcf-af1a-70933c1dd3fb -o json
Note

A -J flag after lbcli indicates that the JWT is not stored in the lbcli configuration file.

Sample Output

UUID: fb9c7b76-22f2-4fcf-af1a-70933c1dd3fb clusterManagerMode: PassiveMode failureDomains: - rack03-server54 hostname: rack03-server54 maxNvmeDevices: 12 name: server07-0 nvmeEndpoint: 10.18.35.15:4420 state: Active "journalRaidDevice": { "deviceUUID": "5b05fa61:4a4d4677:8128bda8:4ae8b536", "memberDeviceSerials": [ "e913c069-e466-426d-8", "c56f1d6b-928e-4d2a-9" ] }

The output shows that this Lightbits node supports up to 12 data SSDs.

Up to eight more SSDs can be added to this node. The lbcli list nvme-devices command shows that the node currently uses four data SSD drives and the lbcli get node command shows that a maximum of 12 data devices can be used on this node.