scmadm man page on OpenIndiana

Man page or keyword search:  
man Server   20441 pages
apropos Keyword Search (all sections)
Output format
OpenIndiana logo
[printable version]

scmadm(1M)		System Administration Commands		    scmadm(1M)

NAME
       scmadm - storage cache manager administration utility

SYNOPSIS
       scmadm

       scmadm -h

       scmadm -e

       scmadm -d

       scmadm -v

       scmadm -C [parameter [= [value]]...]

       scmadm -o {system | cd | device} [option]

       scmadm -m {cd |	diskname |  all}

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

OPTIONS
       If no options are specified, scmadm displays a list of configured cache
       descriptors  with  disknames,  options,	and global options. The scmadm
       command supports the following options:

       -h

	   Displays usage information for the scmadm command.

       -e

	   Reads the configuration and enables the storage device  cache  with
	   those parameters. See dscfg(1M).

       -d

	   Shuts down the storage device cache.

       -v

	   Displays the cache version number.

       -C [parameter[=[value]] ...]

	   Sets	 or displays the configuration parameters. If the -C option is
	   specified with no arguments the current cache configuration parame‐
	   ters are displayed. If parameter is specified, the current value of
	   parameter is displayed. If parameter=value is specified,  the  cur‐
	   rent	 value	of parameter is displayed and the parameter is changed
	   to value.  If value is omitted, or if value	is  specified  as  the
	   null string, " ", or as "-", the parameter is deleted from the con‐
	   figuration and the system uses the default value. Multiple  parame‐
	   ters can be specified in a single invocation of the scmadm command.
	   A change in a configuration parameter takes effect  only  when  the
	   cache is next restarted.

       -o { system | cd | diskname } [option]

	   Sets or displays the options for the system or for the cache device
	   specified by cd or diskname. If the option rdcache or nordcache  is
	   specified,  the  system  or	specified  cache device is set to that
	   option. The option is saved as part of the  configuration  so  that
	   the	option	persists. See dscfg(1M). To notify the system to "for‐
	   get" about a saved option, use the forget  option.  This  does  not
	   change  the	option; it just removes the option from the saved con‐
	   figuration. If no option is specified,  current  options  are  dis‐
	   played.  The	 rdcache option is set as the default. The options are
	   defined as follows:

	   rdcache

	       Data blocks are likely to be referenced again and should remain
	       in cache.

	   nordcache

	       Data  blocks  are unlikely to be referenced again and should be
	       treated as least recently used, so that other blocks can remain
	       in the cache longer.

       -m { cd | diskname | all }

	   Displays the cache descriptor and diskname map for the device spec‐
	   ified by cd or diskname or, if you specify all, displays the	 cache
	   descriptors and diskname map for all storage devices on the system.

EXIT STATUS
       The scmadm command returns 0 for success, non-zero for error.

FILES
       /dev/sdbc

ATTRIBUTES
       See attributes(5) for descriptions of the following attributes:

       ┌─────────────────────────────┬─────────────────────────────┐
       │      ATTRIBUTE TYPE	     │	    ATTRIBUTE VALUE	   │
       ├─────────────────────────────┼─────────────────────────────┤
       │Availability		     │service/storage/avs/cache-   │
       │			     │management,   service/stor‐  │
       │			     │age/avs/cache-management	   │
       ├─────────────────────────────┼─────────────────────────────┤
       │Interface Stability	     │Committed			   │
       └─────────────────────────────┴─────────────────────────────┘

SEE ALSO
       dscfg(1M), attributes(5)

DIAGNOSTICS
       scmadm fails if there is insufficient contiguous memory.

SunOS 5.11			 3 August 2006			    scmadm(1M)
[top]

List of man pages available for OpenIndiana

Copyright (c) for man pages and the logo by the respective OS vendor.

For those who want to learn more, the polarhome community provides shell access and support.

[legal] [privacy] [GNU] [policy] [cookies] [netiquette] [sponsors] [FAQ]
Tweet
Polarhome, production since 1999.
Member of Polarhome portal.
Based on Fawad Halim's script.
....................................................................
Vote for polarhome
Free Shell Accounts :: the biggest list on the net