[go: up one dir, main page]

Menu

Unable to mount lessfs after crash

Help
2012-03-10
2013-05-13
  • robby pedro

    robby pedro - 2012-03-10

    I had a power failure while data was being copied to a lessfs mount. Setup:

    BLOCKDATA_IO_TYPE=file_io
    BLOCKDATA_PATH=/mnt/backup/dta/blockdata.dta
    META_PATH=/mnt/backup/mta
    ENABLE_TRANSACTIONS=on
    BLKSIZE=131072
    COMPRESSION=qlz15

    /var/log/messges

    Mar 10 08:12:44 mail lessfs: Blocksize = 131072 bytes
    Mar 10 08:12:44 mail lessfs: MIN_SPACE_CLEAN is not set, lessfs runs -ENOSPC when reaching MIN_SPACE_FREE
    Mar 10 08:12:44 mail lessfs: The selected data store is file_io.
    Mar 10 08:12:44 mail lessfs: Lessfs transaction support is enabled.
    Mar 10 08:12:44 mail lessfs: config->blockdata = /mnt/backup/dta/blockdata.dta
    Mar 10 08:12:44 mail lessfs: compression = qlz15
    Mar 10 08:12:44 mail lessfs: Threaded background delete is enabled
    Mar 10 08:12:44 mail lessfs: Hash MHASH_TIGER192 has been selected
    Mar 10 08:12:44 mail lessfs: Lessfs uses a 24 bytes long hash.
    Mar 10 08:12:44 mail lessfs: Automatic defragmentation is enabled.
    Mar 10 08:12:44 mail lessfs: cache 4096 data blocks

    /var/log/syslog

    Mar 10 08:12:44 mail lessfs: Open DB handle failed: Invalid argument

    /var/log/lessfs-bdb_err.txt

    file unknown has LSN 223/6027912, past end of log at 223/6021599
    Commonly caused by moving a database from one database environment
    to another without clearing the database LSNs, or by removing all of
    the log files from a database environment
    file metadata.db has LSN 223/6027912, past end of log at 223/6021691
    Commonly caused by moving a database from one database environment
    to another without clearing the database LSNs, or by removing all of
    the log files from a database environment
    __db_meta_setup: /mnt/backup/mta/metadata.db: unexpected file type or format

    So the volume refuses to mount - everything in the dta and mta folders look fine. Any ideas?

     
  • robby pedro

    robby pedro - 2012-03-10

    Lessfs 1.5.9 by the way

     

Log in to post a comment.