Menu

snapraid --force-empty sync

Help
2026-03-21
2026-03-21
  • Master CATZ

    Master CATZ - 2026-03-21
    WARNING! All the files previously present in disk 'd5' at dir '/mnt/SnapRaidArrayNA2/SRD5NA2B4/.snapshots/11960/snapshot/'
    are now missing or have been rewritten!
    This could occur when restoring a disk from a backup
    program that is not setting correctly the timestamps.
    If you want to 'sync' anyway, use 'snapraid --force-empty sync'.
    

    I believe its just a timestamp issue as its a torrent that's been stuck 25% for a year
    as the 1 and only file I believe that should be on that disk is still their ?
    and I use a btrfs wrapper that takes a snapshot and then snapraid then syncs to that snapshot

    how can I find out what files it thinks is missing ?
    AI said to do

    sudo snapraid --conf /etc/snapraidNA2.conf list d5
    sudo snapraid --conf /etc/snapraidNA2.conf list -d d5
    You cannot use -d, --filter-disk with the 'list' command
    

    and using sudo snapraid --conf /etc/snapraidNA2.conf list
    does not show me what disk # the files are on

    sudo snapraid --conf /etc/snapraidNA2.conf check -d d5
    only showed me missing txt file from d12 ???
    and a file it thinks is recoverable (but does not tell me what disk it meant to be on )
    but it does show 17 errors but does not list them ?

    did the sync stop only on this error or could their be others that might have popped up after this ?
    I do not want to run "snapraid --force-empty sync" if this will wipe other things

    or should I just run a full scrub first ?

    Running diff never told me of any such missing files ?

    edit then I forgotten to try scrub first oh well

    also I seem to be still running old version on Ubuntu after using
    sudo dpkg -i snapraid_14.0rc3h-1_amd64.deb

    snapraid -V
    snapraid v12.4-2-g35ab0ba by Andrea Mazzoleni, http://www.snapraid.it
    
    whereis snapraid
    snapraid: /usr/bin/snapraid /usr/local/bin/snapraid /usr/share/man/man1/snapraid.1.gz /usr/share/man/man1/snapraid.1
    

    /usr/bin/snapraid new version
    /usr/local/bin/snapraid old version

     

    Last edit: Master CATZ 2026-03-21
  • Leifi Plomeros

    Leifi Plomeros - 2026-03-21

    using sudo snapraid --conf /etc/snapraidNA2.conf list does not show me what disk # the files are on

    You can add this parameter to see full path in list:
    --test-fmt path

     

Log in to post a comment.

MongoDB Logo MongoDB