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

Forum Discussion

Camella's avatar
Camella
Aspirant
May 17, 2016

Setting lost after power failure

I have a readynas 102 with OS 6.4.2

 

After configuring the shares and volumes everything works.

Shut down and powering the unit also works fine

 

But when I pull the power it goes wrong

The device needs 10 mins to boot

It still accepts my password but then I get "No volumes exists"

So basicly all data is gone

 

I made a full backup of the configuration but restoring this doesn't fix my problem.

Does this NAS really lose it's data every time the power fails ?

 

 

 

 

 

 

 

 

9 Replies

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

    Camella wrote:

     

    Does this NAS really lose it's data every time the power fails ?

     

    No it doesn't - I have to pull the plug from time to time, and haven't lost data.  However, many stories on data loss begin with an unexpected power cut, so I always recommend a UPS for your NAS.

     

    It is possible that your data is still there, but that there is a problem mounting the volume (potentially fixable).  However support would probably need to charge - so perhaps just restoring from back is the easiest path forward.

     

     

    • Camella's avatar
      Camella
      Aspirant

      Well I tested it a few times after clean factory resets and the device lost it's volumes every time it lost power.

      And I'm quite sure it wasn't doing anything when I pulled the power cable

       

      This sucks because now it's impossible to trust this thing.

      • StephenB's avatar
        StephenB
        Guru - Experienced User

        Camella wrote:

        Well I tested it a few times after clean factory resets and the device lost it's volumes every time it lost power.

         


        All I can say is that I have pulled the power quite a few times on both my RN102 and my RN202 and didn't lose data.

         

        However users here have sometimes lost data after unexpected power cuts, and I once lost data on an old duo v1 that way - so I always recommend UPS protection.  

  • kohdee's avatar
    kohdee
    Administrator

    There's no reason to pull the plug on the ReadyNAS if your system is healthy. If you can't use the front panel to successfully shut the NAS off, then yes, pull the plug (but even you said you shut it off without problem).

    If you pulled the plug in the middle of btrfs writing, on attempted remount, it is expecting data that never officially was written (btrfs keeps track of fs transactions), so it fails to mount. 

    The 10 minutes it takes to boot is likely due to a 10 minute timeout we do on the database while we're trying to figure out how to mount a file system with errors.

    It's possible to force the file system to ignore what is was expecting and get it mounted. If you pop your box into tech support mode and PM your 5 digit port, I can see how bad it was and see if I can apply a quick fix. 

    The ReadyNAS won't try to fix a file system with errors because of the potential for data loss; that's more than I can say for Windows, which when you pull the plug on it, it will do a disk check and create problems in your file system. 

    • StephenB's avatar
      StephenB
      Guru - Experienced User

      kohdee wrote:

      There's no reason to pull the plug on the ReadyNAS if your system is healthy. If you can't use the front panel to successfully shut the NAS off, then yes, pull the plug (but even you said you shut it off without problem).


      I believe Hombibi meant that he removed the plug after the ReadyNAS was shut down for some minutes.  That of course is perfectly safe.

       

      I have also found that this sometimes resolves start-up problems (mostly on Windows machines- but I think it might have resolved an issue with my Pro once).  Modern devices are never really off unless you remove power, so if some system state gets corrupted (perhaps something maintained by the bios) there might be no other way to clear it.

       

      But if the system is regularly not seeing the disk (or not mounting the volume) then there is something wrong that should be fixed.

      • Camella's avatar
        Camella
        Aspirant

        Well I don't think that removing power will bring back the settings I lost when I removed power.

         

        However it prompted for the 6.5.0 update so I applied it

        Did another factory reset + configuration

         

        This time nothing was lsot when I pulled the power cable.

        Then I waited a bit and pulled the cable again. This time I lost 1 of my 2 volumes

        Nothing fancy in the logs but I'll sent it anyway

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