Remote configuration of a LIO-based storage appliance
targetd turns Linux into a remotely-configurable storage appliance. It supports an HTTP/jsonrpc-2.0 interface to let a remote administrator allocate volumes from an LVM volume group, and export those volumes over iSCSI.
targetd is pre-alpha, and contributions are welcome! It is licensed under the GPLv3. Please use firstname.lastname@example.org for discussion. Source repo and bug tracking is at https://github.com/agrover/targetd.
NOTE: targetd is PRE-ALPHA, STORAGE-RELATED software. Do NOT use around valuable data!
targetd has these Python library dependencies:
- targetcli (must be fb*)
- python-rtslib 2.1.fb14+ (must be fb*)
- python-lvm 1.2.2+
All of these are available in Fedora Rawhide.
A configuration file may be placed at
is in YAML format. Here's
pool_name: test user: "foo" # strings quoted, or not password: bar ssl: false target_name: iqn.2003-01.org.example.mach1:1234
targetd defaults to using the "vg-targetd" volume group, and username 'admin' password 'targetd' for the HTTP jsonrpc interface.
client.py is a basic testing script, to get started making API calls.