Scroll to navigation

RAPIDDISK(1) GENERAL COMMANDS RAPIDDISK(1)

NAME

rapiddisk - An administration tool to manage the RapidDisk RAM disk devices and RapidDisk-Cache mappings.

SYNOPSIS

rapiddisk [ -h | -v ] function [ parameters ]

DESCRIPTION

rapiddisk is a RapidDisk module management tool to manage RapidDisk RAM disk devices. Dynamically create, remove, resize RAM volumes and if desired, map or unmap them as a cache volume to any block device. Access those drives locally or export those volumes across an NVMe Target network.

Options

Invoke the help menu.
Display the version number.

Functions

Attach RAM disk device (size in MBytes).
Backend block device absolute path (for cache mapping).
Input capacity for size or resize of RAM disk device (in MBytes).
Detach RAM disk device.
Export a RapidDisk block device as an NVMe Target.
Erase all data to a specified RapidDisk device (dangerous).
The host to export / unexport the NVMe Target to / from.
Define the network interface to enable for NVMe Target exporting. Port must not already exist and interface must not be already enabled.
Enable JSON formatted output.
List all attached RAM disk devices.
Map an RapidDisk device as a caching node to another block device.
List only enabled NVMe Target ports.
List RapidDisk enabled NVMe Target exports.
The port to export / unexport the NVMe Target to / from.
Define cache policy: write-through (wt), write-around (wa) or writeback (wb) (dangerous) (default: write-through). Writeback caching is supplied by the dm-writecache kernel module and is not intended for production use as it may result in data loss on hardware/power failure.
Dynamically grow the size of an existing RapidDisk device.
Obtain RapidDisk-Cache Mappings statistics.
Define the NVMe Target port's transfer protocol (i.e. tcp or rdma).
Unmap a RapidDisk device from another block device.
Remove the NVMe Target port (must be unused).
Unexport a RapidDisk block device from an NVMe Target. To remove export to host or port, only define the host and / or port. Not defining a host or port will result in the block device being removed from the NVMe Target subsystem.

Parameters (if applicable)

[size]
Specify desired size of attaching RAM disk device in MBytes.
[mode]
Write Through (wt) or Write Around (wa) for cache.

EXAMPLE USAGE

EXIT STATUS

rapiddisk returns a zero exit status if no error occurs during operation. A non-zero value is returned on error.

AUTHORS

Original version: Petros Koutoupis (petros@petroskoutoupis.com)

SEE ALSO

View the RapidDisk project page: http://www.rapiddisk.org

Oct 16 2010 Linux