History log of /freebsd-10-stable/usr.sbin/ctld/ctl.conf.5
Revision Date Author Comments
# 291387 27-Nov-2015 mav

MFC r290615: Introduce portal group options in ctl.conf.

While CTL has concept of port options, used at least for iSCSI ports now,
before this change it was impossible to set them manually. There still
no user-configurable port options now, but I am planning to change that.


# 288823 05-Oct-2015 mav

MFC r288486, r288488: Set default block size for CD to expected 2048 bytes.


# 288810 05-Oct-2015 mav

MFC r288310: Add to CTL initial support for CDROMs and removable devices.

Relnotes: yes


# 288760 05-Oct-2015 mav

MFC r287823: Add ctl-lun config option for consistency in HA setups.


# 288729 05-Oct-2015 mav

MFC r287534: Add two new portal group options "tag" and "foreign".

They are going to be useful in clustered setups.


# 284908 28-Jun-2015 mav

MFC r284765, r284875:
Teach ctld about CTL's physical_port and virtual_port fields.

This allows ctld to work with isp(4) virtual ports, specifying them as
isp0/1, isp0/2, etc. There are still problems on isp(4) layer with
disabling those ports after enabling, but hopefully they can be fixed.


# 284645 20-Jun-2015 trasz

MFC r281820:

Add hint about "volmode=dev" to ctl.conf(5).

Sponsored by: The FreeBSD Foundation


# 279881 11-Mar-2015 mav

MFC r279591: Add example configuration for FibreChannel ports.


# 279055 20-Feb-2015 mav

MFC r278354: Teach ctld(8) to control non-iSCSI CTL ports.

This change introduces new target option "port", that assigns current target
to specified CTL port. On config application ctld(8) will apply LUN mapping
according to target configuration to specified port and bring the port up.
On shutdown cltd(8) will remove the mapping and put the port down.

This change allows to configure both iSCSI and FibreChannel targets in the
same configuration file in alike way.

Kernel side support was added earlier at r278037.

Relnotes: yes
Sponsored by: iXsystems, Inc.


# 279006 19-Feb-2015 mav

MFC r278322: Add support for multiple portal groups per target.

This change allows multiple "portal-group" options to be specified per
target. Each of them may include new optional auth-group name parameter
to override per-target auth parameters for specific portal group.

Kernel side support was added earlier at r278161.

Sponsored by: iXsystems, Inc.


# 279002 19-Feb-2015 mav

MFC r278037: CTL LUN mapping rewrite.

Replace iSCSI-specific LUN mapping mechanism with new one, working for any
ports. By default all ports are created without LUN mapping, exposing all
CTL LUNs as before. But, if needed, LUN mapping can be manually set on
per-port basis via ctladm. For its iSCSI ports ctld does it via ioctl(2).
The next step will be to teach ctld to work with FibreChannel ports also.

Respecting additional flexibility of the new mechanism, ctl.conf now allows
alternative syntax for LUN definition. LUNs can now be defined in global
context, and then referenced from targets by unique name, as needed. It
allows same LUN to be exposed several times via multiple targets.

While there, increase limit for LUNs per target in ctld from 256 to 1024.
Some initiators do not support LUNs above 255, but that is not our problem.

Relnotes: yes
Sponsored by: iXsystems, Inc.


# 276503 01-Jan-2015 trasz

MFC r274954:

Remove the pidfile clause from the ctl.conf example. Why do everyone
just copy/paste this line into their configs, it's beyond me.

Sponsored by: The FreeBSD Foundation


# 275642 09-Dec-2014 trasz

MFC r274308:

Add support for sending redirections to iSCSI target.

MFC r274309:

Fix several nits in redirection handling - don't use wrong CSG,
and avoid use-after-free.

Sponsored by: The FreeBSD Foundation


# 275258 29-Nov-2014 trasz

MFC r274278:

Improve wording in ctl.conf(5).

Sponsored by: The FreeBSD Foundation


# 275244 29-Nov-2014 trasz

MFC r273813:

Add discovery-filter. This makes it possible to restrict which targets
are returned during discovery based on initiator portal, name, and CHAP
credentials.


# 274952 24-Nov-2014 trasz

MFC r273585:

Improve ctld.conf example.

Sponsored by: The FreeBSD Foundation


# 274951 24-Nov-2014 trasz

MFC r273470:

Fix ctl.conf example to use proper paths to ZVOLs.

Sponsored by: The FreeBSD Foundation


# 274950 24-Nov-2014 trasz

MFC r273467:

Comment out parts about iSER; it's not implemented.

Sponsored by: The FreeBSD Foundation


# 274939 23-Nov-2014 mav

MFC r273635, r273793, r274797: Add basic iSNS client to the iSCSI target.

This makes ctld(8) register its iSCSI targets and portals on configured
iSNS servers to allow initiators find them without active discovery.

Fetching of allowed initiators from iSNS is not implemented now, so target
ACLs still should be configured manually.

Relnotes: Yes
Sponsored by: iXsystems, Inc.


# 274873 22-Nov-2014 trasz

MFC r273468:

Remove misleading statement. Bump date.

Sponsored by: The FreeBSD Foundation


# 274872 22-Nov-2014 trasz

MFC r273466:

Remove spurious empty line.

Sponsored by: The FreeBSD Foundation


# 271755 18-Sep-2014 trasz

MFC r271571:

Fix two small nits in ctl.conf(5).

Approved by: re (glebius)
Sponsored by: The FreeBSD Foundation


# 271734 18-Sep-2014 allanjude

MFC r271445,r271446,r271560:
Improve markup and language throughout the ctl.conf man page

MFC r271543:
Add the new iscsi(4) man page
Cross reference it from iscsid(8) and iscsictl(8)

Approved by: re (gjb), bcr (mentor)


# 270137 18-Aug-2014 mav

MFC r269183, r269191:
Add netmasks support to initiator-portal option.


# 269334 31-Jul-2014 wblock

MFC 268931:

Correct spelling errors in ctld.8. While here, correct similar errors
in ctl.conf.5 and fix a couple of contractions.


# 265530 07-May-2014 trasz

MFC r264877:

Style fixes.

Sponsored by: The FreeBSD Foundation


# 263729 25-Mar-2014 trasz

MFC r261763:

Use new auth-type "deny" instead of using "chap" with no chap entries;
it's cleaner this way, and gives better feedback to the user.

Sponsored by: The FreeBSD Foundation


# 263728 25-Mar-2014 trasz

MFC r261762:

Use "default" as default discovery-auth-group, instead of "no-access".
It doesn't change visible behaviour, as previously auth-group "default"
wasn't redefinable, so by default access was always denied.

Sponsored by: The FreeBSD Foundation


# 263727 25-Mar-2014 trasz

MFC r261761:

Update manual page to match recent auth-group "default" changes.

Sponsored by: The FreeBSD Foundation


# 263724 25-Mar-2014 trasz

MFC r261758:

Add auth-type.

Sponsored by: The FreeBSD Foundation


# 263720 25-Mar-2014 trasz

MFC r261754:

Implement initiator-name and initiator-portal restrictions.

Sponsored by: The FreeBSD Foundation


# 258990 05-Dec-2013 trasz

MFC r258842:

Grammar fix.

Approved by: re (gjb)
Sponsored by: The FreeBSD Foundation


# 258129 14-Nov-2013 trasz

Fix typo.

Approved by: re (gjb)
Sponsored by: The FreeBSD Foundation


# 288729 05-Oct-2015 mav

MFC r287534: Add two new portal group options "tag" and "foreign".

They are going to be useful in clustered setups.


# 284908 28-Jun-2015 mav

MFC r284765, r284875:
Teach ctld about CTL's physical_port and virtual_port fields.

This allows ctld to work with isp(4) virtual ports, specifying them as
isp0/1, isp0/2, etc. There are still problems on isp(4) layer with
disabling those ports after enabling, but hopefully they can be fixed.


# 284645 20-Jun-2015 trasz

MFC r281820:

Add hint about "volmode=dev" to ctl.conf(5).

Sponsored by: The FreeBSD Foundation


# 279881 11-Mar-2015 mav

MFC r279591: Add example configuration for FibreChannel ports.


# 279055 20-Feb-2015 mav

MFC r278354: Teach ctld(8) to control non-iSCSI CTL ports.

This change introduces new target option "port", that assigns current target
to specified CTL port. On config application ctld(8) will apply LUN mapping
according to target configuration to specified port and bring the port up.
On shutdown cltd(8) will remove the mapping and put the port down.

This change allows to configure both iSCSI and FibreChannel targets in the
same configuration file in alike way.

Kernel side support was added earlier at r278037.

Relnotes: yes
Sponsored by: iXsystems, Inc.


# 279006 19-Feb-2015 mav

MFC r278322: Add support for multiple portal groups per target.

This change allows multiple "portal-group" options to be specified per
target. Each of them may include new optional auth-group name parameter
to override per-target auth parameters for specific portal group.

Kernel side support was added earlier at r278161.

Sponsored by: iXsystems, Inc.


# 279002 19-Feb-2015 mav

MFC r278037: CTL LUN mapping rewrite.

Replace iSCSI-specific LUN mapping mechanism with new one, working for any
ports. By default all ports are created without LUN mapping, exposing all
CTL LUNs as before. But, if needed, LUN mapping can be manually set on
per-port basis via ctladm. For its iSCSI ports ctld does it via ioctl(2).
The next step will be to teach ctld to work with FibreChannel ports also.

Respecting additional flexibility of the new mechanism, ctl.conf now allows
alternative syntax for LUN definition. LUNs can now be defined in global
context, and then referenced from targets by unique name, as needed. It
allows same LUN to be exposed several times via multiple targets.

While there, increase limit for LUNs per target in ctld from 256 to 1024.
Some initiators do not support LUNs above 255, but that is not our problem.

Relnotes: yes
Sponsored by: iXsystems, Inc.


# 276503 01-Jan-2015 trasz

MFC r274954:

Remove the pidfile clause from the ctl.conf example. Why do everyone
just copy/paste this line into their configs, it's beyond me.

Sponsored by: The FreeBSD Foundation


# 275642 09-Dec-2014 trasz

MFC r274308:

Add support for sending redirections to iSCSI target.

MFC r274309:

Fix several nits in redirection handling - don't use wrong CSG,
and avoid use-after-free.

Sponsored by: The FreeBSD Foundation


# 275258 29-Nov-2014 trasz

MFC r274278:

Improve wording in ctl.conf(5).

Sponsored by: The FreeBSD Foundation


# 275244 29-Nov-2014 trasz

MFC r273813:

Add discovery-filter. This makes it possible to restrict which targets
are returned during discovery based on initiator portal, name, and CHAP
credentials.


# 274952 24-Nov-2014 trasz

MFC r273585:

Improve ctld.conf example.

Sponsored by: The FreeBSD Foundation


# 274951 24-Nov-2014 trasz

MFC r273470:

Fix ctl.conf example to use proper paths to ZVOLs.

Sponsored by: The FreeBSD Foundation


# 274950 24-Nov-2014 trasz

MFC r273467:

Comment out parts about iSER; it's not implemented.

Sponsored by: The FreeBSD Foundation


# 274939 23-Nov-2014 mav

MFC r273635, r273793, r274797: Add basic iSNS client to the iSCSI target.

This makes ctld(8) register its iSCSI targets and portals on configured
iSNS servers to allow initiators find them without active discovery.

Fetching of allowed initiators from iSNS is not implemented now, so target
ACLs still should be configured manually.

Relnotes: Yes
Sponsored by: iXsystems, Inc.


# 274873 22-Nov-2014 trasz

MFC r273468:

Remove misleading statement. Bump date.

Sponsored by: The FreeBSD Foundation


# 274872 22-Nov-2014 trasz

MFC r273466:

Remove spurious empty line.

Sponsored by: The FreeBSD Foundation


# 271755 18-Sep-2014 trasz

MFC r271571:

Fix two small nits in ctl.conf(5).

Approved by: re (glebius)
Sponsored by: The FreeBSD Foundation


# 271734 18-Sep-2014 allanjude

MFC r271445,r271446,r271560:
Improve markup and language throughout the ctl.conf man page

MFC r271543:
Add the new iscsi(4) man page
Cross reference it from iscsid(8) and iscsictl(8)

Approved by: re (gjb), bcr (mentor)


# 270137 18-Aug-2014 mav

MFC r269183, r269191:
Add netmasks support to initiator-portal option.


# 269334 31-Jul-2014 wblock

MFC 268931:

Correct spelling errors in ctld.8. While here, correct similar errors
in ctl.conf.5 and fix a couple of contractions.


# 265530 07-May-2014 trasz

MFC r264877:

Style fixes.

Sponsored by: The FreeBSD Foundation


# 263729 25-Mar-2014 trasz

MFC r261763:

Use new auth-type "deny" instead of using "chap" with no chap entries;
it's cleaner this way, and gives better feedback to the user.

Sponsored by: The FreeBSD Foundation


# 263728 25-Mar-2014 trasz

MFC r261762:

Use "default" as default discovery-auth-group, instead of "no-access".
It doesn't change visible behaviour, as previously auth-group "default"
wasn't redefinable, so by default access was always denied.

Sponsored by: The FreeBSD Foundation


# 263727 25-Mar-2014 trasz

MFC r261761:

Update manual page to match recent auth-group "default" changes.

Sponsored by: The FreeBSD Foundation


# 263724 25-Mar-2014 trasz

MFC r261758:

Add auth-type.

Sponsored by: The FreeBSD Foundation


# 263720 25-Mar-2014 trasz

MFC r261754:

Implement initiator-name and initiator-portal restrictions.

Sponsored by: The FreeBSD Foundation


# 258990 05-Dec-2013 trasz

MFC r258842:

Grammar fix.

Approved by: re (gjb)
Sponsored by: The FreeBSD Foundation


# 258129 14-Nov-2013 trasz

Fix typo.

Approved by: re (gjb)
Sponsored by: The FreeBSD Foundation