Opendedup

get more from your disk

  • Increase font size
  • Default font size
  • Decrease font size

Volume Creation Man Page

E-mail Print PDF

usage: mkfs.sdfs --volume-name=sdfs --volume-capacity=100GB


--base-path <PATH>                           the folder path for all volume data and meta data.
Defaults to:
/opt/sdfs/<volume name>


--chunk-read-ahead-pages
<NUMBER>            The number of pages to read ahead when doing a disk read on the chunk store.
Defaults to:
8


--chunk-store-data-location <PATH>           The directory where chunks will be stored.
Defaults to:
--base-path + /chunkstore/chunks


--chunk-store-eviction
<HOURS>               The duration, in hours, that chunks will be removed from Dedup Storage Engine if unclaimed. This should happen less frequently
than the io-claim-chunks-schedule.
Defaults to:
3


--chunk-store-gc-schedule <CRON Schedule>    The schedule, in cron format, to check for unclaimed chunks within the Dedup Storage Engine. This should happen less
frequently than the io-claim-chunks-schedule.
Defaults to:
0 0 0/2 * * ?


--chunk-store-hashdb-location <PATH>         The directory where hash database for chunk locations will be stored.
Defaults to:
--base-path + /chunkstore/hdb


--chunk-store-local
<true|flase>             enables or disables local chunk store. The chunk store can be local(true or remote(false) provided you supply the routing
config file and there is a storageHub listening on the remote server(s) when you mount the SDFS volume.
Defaults to:
true


--chunk-store-metadata-location <PATH>       The directory where extended data about chunks will be stored.
Defaults to:
--base-path + /chunkstore/metadata


--chunk-store-pre-allocate
<true|false>      Pre-allocate the chunk store if true.
Defaults to:
false


--chunk-store-size <BYTES>                   The size in bytes of the Dedup Storeage Engine. This .
Defaults to:
1/2 the size of the Volume


--dedup-db-store <PATH>                      the folder path to location for the dedup file database.
Defaults to:
--base-path + /ddb
--help                                       Display these options.


--io-chunk-size <SIZE in kB>                 The unit size, in kB, of chunks stored. Set this to 4 if you would like to dedup VMDK files inline.
Defaults to:
128


--io-claim-chunks-schedule <CRON Schedule>   The schedule, in cron format, to claim deduped chunks with the Dedup Storage Engine. This should happen more frequently than
the chunk-store-gc-schedule.
Defaults to:
0 0 0/1 * * ?


--io-dedup-files
<true|false>                True mean that all files will be deduped inline by default. This can be changed on a one offbasis by using the command
"setfattr -n user.cmd.dedupAll -v 556:false <path to file on sdfs volume>"
Defaults to:
true


--io-file-read-cache
<NUMBER>                The number of memory buffers to have available for reading per file. Each buffer in the size of io-chunk-size.
Defaults to:
5


--io-log <PATH>                              the file path to location for the io log.
Defaults to:
--base-path + /io.log


--io-max-file-write-buffers <SIZE in MB>     The amount of memory to have available for reading and writing per file. Each buffer in the size of io-chunk-size.
Defaults to:
16


--io-max-open-files
<NUMBER>                 The maximum number of files that can be open at any one time. If the number of files is exceeded the least recently used will
be closed.
Defaults to:
1024


--io-meta-file-cache
<NUMBER>                The maximum number metadata files to be cached at any one time. If the number of files is exceeded the least recently used
will be closed.
Defaults to:
1024


--io-multi-read-timeout <NUMBER>             Timeout to try to read from cache before it request data from the chunkstore.
Defaults to:
1000


--io-safe-close
<true|false>                 If true all files will be closed on filesystem close call. Otherwise, files will be closed based on inactivity. Set this to
false if you plan on sharing the file system over an nfs share. True takes less RAM than False.
Defaults to:
true


--io-safe-sync <true|false>                  If true all files will sync locally on filesystem sync call. Otherwise, by defaule (false), files will sync on close and data
will per written to disk based on --max-file-write-buffers.  Setting this to true will ensure that no data loss will occur if
the system is turned off abrubtly at the cost of slower speed.
Defaults to:
false


--io-system-read-cache <NUMBER>              Size, in number of chunks, that read chunks will be cached into memory.
Defaults to:
1000


--io-write-threads
<NUMBER>                  The number of threads that can be used to process data writted to the file system.
Defaults to:
16


--meta-db-store
<PATH>                       the folder path to for the meta file database.
Defaults to:
--base-path + /mdb


--permissions-file <POSIX PERMISSIONS>       Default File Permissions.
Defaults to:
0644


--permissions-folder
<POSIX PERMISSIONS>     Default Folder Permissions.
Defaults to:
0755


--permissions-group
<POSIX PERMISSIONS>      Default Group.
Defaults to:
0


--permissions-owner
<POSIX PERMISSIONS>      Default Owner.
Defaults to:
0


--volume-capacity
<SIZE [MB|GB|TB]>          Capacity of the volume in [MB|GB|TB].
THIS IS A REQUIRED OPTION


--volume-name <STRING>                       The name of the volume.
THIS IS A REQUIRED OPTION

 

Last Updated on Friday, 07 May 2010 22:41  

SDFS Info

Please Donate for more testing hardware.

Latest News

SDFS and Appliance 1.1.2 has been release after significant testing. Several fixes and a couple enhancements included.
 
New OpenDedup NAS appliance with VMWare integration Available. Download it here.