Skip to content
adrenaline edited this page Jan 6, 2014 · 17 revisions
STORAGE.CONF(5)                         User Manuals                        STORAGE.CONF(5)



NAME
       storage.conf - RozoFS storage daemon configuration file

DESCRIPTION
       storage.conf  is  manage  throw libconfig <http://www.hyperrealm.com/libconfig/> and
       thus complies to the libconfig grammar.


   threads (optional)
       Specifies number of threads that can process the disk requests. (default: 2)


   nbcores (optional)
       Maximum number of core files to keep. (default: 2)


   listen (mandatory)
       Specifies list of IP(s) (or hostname(s)) and port(s) the storio process should  lis‐
       ten on for receive write and read requests from clients.

           addr: (IP or hostname that the server should listens on)
                   - must be a valid IPv4 address or a valid hostname.
                   - if "*" is specified storio will listen on any of the interfaces.

           port: (TCP port number (in decimal) to use for storio process)


   storages (mandatory)
       It's the list of local storage managed by this storaged.  Each storage is identified
       by the cluster to which belongs the storage (cid) and  by  it's  identifier  in  the
       cluster  (sid).  Each pair (cid,sid) must be unique. The root is the path where will
       be stored data for this storage.

           cid: (cluster identifier)
                   - must be an integer.
                   - should exist in exportd configuration file.

           sid: (storage identifier)
                   - must be an integer (between 1 and 255).
                   - should exist in exportd configuration file.

           root: (directory path where data will be stored)
                   - must be an existing directory.
                   - must be unique for each storage managed by this storaged.



EXAMPLE
       # sample RozoFS storage configuration file

       listen = (
           {addr = "192.168.1.1"; port = 41001; },
           {addr = "192.168.2.1"; port = 41001; }
       );

       storages = (
           {cid = 1; sid = 1; root = "/path/to/foo";},
           {cid = 1; sid = 2; root = "/path/to/bar";},
           {cid = 2; sid = 1; root = "/path/to/baz";}
        );


FILES
       /etc/rozofs/storage.conf (/usr/local/etc/rozofs/storage.conf)
              The system wide configuration file.

AUTHOR
       Fizians <http://www.fizians.com>

SEE ALSO
       rozofs(7), storaged(8)



Rozofs                                 SEPTEMBER 2013                       STORAGE.CONF(5)
Clone this wiki locally