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

Forum Discussion

jukkaforss's avatar
Nov 30, 2019
Solved

I was forced to power off ReadyNAS and now all disks are offline

When ReadyNAS powers on after power off, disks are offline.

This information is in dmesg:

 

[   18.427668] systemd-journald[1361]: Received request to flush runtime journal from PID 1
[   19.484836] md: md127 stopped.
[   19.486279] md: bind<sdb3>
[   19.486530] md: bind<sdc3>
[   19.486761] md: bind<sdd3>
[   19.486983] md: bind<sda3>
[   19.488890] md/raid:md127: device sda3 operational as raid disk 0
[   19.488898] md/raid:md127: device sdd3 operational as raid disk 3
[   19.488902] md/raid:md127: device sdc3 operational as raid disk 2
[   19.488906] md/raid:md127: device sdb3 operational as raid disk 1
[   19.489778] md/raid:md127: allocated 4362kB
[   19.489900] md/raid:md127: raid level 5 active with 4 out of 4 devices, algorithm 2
[   19.489906] RAID conf printout:
[   19.489910]  --- level:5 rd:4 wd:4
[   19.489914]  disk 0, o:1, dev:sda3
[   19.489918]  disk 1, o:1, dev:sdb3
[   19.489922]  disk 2, o:1, dev:sdc3
[   19.489927]  disk 3, o:1, dev:sdd3
[   19.490151] md127: detected capacity change from 0 to 8986874216448
[   19.832338] BTRFS: device label 5e27553c:data devid 1 transid 27646256 /dev/md127
[   19.900226] Adding 1046524k swap on /dev/md1.  Priority:-1 extents:1 across:1046524k 
[   61.590536] BTRFS error (device md127): parent transid verify failed on 14932132233216 wanted 27646257 found 27643074
[   61.595845] BTRFS error (device md127): parent transid verify failed on 14932132233216 wanted 27646257 found 27643074
[   61.595857] BTRFS warning (device md127): failed to read log tree
[   61.655455] BTRFS error (device md127): open_ctree failed

Is there something can be done to get system online again?

 

  • I got it back online with this command.

     

    btrfs rescue zero-log /dev/md127

     

    I know it is risky, but that is only option in this case.

3 Replies

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

    jukkaforss wrote:

     

    [   61.590536] BTRFS error (device md127): parent transid verify failed on 14932132233216 wanted 27646257 found 27643074
    [   61.595845] BTRFS error (device md127): parent transid verify failed on 14932132233216 wanted 27646257 found 27643074
    [   61.595857] BTRFS warning (device md127): failed to read log tree
    [   61.655455] BTRFS error (device md127): open_ctree failed

    Is there something can be done to get system online again?

     


    The data volume's file system is corrupted. Options are to 

    • contact paid support (my.netgear.com).  You'll likely need a data recovery contract: https://kb.netgear.com/69/ReadyNAS-Data-Recovery-Diagnostics-Scope-of-Service
    • Do a factory default on the NAS, reconfigure it, and restore the data from your backup.  Obviously not an option if you don't have a backup.
    • Connect the disks to a Windows PC (either with SATA or with USB adapters/docks) and see if ReclaiMe can find the files.  You'd then be able to offload them to other storage.  https://www.reclaime.com/
    • jukkaforss's avatar
      jukkaforss
      Tutor

      I got it back online with this command.

       

      btrfs rescue zero-log /dev/md127

       

      I know it is risky, but that is only option in this case.

      • StephenB's avatar
        StephenB
        Guru - Experienced User

        jukkaforss wrote:

        I got it back online with this command.

         

        btrfs rescue zero-log /dev/md127

         

        I know it is risky, but that is only option in this case.


        That's good news, but I wouldn't trust the file system integrity if it were my own system.

         

        I suggest backing up the data, and then doing a factory default.  Reconfigure the NAS, and restore the data from the backup.

         

         

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