1SMP_ZONE_UNLOCK(8)                 SMP_UTILS                SMP_ZONE_UNLOCK(8)
2
3
4

NAME

6       smp_zone_unlock - invoke ZONE UNLOCK SMP function
7

SYNOPSIS

9       smp_zone_unlock [--activate] [--expected=EX] [--help] [--hex] [--inter‐
10       face=PARAMS]   [--raw]    [--sa=SAS_ADDR]    [--verbose]    [--version]
11       SMP_DEVICE[,N]
12

DESCRIPTION

14       Sends  a  SAS  Serial  Management  Protocol  (SMP) ZONE UNLOCK function
15       request to  an  SMP  target.  The  SMP  target  is  identified  by  the
16       SMP_DEVICE  and  the  --sa=SAS_ADDR.  Depending  on  the interface, the
17       SAS_ADDR may be deduced from the SMP_DEVICE.  The  mpt  interface  uses
18       SMP_DEVICE  to  identify  a  HBA (an SMP initiator) and needs the addi‐
19       tional ,N to differentiate between HBAs if there are multiple present.
20
21       If this function is successful then a Broadcast (Change) is  sent  from
22       either  each zone group whose zone permission table entries or zone phy
23       information has changed; or  from  zone  group  1.  Broadcast  (Change)
24       should  cause  a  management application client behind an SMP initiator
25       port (e.g. a SAS HBA) to start a discover process.
26

OPTIONS

28       Mandatory arguments to long options are mandatory for short options  as
29       well.
30
31       -a, --activate
32              sets  the ACTIVATE REQUIRED bit in the function request. When it
33              is set the function call will fail with a function result of NOT
34              ACTIVATED if the expander has not "processed the activate step".
35
36       -E, --expected=EX
37              set  the  'expected  expander  change  count'  field  in the SMP
38              request.  The value EX is from 0 to 65535 inclusive with 0 being
39              the  default  value.  When  EX  is greater than zero then if the
40              value doesn't match the expander change count of the SMP  target
41              (i.e.  the  expander)  when  the request arrives then the target
42              ignores the request and  sets  a  function  result  of  "invalid
43              expander change count" in the response.
44
45       -h, --help
46              output the usage message then exit.
47
48       -H, --hex
49              output the response (less the CRC field) in hexadecimal.
50
51       -I, --interface=PARAMS
52              interface  specific  parameters. In this case "interface" refers
53              to the path through the operating system to the  SMP  initiator.
54              See the smp_utils man page for more information.
55
56       -r, --raw
57              send  the response (less the CRC field) to stdout in binary. All
58              error messages are sent to stderr.
59
60       -s, --sa=SAS_ADDR
61              specifies the SAS address of the  SMP  target  device.  The  mpt
62              interface  needs  this  option  and  it  will  typically  be  an
63              expander's SAS address. The SAS_ADDR is in decimal but most  SAS
64              addresses  are  shown in hexadecimal.  To give a number in hexa‐
65              decimal either prefix it with '0x' or put a trailing 'h' on it.
66
67       -v, --verbose
68              increase the verbosity of  the  output.  Can  be  used  multiple
69              times.
70
71       -V, --version
72              print the version string and then exit.
73

CONFORMING TO

75       The SMP ZONE UNLOCK function was introduced in SAS-2 .
76

AUTHORS

78       Written by Douglas Gilbert.
79

REPORTING BUGS

81       Report bugs to <dgilbert at interlog dot com>.
82
84       Copyright © 2011 Douglas Gilbert
85       This  software is distributed under a FreeBSD license. There is NO war‐
86       ranty; not even for MERCHANTABILITY or FITNESS FOR  A  PARTICULAR  PUR‐
87       POSE.
88

SEE ALSO

90       smp_utils,     smp_zone_activate,    smp_zone_lock,    smp_ena_dis_zon‐
91       ing(smp_utils)
92
93
94
95smp_utils-0.96                     June 2011                SMP_ZONE_UNLOCK(8)
Impressum