Snapraid Synch Fehler seit einigen Tagen.... / Snapraid Synch error since a few days ......

  • Hallo Ihr Lieben,
    ich brauche bitte nochmal Eure geballte Fach-Power bei der Lösung eines Problems.
    Seit einigen Tagen meldet mein Snapraid beim manuellen Synch einen
    Fehler. Ich habe versucht, dass manuell zu lösen, wie es gesagt wird.
    Das wird zwar anstandslos ausgeführt - aber nicht gelöst. Beim nächsten
    Synch wieder selbiges. synch the same.
    Da es ziemlich nervig ist, jedes Mal den Synch via Konsole starten zu müssen, hoffe ich, Ihr könnt vielleicht helfen?
    Der erste Teil ist klar - das bezieht sich auf das erstellte Backup des
    Systems - es geht mir um die Meldung hinsichtlich "mail.err".


    Hello everybody,
    i need your help to find a solution with your pure man power, pls :)
    Since a few days my Snapraid tells me by a manual synch procedure that there is an error.
    I tried to solve that as discribed.
    These work seems to be going on; without any error message, but - the next manual
    That´s stupid for me. I´m a non experienced Linux user and every time starting the terminal ist...... :(
    Could you help me, pls? I hope so. The first step is clear - it depends on the made backups from the system.
    I mean the error message with "mail.err".


    Hier die Meldung:
    Here are the messages:


    Self test...
    Loading state from /media/1ba0979d-6327-4ee2-be9a-faf65b6e2c58/snapraid.content...
    Scanning disk Daten1...
    Scanning disk Daten2...
    WARNING! Ignoring special 'socket' file '/media/6efa85a0-1e52-4976-9ef4-05b9d1a03e6c/Backups/omvbackup/var/agentx/master'
    WARNING! Ignoring special 'socket' file '/media/6efa85a0-1e52-4976-9ef4-05b9d1a03e6c/Backups/omvbackup/var/cache/samba/msg/2196'
    WARNING! Ignoring special 'socket' file '/media/6efa85a0-1e52-4976-9ef4-05b9d1a03e6c/Backups/omvbackup/var/cache/samba/msg/2138'
    WARNING! Ignoring special 'socket' file '/media/6efa85a0-1e52-4976-9ef4-05b9d1a03e6c/Backups/omvbackup/var/cache/samba/msg/2143'
    ...........
    WARNING! Ignoring special 'socket' file '/media/6efa85a0-1e52-4976-9ef4-05b9d1a03e6c/Backups/omvbackup/var/cache/samba/msg/2466'
    WARNING! Ignoring special 'socket' file '/media/6efa85a0-1e52-4976-9ef4-05b9d1a03e6c/Backups/omvbackup/var/cache/samba/msg/2566'
    WARNING! Ignoring special 'socket' file
    '/media/6efa85a0-1e52-4976-9ef4-05b9d1a03e6c/Backups/omvbackup/var/lib/openmediavault/engined.sock'
    The file '/media/6efa85a0-1e52-4976-9ef4-05b9d1a03e6c/Backups/omvbackup/var/log/mail.err' has unexpected zero size!
    It's possible that after a kernel crash this file was lost,
    and you can use 'snapraid fix -f /Backups/omvbackup/var/log/mail.err' to recover it.
    If this an expected condition you can 'sync' anyway using 'snapraid --force-zero sync'




    Wie gesagt - diese recover-Geschichte wird ausgeführt, aber nicht gelöst; beim nächsten Aufruf selbiges.
    As i said - that recovering is going on, but not solved. By the next call the same.



    Hier nochmal die detailierten Terminal-Ausgaben...... Here are the detailed terminal-outputs ..........



    root@server:~# snapraid fix -f /Backups/omvbackup/var/log/mail.err
    Self test...
    Loading state from /media/1ba0979d-6327-4ee2-be9a-faf65b6e2c58/snapraid.content...
    Searching disk Daten1...
    Searching disk Daten2...
    Searching disk Daten3...
    Searching disk Daten4...
    Filtering...
    Using 353 MiB of memory for the FileSystem.
    Initializing...
    Fixing...
    Reading data from missing file '/media/6efa85a0-1e52-4976-9ef4-05b9d1a03e6c/Backups/omvbackup/var/log/mail.err' at offset 0.
    recovered Backups/omvbackup/var/log/mail.err
    100% completed, 1 MB accessed
    1 errors
    1 recovered errors
    0 unrecoverable errors
    Everything OK



    root@server:~# snapraid --force-zero sync
    Self test...
    Loading state from /media/1ba0979d-6327-4ee2-be9a-faf65b6e2c58/snapraid.content...
    Scanning disk Daten1...
    Scanning disk Daten2...
    WARNING! Ignoring special 'socket' file '/media/6efa85a0-1e52-4976-9ef4-05b9d1a03e6c/Backups/omvbackup/var/agentx/master'
    WARNING! Ignoring special 'socket' file '/media/6efa85a0-1e52-4976-9ef4-05b9d1a03e6c/Backups/omvbackup/var/cache/samba/msg/2196'
    ...........
    WARNING! Ignoring special 'socket' file '/media/6efa85a0-1e52-4976-9ef4-05b9d1a03e6c/Backups/omvbackup/var/cache/samba/msg/2566'
    WARNING! Ignoring special 'socket' file
    '/media/6efa85a0-1e52-4976-9ef4-05b9d1a03e6c/Backups/omvbackup/var/lib/openmediavault/engined.sock'
    WARNING! Ignoring special 'socket' file
    '/media/6efa85a0-1e52-4976-9ef4-05b9d1a03e6c/Backups/omvbackup/var/spool/postfix/dev/log'
    WARNING! Ignoring special 'character' file
    '/media/6efa85a0-1e52-4976-9ef4-05b9d1a03e6c/Backups/omvbackup/var/spool/postfix/dev/random'
    WARNING! Ignoring special 'character' file
    '/media/6efa85a0-1e52-4976-9ef4-05b9d1a03e6c/Backups/omvbackup/var/spool/postfix/dev/urandom'
    WARNING! Ignoring special 'socket' file
    '/media/6efa85a0-1e52-4976-9ef4-05b9d1a03e6c/Backups/omvbackup/var/spool/postfix/private/anvil'
    WARNING! Ignoring special 'socket' file
    '/media/6efa85a0-1e52-4976-9ef4-05b9d1a03e6c/Backups/omvbackup/var/spool/postfix/private/bounce'
    WARNING! Ignoring special 'socket' file
    '/media/6efa85a0-1e52-4976-9ef4-05b9d1a03e6c/Backups/omvbackup/var/spool/postfix/private/defer'
    WARNING! Ignoring special 'socket' file
    '/media/6efa85a0-1e52-4976-9ef4-05b9d1a03e6c/Backups/omvbackup/var/spool/postfix/private/discard'
    ..........
    WARNING! Ignoring special 'socket' file
    '/media/6efa85a0-1e52-4976-9ef4-05b9d1a03e6c/Backups/omvbackup/var/spool/postfix/public/qmgr'
    WARNING! Ignoring special 'socket' file
    '/media/6efa85a0-1e52-4976-9ef4-05b9d1a03e6c/Backups/omvbackup/var/spool/postfix/public/showq'
    Scanning disk Daten3...
    Scanning disk Daten4...
    Using 316 MiB of memory for the FileSystem.
    Initializing...
    Resizing...
    Saving state to /media/1ba0979d-6327-4ee2-be9a-faf65b6e2c58/snapraid.content...
    Saving state to /media/1fe63d1e-ca10-4934-b128-ba09ebc693e4/snapraid.content...
    Saving state to /media/8f5de13c-68f8-4c27-b10f-7fb6d22923ea/snapraid.content...
    Saving state to /media/6efa85a0-1e52-4976-9ef4-05b9d1a03e6c/snapraid.content...
    Saving state to /media/43b8d229-26ed-4e5c-8afc-fbb42d830bdc/snapraid.content...
    Saving state to /media/e9ae725e-919b-4865-a9ff-38bd6a6b1132/snapraid.content...
    Verifying /media/1ba0979d-6327-4ee2-be9a-faf65b6e2c58/snapraid.content...
    Verifying /media/1fe63d1e-ca10-4934-b128-ba09ebc693e4/snapraid.content...
    Verifying /media/8f5de13c-68f8-4c27-b10f-7fb6d22923ea/snapraid.content...
    Verifying /media/6efa85a0-1e52-4976-9ef4-05b9d1a03e6c/snapraid.content...
    Verifying /media/43b8d229-26ed-4e5c-8afc-fbb42d830bdc/snapraid.content...
    Verifying /media/e9ae725e-919b-4865-a9ff-38bd6a6b1132/snapraid.content...
    Syncing...
    Using 48 MiB of memory for 32 blocks of IO cache.
    100% completed, 2069 MB accessed 0:00 ETA
    Daten1 0% |
    Daten2 14% | ********
    Daten3 43% | *************************
    Daten4 9% | *****
    parity 0% |
    2-parity 0% |
    raid 4% | **
    hash 8% | ****
    sched 21% | ************
    misc 0% |
    |____________________________________________________________
    wait time (total, less is better)
    Everything OK
    Saving state to /media/1ba0979d-6327-4ee2-be9a-faf65b6e2c58/snapraid.content...
    Saving state to /media/1fe63d1e-ca10-4934-b128-ba09ebc693e4/snapraid.content...
    Saving state to /media/8f5de13c-68f8-4c27-b10f-7fb6d22923ea/snapraid.content...
    Saving state to /media/6efa85a0-1e52-4976-9ef4-05b9d1a03e6c/snapraid.content...
    Saving state to /media/43b8d229-26ed-4e5c-8afc-fbb42d830bdc/snapraid.content...
    Saving state to /media/e9ae725e-919b-4865-a9ff-38bd6a6b1132/snapraid.content...
    Verifying /media/1ba0979d-6327-4ee2-be9a-faf65b6e2c58/snapraid.content...
    Verifying /media/1fe63d1e-ca10-4934-b128-ba09ebc693e4/snapraid.content...
    Verifying /media/8f5de13c-68f8-4c27-b10f-7fb6d22923ea/snapraid.content...
    Verifying /media/6efa85a0-1e52-4976-9ef4-05b9d1a03e6c/snapraid.content...
    Verifying /media/43b8d229-26ed-4e5c-8afc-fbb42d830bdc/snapraid.content...
    Verifying /media/e9ae725e-919b-4865-a9ff-38bd6a6b1132/snapraid.content...

  • Hello,


    (could you please put the console/log output in code-tags to make your post better readable?)


    First of all, I am no snapraid expert. But from my perspective, everything looks ok to me. The sync runs through but there is one error with one file (again: the rest is ok).


    I had the same problem (unexpected zero-size) myself and it seems to be a problem that araises if a file has changed on disk, while its modify-time has no changed (and consequently, Snapraid does not expect a change).


    In order to fix this, it might be sufficient to 'touch' the file (https://wiki.ubuntuusers.de/touch/)


    Regards,
    Hendrik

  • Understood. But before automating it it makes sense to do it manually.
    So I assume that it worked for you when you did it manually?


    Does the problem re-appear?
    For me it was a problem that I had and fixed only once. Thus there was no need to automate it.


    Regards,
    Hendrik

Jetzt mitmachen!

Sie haben noch kein Benutzerkonto auf unserer Seite? Registrieren Sie sich kostenlos und nehmen Sie an unserer Community teil!