manpagez: man pages & more
man sncfgtemplate(8)
Home | html | info | man
sncfgtemplate(8)                                              sncfgtemplate(8)




NAME

       sncfgtemplate - Output a Xsan Volume configuration file


SYNOPSIS

       sncfgtemplate -n VolName [-M output_format]

       sncfgtemplate -h


DESCRIPTION

       The  sncfgtemplate program will output a template Xsan file system con-
       figuration file with the given name to stdout.  This can be  redirected
       to  a  file and edited.  When the configuration file is correct for the
       file system being created, it can be installed  using  sncfginstall(8),
       and made with cvmkfs(8).

       Note:  the  standard way to create a new configuration file on the com-
       mandline is via sncfgedit(8).


OPTIONS

       -h     Display usage.

       -n VolName
              Required. The name of the file system whose config is to be cre-
              ated.

       -M msg_format
              Specify  XML  if  you  want messages to come back in XML format.
              This defaults to ASCII.


EXIT VALUES

       sncfgtemplate will return 0 on success and non-zero on failure.


EXAMPLES

       List usage:

          # sncfgtemplate -h
          Usage: sncfgtemplate -n <fs_name>
            -n            Name of file system
            -M            Message format (default ASCII)
            -h            This usage

       Dump a template config to a temporary file:

          # sncfgtemplate -n snfs1 > /tmp/myconfig


SEE ALSO

       sncfginstall(8), cvmkfs(8), snfs_config(5)



Xsan File System                   June 2014                  sncfgtemplate(8)

Mac OS X 10.12.3 - Generated Fri Feb 10 08:25:25 CST 2017
© manpagez.com 2000-2025
Individual documents may contain additional copyright information.