LCTL-NODEMAP_ADD_RANGE(8)

NAME
lctl-nodemap_add_range - define a range of NIDs for a nodemap

SYNOPSIS
lctl nodemap_add_range <--name name> <--range range>

DESCRIPTION
nodemap_add_range adds a range of NIDs to an existing nodemap. The NID range cannot overlap with an existing NID range. Clients with NIDs that fall into the new range will be moved into the given nodemap.

OPTIONS
name is the name of the nodemap that this range should be added to. range is the NID range that should be added to the nodemap. The syntax for the range is the same as the rootsquash syntax, with the added constraint that the range must be contiguous.

Formal LNET Range Definition
<nidlist>	:== <nidrange> [ ' ' <nidrange> ]
<nidrange>	:== <addrrange> '@' <net>
<addrrange>	:== '*' |
			<ipaddr_range> |
			<numaddr_range>
<ipaddr_range>	:==
	<numaddr_range>.<numaddr_range>.<numaddr_range>.<numaddr_range>
<numaddr_range>	:== <number> |
			<expr_list>
<expr_list>	:== '[' <range_expr> [ ',' <range_expr>] ']'
<range_expr>	:== <number> |
			<number> '-' <number> |
			<number> '-' <number> '/' <number>
<net>		:== <netname> | <netname><number>
<netname>	:== "lo" | "tcp" | "o2ib" | "cib" | "openib" | "iib" |
			"vib" | "ra" | "elan" | "gm" | "mx" | "ptl"
<number>	:== <nonnegative decimal> | <hexadecimal>

EXAMPLES
# lctl nodemap_add_range --name remotesite --range 192.168.1.[1-254]@tcp
# lctl nodemap_add_range --name otherremotesite --range 192.168.2.[1-254]@tcp

AVAILABILITY
lctl is part of the Lustre(7) filesystem package.

SEE ALSO
lustre(7), lctl-nodemap-activate(8), lctl-nodemap-add(8), lctl-nodemap-del(8), lctl-nodemap-del-range(8), lctl-nodemap-add-idmap(8), lctl-nodemap-del-idmap(8), lctl-nodemap-modify(8)