SYSTEMD-STORAGETM.SERVICE(8) | systemd-storagetm.service | SYSTEMD-STORAGETM.SERVICE(8) |
NAME¶
systemd-storagetm.service, systemd-storagetm - Exposes all local block devices as NVMe-TCP mass storage devices
SYNOPSIS¶
systemd-storagetm.service
/usr/lib/systemd/systemd-storagetm [OPTIONS...] [DEVICE]
DESCRIPTION¶
systemd-storagetm.service is a service that exposes all local block devices as NVMe-TCP mass storage devices. Its primary use-case is to be invoked by the storage-target-mode.target unit that can be booted into.
Warning
The NVMe disks are currently exposed without authentication or encryption, in read/write mode. This means network peers may read from and write to the device without any restrictions. This functionality should hence only be used in a local setup.
Note that to function properly networking must be configured too. The recommended mechanism to boot into a storage target mode is by adding "rd.systemd.unit=storage-target-mode.target ip=link-local" on the kernel command line. Note that "ip=link-local" only configures link-local IP, i.e. IPv4LL and IPv6LL, which means non-routable addresses. This is done for security reasons, so that only systems on the local link can access the devices. Use "ip=dhcp" to assign routable addresses too. For further details see systemd-network-generator.service(8).
Unless the --all switch is used expects one or more block devices or regular files to expose via NVMe-TCP as argument.
OPTIONS¶
The following options are understood:
--nqn=
Added in version 255.
--all, -a
Added in version 255.
--list-devices
Added in version 257.
-h, --help
--version
SEE ALSO¶
NOTES¶
- 1.
- NVM Express Base Specification 2.0c
systemd 257~rc2 |