56 Error codes used for exit status.
57
58 EXIT STATUS
59 0 Successful completion.
60
61 non-zero
62 Command failed.
63
64 EXAMPLES
65 Example 1 Setting a Property
66 The following command sets the minimum version of the server NFS
67 protocol to version 3.
68
69 # sharectl -p server_versmin=3 nfs
70
71 Example 2 Getting Properties
72 The following command gets the properties for the NFS protocol.
73
74 # sharectl get nfs
75 lockd_listen_backlog=32
76 lockd_servers=20
77 lockd_retransmit_timeout=5
78 grace_period=90
79 nfsmapid_domain=sun.com
80 servers=16
81 server_versmin=2
82 server_versmax=4
83 max_connections=-1
84
85 The following command gets the value of the grace_period property
86 for the NFS protocol.
87
88 # sharectl get -p grace_period nfs
89 grace_period=90
90
91 Example 3 Obtaining Status
92 The following command obtains the status of all file-sharing
93 protocols on a system.
94
95 # sharectl status
96 nfs enabled
97
98 Example 4 Configuring Global Settings
99 The following command shows how an authorized user can use
100 sharectl commands to configure global settings for the ex.com
121 workgroup=SALES
122 timeout=5
123 [FSERVER]
124 addr=fserv.ex.com
125 [RSERVER]
126 workgroup=REMGROUP
127 addr=rserv.ex.com
128 [RSERVER:george]
129 timeout=30
130 [SSERV:*:POKY]
131 addr=sserv.ex.com
132 timeout=25
133
134 INTERFACE STABILITY
135 Committed
136
137 SEE ALSO
138 sharemgr(1M), autofs(4), nfs(4), nsmbrc(4), smb(4), user_attr(4),
139 attributes(5), rbac(5), smf(5), standards(5)
140
141 illumos March 1, 2016 illumos
|
56 Error codes used for exit status.
57
58 EXIT STATUS
59 0 Successful completion.
60
61 non-zero
62 Command failed.
63
64 EXAMPLES
65 Example 1 Setting a Property
66 The following command sets the minimum version of the server NFS
67 protocol to version 3.
68
69 # sharectl -p server_versmin=3 nfs
70
71 Example 2 Getting Properties
72 The following command gets the properties for the NFS protocol.
73
74 # sharectl get nfs
75 lockd_listen_backlog=32
76 lockd_servers=256
77 lockd_retransmit_timeout=5
78 grace_period=90
79 nfsmapid_domain=sun.com
80 servers=1024
81 server_versmin=2
82 server_versmax=4
83 max_connections=-1
84
85 The following command gets the value of the grace_period property
86 for the NFS protocol.
87
88 # sharectl get -p grace_period nfs
89 grace_period=90
90
91 Example 3 Obtaining Status
92 The following command obtains the status of all file-sharing
93 protocols on a system.
94
95 # sharectl status
96 nfs enabled
97
98 Example 4 Configuring Global Settings
99 The following command shows how an authorized user can use
100 sharectl commands to configure global settings for the ex.com
121 workgroup=SALES
122 timeout=5
123 [FSERVER]
124 addr=fserv.ex.com
125 [RSERVER]
126 workgroup=REMGROUP
127 addr=rserv.ex.com
128 [RSERVER:george]
129 timeout=30
130 [SSERV:*:POKY]
131 addr=sserv.ex.com
132 timeout=25
133
134 INTERFACE STABILITY
135 Committed
136
137 SEE ALSO
138 sharemgr(1M), autofs(4), nfs(4), nsmbrc(4), smb(4), user_attr(4),
139 attributes(5), rbac(5), smf(5), standards(5)
140
141 illumos December 16, 2016 illumos
|