Last updated on: 2020-10-05
Authored by: Paul Querna
The two 1.6 TB PCIe flashcards included with the OnMetal I/O flavor come unformatted. Use the following steps to configure your flashcards for use as a data disk.
Determine what devices are the PCIe block devices.
Note: Find the high performance PCIe cards by running lsblk -oNAME, MODEL
and looking for
devices listed with model NWD-BLP*
or XP6302*
.
Apply best SSD settings for each devices (sub DEVICENAME with name identified in step 1).
echo noop | sudo tee /sys/block/DEVICENAME/queue/scheduler
echo 4096 | sudo tee /sys/block/DEVICENAME/queue/nr_requests
echo 1024 | sudo tee /sys/block/DEVICENAME/queue/max_sectors_kb
echo 1 | sudo tee /sys/block/DEVICENAME/queue/nomerges
echo 512 | sudo tee /sys/block/DEVICENAME/device/queue_depth
(Optional) Partition the created Redundant Array of Independent Disks (RAID) device if you prefer, or you can create a file system (FS) directly.
Create an ext4 FS on it.
mkfs.ext4 /dev/md0
©2020 Rackspace US, Inc.
Except where otherwise noted, content on this site is licensed under a Creative Commons Attribution-NonCommercial-NoDerivs 3.0 Unported License