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

Forum Discussion

msotelano's avatar
msotelano
Aspirant
Feb 03, 2022

one of the users is gone after a power cut

ReadyNAS 102

Hi: After a power cut the system restarted but one of the users (and all information/files) is gone. The user is in the list, also in the home directory but every user have also another directory/folder. The home directory is there, the user is still in the list and he can access to the nas. But the folder created to put their files and the files are gone. Everything else works fine.

 

Any ideas?

 

PD: When de system restarted after the power cut all the users were gone actually. But after turning the system off manually and turned back on all the users reappeared except one. Tried power the system off an on a couple of times but that user never appeared again.

 

10 Replies

  • I suggest you start by doing whatever you would do if the same happened but there was no power outage, since you don't really know the two are related.

     

    Are these other user areas of the NAS just folders within a common share, or are they shares?  If it's a folder within a share, check that nobody accidently moved it into another folder.  Do you have snapshots enabled?  If it's a folder, you should be able to recover from snapshot.

     

    How are you accessing the folder?  There are some things that can get messed up and "hide" a share.  If the area in question is a separate share, you'll have to use SSH to see if the share is really still there.  If it is, there's a script that might fix it.

     

    • msotelano's avatar
      msotelano
      Aspirant

      Hi. I appreciate your answer, but I have no idea what are you talking about. Did you see the "manual" that came with the NAS? It is a tiny flyer with basic instructions about installing it. Nothing else.
      Common Share? Just Folders? Snapshots? I do not know what that is.
      A year ago or so, I bought the NAS. Installed, recognized by my net (windows) and my TV.
      I did create 3 users: my one, my wife and one for the movies.
      On the NAS, I created 3 folders, one for each user. I gave access to myself, my folder, my wife, her folder, movies, everyone on settings.
      I did notice a home folder with folders named after all the 3 users. We never used it. They are still there, empty all of them.
      We use every day all folders. After the power cut (no doubt about this), my folder disappear. As I mentioned, at first, all folders were gone, but after I turned the system off and put it back on, my wife folder and movies reappeared. My one no.
      My folder on the home folder is still there, empty as it was before, the same as the other folders.

      Another thing not related to the folder issue is that after the power cut, the access to the files was very slow. I saw on the internet about trying with one Hardrive only. I did it. Now the access is really fast, even faster than before. The NAS say now that it is "Degraded", and I do not have RAID/Backup, but the performance is excellent. The system never showed any problems or alerts with any of the HD.

      Thank you for your help.

      • StephenB's avatar
        StephenB
        Guru

        msotelano wrote:

        Did you see the "manual" that came with the NAS? It is a tiny flyer with basic instructions about installing it.

        Full documentation is on-line. 


        msotelano wrote:


        Another thing not related to the folder issue is that after the power cut, the access to the files was very slow. I saw on the internet about trying with one Hardrive only. I did it. Now the access is really fast, even faster than before. The NAS say now that it is "Degraded", and I do not have RAID/Backup, but the performance is excellent. The system never showed any problems or alerts with any of the HD.


        Did you notice whether the volume was resyncing after the power cut?  If it was, it would have been better if you let that finish (laving the second disk in place).  But leave that alone for now, I think we should try to recover your data first.

         


        msotelano wrote:


        On the NAS, I created 3 folders, one for each user. I gave access to myself, my folder, my wife, her folder, movies, everyone on settings.


        I did notice a home folder with folders named after all the 3 users. We never used it. They are still there, empty all of them.
        We use every day all folders. After the power cut (no doubt about this), my folder disappear. As I mentioned, at first, all folders were gone, but after I turned the system off and put it back on, my wife folder and movies reappeared. My one no.

        The NAS caches disk writes, so there is some delay between the time you update a file/folder and when the actual writes to the disk take place.  It is possible that there were some cached writes when the power failed.  That could result in some file system corruption.  The system would have rescanned the file system when you rebooted it, but might have been unable to recover your folder.

         

        One option would be to connect the disk to a Windows PC, and try RAID recovery software that supports BTRFS.  For instance, ReclaiMe. https://www.reclaime.com/   You can download it w/o paying first, and see if it can find your folder.  If it can, then pay for it.  You'll need to off-load the files (then recreate the share, and restore them after you put the disk back in the NAS).

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