1scmadm(1M)              System Administration Commands              scmadm(1M)
2
3
4

NAME

6       scmadm - storage cache manager administration utility
7

SYNOPSIS

9       scmadm
10
11
12       scmadm -h
13
14
15       scmadm -e
16
17
18       scmadm -d
19
20
21       scmadm -v
22
23
24       scmadm -C [parameter [= [value]]...]
25
26
27       scmadm -o {system | cd | device} [option]
28
29
30       scmadm -m {cd |  diskname |  all}
31
32

DESCRIPTION

34       The scmadm command provides various options for controlling and gather‐
35       ing information about a storage device cache.
36

OPTIONS

38       If no options are specified, scmadm displays a list of configured cache
39       descriptors  with  disknames,  options,  and global options. The scmadm
40       command supports the following options:
41
42       -h
43
44           Displays usage information for the scmadm command.
45
46
47       -e
48
49           Reads the configuration and enables the storage device  cache  with
50           those parameters. See dscfg(1M).
51
52
53       -d
54
55           Shuts down the storage device cache.
56
57
58       -v
59
60           Displays the cache version number.
61
62
63       -C [parameter[=[value]] ...]
64
65           Sets  or displays the configuration parameters. If the -C option is
66           specified with no arguments the current cache configuration parame‐
67           ters are displayed. If parameter is specified, the current value of
68           parameter is displayed. If parameter=value is specified,  the  cur‐
69           rent  value  of parameter is displayed and the parameter is changed
70           to value.  If value is omitted, or if value  is  specified  as  the
71           null string, " ", or as "-", the parameter is deleted from the con‐
72           figuration and the system uses the default value. Multiple  parame‐
73           ters can be specified in a single invocation of the scmadm command.
74           A change in a configuration parameter takes effect  only  when  the
75           cache is next restarted.
76
77
78       -o { system | cd | diskname } [option]
79
80           Sets or displays the options for the system or for the cache device
81           specified by cd or diskname. If the option rdcache or nordcache  is
82           specified,  the  system  or  specified  cache device is set to that
83           option. The option is saved as part of the  configuration  so  that
84           the  option  persists. See dscfg(1M). To notify the system to "for‐
85           get" about a saved option, use the forget  option.  This  does  not
86           change  the  option; it just removes the option from the saved con‐
87           figuration. If no option is specified,  current  options  are  dis‐
88           played.  The  rdcache option is set as the default. The options are
89           defined as follows:
90
91           rdcache
92
93               Data blocks are likely to be referenced again and should remain
94               in cache.
95
96
97           nordcache
98
99               Data  blocks  are unlikely to be referenced again and should be
100               treated as least recently used, so that other blocks can remain
101               in the cache longer.
102
103
104
105       -m { cd | diskname | all }
106
107           Displays the cache descriptor and diskname map for the device spec‐
108           ified by cd or diskname or, if you specify all, displays the  cache
109           descriptors and diskname map for all storage devices on the system.
110
111

EXIT STATUS

113       The scmadm command returns 0 for success, non-zero for error.
114

FILES

116       /dev/sdbc
117

ATTRIBUTES

119       See attributes(5) for descriptions of the following attributes:
120
121
122
123
124       ┌─────────────────────────────┬─────────────────────────────┐
125       │      ATTRIBUTE TYPE         │      ATTRIBUTE VALUE        │
126       ├─────────────────────────────┼─────────────────────────────┤
127       │Availability                 │SUNWscmr, SUNWscmu           │
128       ├─────────────────────────────┼─────────────────────────────┤
129       │Interface Stability          │Evolving                     │
130       └─────────────────────────────┴─────────────────────────────┘
131

SEE ALSO

133       dscfg(1M), attributes(5)
134

DIAGNOSTICS

136       scmadm fails if there is insufficient contiguous memory.
137
138
139
140SunOS 5.11                       3 August 2006                      scmadm(1M)
Impressum