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

Forum Discussion

notyourattorney's avatar
Nov 17, 2020

Apache/Frontview down, BTRFS critical (device md0): corrupt leaf to blame

Hey all--first time post--so I have an old machine that I had mothballed and then discovered it was compatible with 12TB drives sooooo, I loaded it up, set it up in a different state, and figured out how to VPN from my newer QNAP to the ReadyNAS and back up my QNAP over the Internet. Yay forsuccessfully getting that to work :)

 

Yesterday I tried to access the NAS and found Apache was dead. Looking at dmesg I see a lot of BTRFS errors for md0. After a lot of searching and running various commands I don't really know how to use I think I have confirmed the data md127 is fine, and writeable since my backup last night from QNAP worked fine.  And free space on the disk is fine with "df -h" showing:

 

Filesystem Size Used Avail Use% Mounted on
udev 10M 4.0K 10M 1% /dev
/dev/md0 4.0G 1.5G 2.0G 43% /
tmpfs 993M 0 993M 0% /dev/shm
tmpfs 993M 3.7M 989M 1% /run
tmpfs 497M 1.4M 495M 1% /run/lock
tmpfs 993M 0 993M 0% /sys/fs/cgroup
/dev/md127 64T 48T 17T 75% /data
/dev/md127 64T 48T 17T 75% /apps
/dev/md127 64T 48T 17T 75% /home
tmpfs 4.0K 0 4.0K 0% /data/Documents/snapshot

 

So  my hope is to figure out a way to repair md0 using the terminal/ssh without having to delete the data and without having to offload the data because there's no practical way to back it up.

 

In my search I tried various things including to manually scrub md0 but it exits after 3 seconds.

 

Also the NAS is remote (1000 miles away) and due to Covid I can't travel to it. So can anyone suggest options? And if reformatting is in my future is there any way to install a light apache or somesuch so that I can get frontview working. Without the interface I am stuck on what to do to make things 'better'.

2 Replies

Replies have been turned off for this discussion
  • md0 is the system partition and contains none of your data.  The first step is an OS re-install from the boot menu.  Note that that will also change your admin password back to the default password but should not affect your data, permissions, etc.

    • StephenB's avatar
      StephenB
      Guru - Experienced User

      Sandshark wrote:

      The first step is an OS re-install from the boot menu. 

      That of course requires that you be physically in the same location as 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