Feature: iscsi
Description
Enables iSCSI target and initiator support in Garden Linux.
What it does
Installs open-iscsi (initiator) and tgt (target). Configures a template-based initiatorname.iscsi so a unique IQN (iSCSI Qualified Name) is generated at first boot via iscsi-initiatorname.service. The feature depends on multipath for multipath I/O support.
Files
Files present in this feature and their purpose. See the feature file reference for the semantics of each file type.
| File | Purpose |
|---|---|
exec.config (ref) | Enables the iscsi-initiatorname service at boot. |
file.include.markers.yaml (ref) | Maps files to test-coverage marker IDs. |
info.yaml (ref) | Declares type: element and included/excluded features. |
pkg.include (ref) | Installs: lsscsi, open-iscsi, tgt. |
file.include/etc/iscsi/initiatorname.iscsi.template (file.include) | Template for generating a unique iSCSI IQN at first boot. |
file.include/etc/systemd/system/iscsi-initiatorname.service (file.include) | Generates /etc/iscsi/initiatorname.iscsi at first boot if not already present. |
Related features
Includes:
multipath— multipath I/O is required for reliable iSCSI connectivity.