Lessfs-1.1.9 has been released.

New features

Lessfs now supports asynchronous master/slave replication. Replication can be enabled and disabled with a simple ‘ echo 1 >/.lessfs/replication/enabled’ where 1 is enabled and 0 is disabled. Lessfs uses CRC32 checksums to ensure data integrity during data transfer between master and slave. See the README.replication file in the distribution for more details. Replication should still be considered alpha code. That said, it works for me. ;-)

Improvements

The background delete/truncation code has stabilized to the point where it will become the default with the next release.

This entry was posted in Uncategorized. Bookmark the permalink.

4 Responses to Lessfs-1.1.9 has been released.

  1. Morten says:

    Hi

    I am still having problems with my system, starting to suspect harddrive trouble, On high loads (deleting lots of files f.ex) I get these messages in the log:

    Sep 26 17:22:06 backup1 lessfs[1680]: delete_inuse: failed to delete read error
    Sep 26 17:22:06 backup1 lessfs[1680]: delete_inuse: failed to delete read error
    Sep 26 17:22:06 backup1 lessfs[1680]: delete_inuse : failed
    Sep 26 17:22:06 backup1 lessfs[1680]: delete_inuse : failed

    Could this be due to disk problems ?

  2. Alex says:

    Hi Mark, nice news, then, i read in the readme, but i might miss some d├ętails about SLAVE :

    To configure lessfs as master the following lines need to
    be added to lessfs.cfg:
    REPLICATION=masterslave
    REPLICATION_PARTNER_IP=xx.xx.xx.xx
    REPLICATION_PARTNER_PORT=201
    REPLICATION_ROLE=master

    So, what about the slave ?
    i guess something like
    REPLICATION=masterslave
    REPLICATION_PARTNER_IP=zz.zz.zz.zz
    REPLICATION_PARTNER_PORT=201
    REPLICATION_ROLE=slave
    ?

    Gonna try but just wanna be sure :D

    • maru says:

      A complete example can be found in the example directory.
      REPLICATION=masterslave
      REPLICATION_ROLE=slave
      REPLICATION_LISTEN_IP=127.0.0.1
      REPLICATION_LISTEN_PORT=201

Leave a Reply

Your email address will not be published. Required fields are marked *

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>