Advertisement
Adlx

/etc/lessfs/alex.cfg

Jan 11th, 2013
138
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.21 KB | None | 0 0
  1. [root@arch64vm ~]# cat /etc/lessfs/alex.cfg
  2. # Enable informational messages about compression.
  3. DEBUG = 5
  4. HASHNAME=MHASH_TIGER192
  5. CHUNK_DEPTH=1
  6. #HASHNAME=MHASH_SHA256
  7. # The (chopped) hashlen in bytes, minimum is 20.
  8. HASHLEN = 24
  9. #BLOCKDATA_IO_TYPE=file_io
  10. #BLOCKDATA_PATH=/data/dta/blockdata.dta
  11. BLOCKDATA_IO_TYPE=chunk_io
  12. BLOCKDATA_PATH=/data/dta/
  13. #BLOCKDATA_IO_TYPE=tokyocabinet is deprecated
  14. #BLOCKDATA_IO_TYPE=tokyocabinet
  15. #BLOCKDATA_PATH=/data/dta
  16. #BLOCKDATA_BS=1048576
  17. #
  18. BLOCKUSAGE_PATH=/data/mta
  19. BLOCKUSAGE_BS=1048576
  20. #
  21. DIRENT_PATH=/data/mta
  22. DIRENT_BS=1048576
  23. #
  24. FILEBLOCK_PATH=/data/mta
  25. FILEBLOCK_BS=1048576
  26. #
  27. META_PATH=/data/mta
  28. META_BS=1048576
  29. #
  30. HARDLINK_PATH=/data/mta
  31. HARDLINK_BS=1048576
  32. #
  33. SYMLINK_PATH=/data/mta
  34. SYMLINK_BS=1048576
  35. #
  36. # The freelist database is only used
  37. # with the file_io backend
  38. #
  39. FREELIST_PATH=/data/mta
  40. FREELIST_BS=1048576
  41. #
  42. # CACHESIZE in MB
  43. CACHESIZE=256
  44. # Flush data to disk after X seconds.
  45. COMMIT_INTERVAL=8
  46. #
  47. #LISTEN_IP=127.0.0.1
  48. #LISTEN_PORT=100
  49. # Not more then 2 on most machines.
  50. MAX_THREADS=2
  51. #DYNAMIC_DEFRAGMENTATION on or off, default is off.
  52. DYNAMIC_DEFRAGMENTATION=off
  53. COREDUMPSIZE=2560000000
  54. # Consider SYNC_RELAX=1 or SYNC_RELAX=2 when exporting lessfs with NFS.
  55. SYNC_RELAX=0
  56. # When BACKGROUND_DELETE=on lessfs will spawn a thread to delete
  57. # a file as a background task. This is a recently added feature
  58. # and is therefore disabled by default.
  59. BACKGROUND_DELETE=off
  60. # Requires openssl and lessfs has to be configured with --with-crypto
  61. ENCRYPT_DATA=off
  62. # ENCRYPT_META on or off, default is off
  63. # Requires ENCRYPT_DATA=on and is otherwise ignored.
  64. ENCRYPT_META=off
  65. # You don't like fsck?
  66. ENABLE_TRANSACTIONS=on
  67. # Select a blocksize to fit your needs.
  68. BLKSIZE=131072
  69. #BLKSIZE=65536
  70. #BLKSIZE=32768
  71. #BLKSIZE=16384
  72. #BLKSIZE=4096
  73. COMPRESSION=none
  74. #COMPRESSION=qlz
  75. #COMPRESSION=snappy
  76. #COMPRESSION=qlz15
  77. #COMPRESSION=lzo
  78. #COMPRESSION=bzip
  79. #COMPRESSION=deflate
  80. #COMPRESSION=disabled
  81. #REPLICATION=masterslave
  82. #REPLICATION_PARTNER_IP=127.0.0.1
  83. #REPLICATION_PARTNER_PORT=101
  84. #REPLICATION_ROLE=master
  85. #REPLICATION_LISTEN_IP=127.0.0.1
  86. #REPLICATION_LISTEN_PORT=101
  87. MIN_SPACE_FREE=1
  88. STICKY_ON_LOCKED=on
  89. BDB_PRIVATE=on
  90. TUNEFORSIZE=HUGE
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement