Purpose
Configures access
control lists for the iSCSI target driver.
Description
The access_lists file is used to configure access
control lists for the iSCSI target driver. You can use comments in
the access_lists file. The comment character
is "#", and must be the first character on the line.
This file
contains one entry per target. Each entry has the following format:
target_name|lun_name iSCSI_name,iSCSI_name,...
- target_name
- The target ODM name on which access control is applied.
- lun_name
- The logical unit number (LUN) ODM name on which access control
is applied.
- iSCSI_name
- The list of iSCSI names (iqn or eui format) of initiators that
can access this target or LUN.
You can use two default keywords in this file:
- all
- Used for the target_name or lun_name field. It indicates
that the Access Control List is the same for all targets and LUNs
on the server. An entry containing all overrides other entries.
- any
- Used for the iSCSI_name field. It indicates that one target
or LUN is visible by any initiator connecting to the server.
You can use the line continuation character
backslash ( \ ) to make each entry easier to read.
Attention: If an access list grants an initiator the access
to a LUN, the access list must also explicitly grant the access to
the target that owns the LUN.
Files
Item |
Description |
/etc/tmiscsi/access_lists |
Configures Access Control Lists. |