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

Forum Discussion

tom_nguyen_2004's avatar
Jun 05, 2023
Solved

RN104 No volume exists

Hi,

I have a Readynas RN10400 with firmware version 6.10.8

 

It has 3 x Seagate NAS ST3000VN000 and  1 WD Red NAS disk drives configured with X-RAID but since issue the system shows RAID 5 and zero free space.

 

After not able to access the my files one the NAS, logged into the web browser UI with admin and got the no volumes exist, pop up.

 

Pls help

 

Tom

 

 

 

  • StephenB's avatar
    StephenB
    Jun 07, 2023

    tom_nguyen_2004 wrote:

     

    I use Windows and have no experience using Linix commands, however if you can guide me with the force mount command i should be able to work it out. Really appreciate you assistance.

     


    First, you do need to be careful, as mistakes in typing can cause more damage.  Note that linux generally uses / for file paths, and not the \ that Windows uses.

     

    If you never changed the admin password of the NAS (default is password), you will need to change it to something else first.

     

    Then log in - you can enter "ssh root@nas-ip-address" in the windows command line if you are using windows 10 or windows 11.  Use the real IP address of course.  You will get a fingerprint query from Windows (don't recall the exact text), tell it to save the SSH fingerprint.  This will open up a black text console window on the PC for command entry. Use the NAS admin password when prompted by the NAS.

     

    Then enter these commands:

     

    mdadm --assemble --really-force /dev/md127 /dev/sd[abcd]3
    mount /dev/md127 /data

     

     

    You might get an error from the first command - I'm specifying all 4 disks, since I am not sure what three device letters are currently assigned to the other three.

     

    If this doesn't work, copy/paste the console output in your reply so I can see what's going on.

     

    If this does remount the data volume, then you should immediately make a backup. 

     

    Please also run this command from ssh, and copy/paste the output in a reply:

     

    cat /proc/mdstat

     

     You should see something like this:

     

    Personalities : [raid0] [raid1] [raid10] [raid6] [raid5] [raid4]
    md127 : active raid5 sda3[5] sdd3[7] sdc3[6] sdb3[4]
          17567012352 blocks super 1.2 level 5, 64k chunk, algorithm 2 [4/4] [UUUU]
    
    md1 : active raid10 sda2[0] sdc2[3] sdd2[2] sdb2[1]
          1044480 blocks super 1.2 512K chunks 2 near-copies [4/4] [UUUU]
    
    md0 : active raid1 sda1[5] sdd1[7] sdc1[6] sdb1[4]
          4190208 blocks super 1.2 [4/4] [UUUU]

    I'm interested in md0 and md1 - there was something not right with md0 in particular in your logs.  It should be mirrored on all disks, but it seemed to be only installed on one.  We should fix that also, but only after you have a backup of the data.

     

8 Replies

Replies have been turned off for this discussion
  • Have you checked the disk health?  (best way to to download the log zip file, and look in disk_info.log).

     

    Was the NAS unexpectedly shut down recently?  A power outage, or maybe someone pulling the plug?

    • tom_nguyen_2004's avatar
      tom_nguyen_2004
      Aspirant

      Hi StephenB,

      Yes, we have had a power outage about a week ago, 

      the logs does indciated drive 4 is bad, ATA error 

      and all other is good ATA error 0.

      i  the data is still there.

      I was going to create a new volume, will that erase the data? i havent done this yet as the "create new volume" button is grayed out, 

       

      Is there anyway to access the data so it can be backed up to an other drive and factory reset the NAS? without having to do a data recovery?

       

      Thanks

       

       

       

       

       

       

       

       

       

       

       

      • StephenB's avatar
        StephenB
        Guru

        tom_nguyen_2004 wrote:

        Yes, we have had a power outage about a week ago, 

         


        If the NAS doesn't do a clean shutdown, then cached writes are lost.  That can result in a volume that is out of sync.

         

        If that is all that happened, then it is possible to forcibly assemble the RAID array from ssh.  If you like, you can send me the logs via a download link (dropbox, google drive, etc).  There is some privacy leakage, so don't post them publicly.  Instead send a private message (PM), using the envelope icon in the upper right of the forum page.

         

        FYI, The best way to prevent this from happening again is to get a UPS that your NAS can monitor. It'd also be good to put a backup plan in place for the NAS.  RAID isn't enough to keep it safe.

         

        tom_nguyen_2004 wrote:

        the logs does indciated drive 4 is bad, ATA error 

        and all other is good ATA error 0.


        Just one ATA error?  Maybe test the drive after we try to get the volume mounted.

  • I have the same problem, and follow StephenB solution but not work. Did I make something wrong, please help!

     

    Microsoft Windows [Version 10.0.19045.4780]
    (c) Microsoft Corporation. All rights reserved.

    C:\Users\Bruce Chan>ssh root@192.168.2.2
    root@192.168.2.2's password:

    Welcome to ReadyNASOS 6.10.10

    Last login: Mon Aug 26 22:37:46 2024 from desktop-d6uut7a
    root@Bcnetdisk-104:~# mount /dev/md127 /data
    mount: wrong fs type, bad option, bad superblock on /dev/md127,
    missing codepage or helper program, or other error

    In some cases useful info is found in syslog - try
    dmesg | tail or so.
    root@Bcnetdisk-104:~# mdadm --assemble --really-force /dev/md127 /dev/sd{abcd}3
    mdadm: cannot open device /dev/sd{abcd}3: No such file or directory
    mdadm: /dev/sd{abcd}3 has no superblock - assembly aborted
    root@Bcnetdisk-104:~#

     

     

    • StephenB's avatar
      StephenB
      Guru

      B_Chan wrote:

      I have the same problem, and follow StephenB solution but not work. Did I make something wrong, please help!

      I was not posting a one-size-fits-all solution, it was tailored for the original poster.

       

      Try downloading the full log zip file from the logs page - there usually is a lot of relevant information there.  If you can't sort out what it means, you can put the zip into cloud storage (dropbox, onedrive, etc) and send me a link to the full zip file via private message (PM).  Make sure the link permissions are set so anyone with the link can download it.

       

      You send a PM using the envelope icon in the upper right hand of the forum page.

       

      Also, if you have any context (what happened around the time the volume failed, and errors/warnings you noticed, etc), it would be helpful.

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