Changeset View
Changeset View
Standalone View
Standalone View
share/man/man4/ctl.4
Show All 18 Lines | |||||
.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS | .\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS | ||||
.\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) | .\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) | ||||
.\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT | .\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT | ||||
.\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY | .\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY | ||||
.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF | .\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF | ||||
.\" SUCH DAMAGE. | .\" SUCH DAMAGE. | ||||
.\" | .\" | ||||
.\" $FreeBSD$ | .\" $FreeBSD$ | ||||
.Dd March 29, 2017 | .Dd Oct 30, 2017 | ||||
.Dt CTL 4 | .Dt CTL 4 | ||||
.Os | .Os | ||||
.Sh NAME | .Sh NAME | ||||
.Nm ctl | .Nm ctl | ||||
.Nd CAM Target Layer | .Nd CAM Target Layer | ||||
.Sh SYNOPSIS | .Sh SYNOPSIS | ||||
To compile this driver into the kernel, | To compile this driver into the kernel, | ||||
place the following line in your | place the following line in your | ||||
▲ Show 20 Lines • Show All 150 Lines • ▼ Show 20 Lines | |||||
This role can be overridden on per-LUN basis using "ha_role" LUN option, | This role can be overridden on per-LUN basis using "ha_role" LUN option, | ||||
so that for one LUN one node is primary, while for another -- another. | so that for one LUN one node is primary, while for another -- another. | ||||
Role change from primary to secondary for HA modes 0 and 2 closes backends, | Role change from primary to secondary for HA modes 0 and 2 closes backends, | ||||
the opposite change -- opens. | the opposite change -- opens. | ||||
If there is no primary node (both nodes are secondary, or secondary node has | If there is no primary node (both nodes are secondary, or secondary node has | ||||
no connection to primary one), secondary node(s) report Transitioning state. | no connection to primary one), secondary node(s) report Transitioning state. | ||||
State with two primary nodes is illegal (split brain condition). | State with two primary nodes is illegal (split brain condition). | ||||
.El | .El | ||||
.Sh TUNABLE VARIABLES | |||||
The following variables are available as | |||||
.Xr loader 8 | |||||
tunables: | |||||
.Bl -tag -width indent | |||||
.It Va kern.cam.ctl.max_luns | |||||
Specifies the maximum number of LUNs we support, must be a power of 2. (Default 1024) | |||||
.It Va kern.cam.ctl.max_ports | |||||
Specifies the maximum number of ports we support, must be a power of 2. (Default 256) | |||||
.Sh SEE ALSO | .Sh SEE ALSO | ||||
.Xr cfiscsi 4 , | .Xr cfiscsi 4 , | ||||
.Xr cfumass 4 , | .Xr cfumass 4 , | ||||
.Xr ctladm 8 , | .Xr ctladm 8 , | ||||
.Xr ctld 8 , | .Xr ctld 8 , | ||||
.Xr ctlstat 8 | .Xr ctlstat 8 | ||||
.Sh HISTORY | .Sh HISTORY | ||||
The | The | ||||
Show All 10 Lines |