NETGEAR is aware of a growing number of phone and online scams. To learn how to stay safe click here.

Forum Discussion

PWS442's avatar
PWS442
Guide
Aug 30, 2020

Error restoring from Snapshot: LOGMSG_FSSNAP_RESTORE_FAILED

I received this error message trying to restore a file from two different snapshots. Downloaded the logs from today, but there are 86 of them, and I don't know where to look as to the exact culprit. Do snapshot restores work at all? I have never tried a restore before this morning. I have 2.54TB of Data, yet only 403GB of Snapshots, and 18.89TB Free space. Seems odd, no?

 

I do see this message repeated in the readynasd.log: "Error executing spool for restoration file/folder from snapshot. rc=1"

 

I also found this sequence in system-journal.log:

Aug 30 04:04:00 Freddy2 readynasd[3395]: File restore from snapshot has started
Aug 30 04:04:00 Freddy2 readynasd[3395]: LOGMSG_FSSNAP_RESTORE_FAILED
Aug 30 04:04:01 Freddy2 CRON[8413]: pam_unix(cron:session): session opened for user root by (uid=0)
Aug 30 04:04:01 Freddy2 CRON[8414]: (root) CMD (/bin/bash /opt/replication/etc/init.d/watchdog.sh)
Aug 30 04:04:01 Freddy2 CRON[8413]: pam_unix(cron:session): session closed for user root
Aug 30 04:04:02 Freddy2 msmtpq[8455]: mail for [ -C /etc/msmtprc pws442@gmail.com --timeout=60 ] : send was successful

 

I am running version 6.10.3, and have over 80% free on a 24TB array.

 

Really bummed!

 

 

26 Replies

Replies have been turned off for this discussion
  • StephenB's avatar
    StephenB
    Guru - Experienced User

    PWS442 wrote:

     Do snapshot restores work at all? I have never tried a restore before this morning.

    I just tested this on my own NAS (also running 6.10.3) and it worked fine.  I right-clicked on the file in Windows File Explorer, and selected "Restore Previous Version".  That lists the specific (different) versions that are available for the file.  Selecting one, and then choosing "restore" worked.

     

    There is also an "open" option, which failed.  That is likely because my snapshots are set not to allow snapshot access.

     


    PWS442 wrote:

     Downloaded the logs from today, but there are 86 of them, and I don't know where to look as to the exact culprit.


    Yes, that often isn't easy to figure out.  Try system.log (and maybe also kernel.log).  

    • PWS442's avatar
      PWS442
      Guide

      My files were deleted, and I assumed that a prior snapshot would contain them. Apparently I was wrong.

  • Sandshark's avatar
    Sandshark
    Sensei - Experienced User

    PWS442 wrote:

    I have 2.54TB of Data, yet only 403GB of Snapshots, and 18.89TB Free space. Seems odd, no?

     


    Actually, no, it's not odd.  Snapshots are not a complete copy of everything on your NAS.  They are a separate set of pointers to the data at another point in time.  That means any data not changed is pointed to by the current and snapshot pointers and only changed content has pointers to different sets of data.  That's why snapshots can work going back many revisions without filling the drives.

    • PWS442's avatar
      PWS442
      Guide

      Well, if it is a complete copy, then it should contain at least 2.54TB of data.

      • StephenB's avatar
        StephenB
        Guru - Experienced User

        PWS442 wrote:

        Well, if it is a complete copy, then it should contain at least 2.54TB of data.


        As Sandshark says, that is not how they work.  When they are first created, they take no space (another way to say this is that data blocks in snapshot and the share are all held in common).

         

        As files are rewritten (or deleted), the changed blocks are no longer shared.  The original blocks are only in the snapshot, the new blocks are only in the main share.

         


        PWS442 wrote:

        My files were deleted, and I assumed that a prior snapshot would contain them. Apparently I was wrong..


        Were there snapshots in the main share?  Did you try right-clicking on the folder in files were in,and look in "restore previous versions"?

NETGEAR Academy

Boost your skills with the Netgear Academy - Get trained, certified and stay ahead with the latest Netgear technology! 

Join Us!

ProSupport for Business

Comprehensive support plans for maximum network uptime and business peace of mind.

 

Learn More