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

Forum Discussion

jameswalmsley1's avatar
Oct 15, 2015

Emergency - OS 6.4.0 - All my data is gone! Cannot reboot.

Hi,

 

My readynas updated just over a week ago to 6.4.0. Since then it has been a little unstable, but I was able to reboot when it became unresponsive.

Today I couldn't access the admin page, or AFP/SMB shares. I ssh'd in, and it told me it couldn't enter my user directory, I could see it was deleted.

 

I look in /data nothing is there!

 

I am seriously stressed about this, how can I find out what is happening.

 

The device now takes about 30 minutes to boot. When it eventually does I can see that /dev/md127 is not mounted anywhere, and there is some process doing /dev/md127 resync.

 

Please help!

 

James

3 Replies

  • md: md127 stopped.
    md: bind<sdb3>
    md: bind<sda3>
    md/raid1:md127: not clean -- starting background reconstruction
    md/raid1:md127: active with 2 out of 2 mirrors
    md127: detected capacity change from 0 to 5996206882816
    md: resync of RAID array md127
    md: minimum _guaranteed_  speed: 30000 KB/sec/disk.
    md: using maximum available idle IO bandwidth (but not more than 200000 KB/sec) for resync.
    md: using 128k window, over a total of 5855670784k.

    • jameswalmsley1's avatar
      jameswalmsley1
      Aspirant

      What I found in the end was that my btrfs volume takes a really long time to mount on every reboot.

      To recover, (because I had a raid1 setup) I was able to remove 1 drive and use a linux box to mount the disk:

       

          

      mdadm --verbose --assemble /dev/md127 /dev/sdb3 --run 

       

      The --run is required to mount a raid1 without all disks available.

       

      I then was able to mount the btrfs disk, but I had to use special options, otherwise the mount process would take > 24 hours.

       

          

      mount -t btrfs -o ro,recovery /dev/md127 /mnt

       

      From there I did a factory reset on my readynas and am now able to rsync my old data from /mnt to my NAS box.

       

      This problem can occur if the device gets powered off while the btrfs disk is being updated.

      • BrianL2's avatar
        BrianL2
        NETGEAR Employee Retired

        Hi jameswalmsey1,

         

        It seems that you're able to fix the problem with your ReadyNAS and the data is currently being copied through RSYNC. 

         

         

        Let us know if you have other questions or in need of assistance.

         

         

        Kind regards,

         

        BrianL
        NETGEAR Community Team

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