Configure flash drives in High I/O instances as Data drives
Last updated on: 2016-08-17
Authored by: Paul Querna
The two 1.6 TB PCIe flash cards included with the OnMetal I/O flavor come unformatted. Use the following steps to configure your flash cards 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, MODELand 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 raid device if you prefer, or can create an FS directly.
Create an ext4 FS on it.
Experience what Rackspace has to offer.
©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