Mounting the Lightbits Volume and Running FIO

Confirming the Client Connection to Lightbits

To confirm the client is connected to Lightbits, do the following:

  1. Log into the client VM.
  2. Run sudo -i to grant root access.
  3. Check which NVME device path-naming the Lightbits volume is using:
Bash
Copy

The path to look for is the one under Node, with the model Lightbits LightOS - as shown in the example above.

Next, review your connected block devices to see the newly connected NVMe/TCP block device, using the Linux lsblk command.

Bash
Copy

Sample Output

Bash
Copy

A new nvme0n1 block device with 200 GB of storage is identified and available.

To determine which node in the cluster is the primary and which is secondary for this block device, enter the nvme list-subsys command with the block device name.

Bash
Copy
Bash
Copy

Mounting the Lightbits Volume to a Local Folder

Once the volume has been attached to the client using nvme-connect, this block-storage volume can be formatted with mkfs and used as a mounted filesystem on the client:

  1. Format the device and create the file system:
Bash
Copy
  1. Create a directory to mount the volume under /mnt:
Bash
Copy
  1. Mount the file system to dir:
Bash
Copy
  1. Verify that the local folder is mounted with the Lightbits volume:
Bash
Copy

Run FIO

  1. Download and install FIO:
Bash
Copy
  1. Run a basic performance test:
Bash
Copy

The client VM and the Lightbits VMs are small and not configured for performance - only functionality. A single Lightbits volume in AWS can reach over one million IOPS, with 4k reads with the correct instance sizes.

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