1targetd.yaml(5)               File Formats Manual              targetd.yaml(5)
2
3
4

NAME

6       targetd.yaml - configuration file
7

DESCRIPTION

9       targetd.yaml is the configuration file for the targetd service.
10

CONFIGURATION

12       targetd  uses /etc/target/targetd.yaml for configuration. It is in YAML
13       format.  targetd currently uses scalar values  and  collection  values,
14       see example for details.
15
16   CONFIGURATION FILE SETTINGS
17       block_pools
18       Sets the LVM Volume Group(s) that targetd will use to allocate volumes.
19       Defaults to "vg-targetd".
20
21       Alternatively, targetd can allocate  thinp  (thin-provisioned)  volumes
22       out  of a thinpool LV. These should be listed as "<vgname>/<poolname>",
23       with the VG and thinpool LV names separated  by  a  "/".  These  should
24       already be created; targetd will not create VGs or thinpool LVs.
25
26       fs_pools
27       Sets  the  mount  point(s)  that targetd will use to export filesystems
28       over NFS. Defaults to none.
29
30       user
31       password
32       Sets the username and password required to use the remote  API.  "user"
33       defaults to admin, but password must be set prior to using targetd.
34
35       target_name
36       Sets   the  iSCSI  target  name  that  targetd  will  use.  Default  is
37       iqn.2003-01.org.linux-iscsi.<hostname>:targetd.
38
39       log_level
40       Set the daemon logging verbosity.  Select one of the following:  debug,
41       info, warning, error, critical.  Defaults to "info".
42
43       ssl
44       ssl_key
45       ssl_cert
46       Settings  for  enabling  SSL/TLS  encryption.  ssl defaults to off.  If
47       enabled, it will default to looking for key and cert files  named  tar‐
48       getd_key.pem and targetd_cert.pem in /etc/target.  These paths may also
49       be specified, using the ssl_key and ssl_cert config settings.
50
51       Key and self-signed cert may be generated using openssl:
52
53       openssl genrsa -out targetd_key.pem 2048
54       openssl req -new -x509 -key targetd_key.pem -out targetd_cert.pem -days
55       9999
56
57

SEE ALSO

59       targetd(8), targetcli(8), lvm(8), lsmcli(8)
60
61

AUTHORS

63       Written by Andy Grover <andy@groveronline.com> and
64       Tony Asleson <tasleson@redhat.com>.
65
66

REPORTING BUGS

68       Report bugs via <targetd-devel@lists.fedorahosted.org>
69       or <https://github.com/open-iscsi/targetd/issues>
70
71
72
73                                                               targetd.yaml(5)
Impressum