Forum Discussion

Bjohn1's avatar
Bjohn1
Aspirant
Dec 09, 2023
Solved

ReadyNas 214 unable to access volumes after install new disk

Hi Folks,

 

1) I have a ReadyNas 214.

2) I decided to swap a hd with a ssd (wish I never started this)

3) Powered down, swapped disk and waited.

4) Could not see the ReadyNas

5) Reinstalled OS, can see the ReadyNas but the volumes are gone. Message :'Remove inactive volumes to use disk # disk1,2,3,4'

 

[6) Have looked at a few posts eg Solved: Recover Destroyed Volume - NETGEAR Communities.

6a) initially could activate SSH

6b) then SSH is active

6c) Putty window closes with message ~ 'could not chdir to home directory home/admin']

 

Any, any comments to recover volumes / data would be much appreciated

(even if to say - I have lost all data)

 

Many thanks in advance,


  • Bjohn1 wrote:

    But if the directories are what I need eg 'data' 'media' how do I get to them?


    You need to sort out what is wrong with the volume, and then mount it.

     


    Bjohn1 wrote:

     

    3) HD was 1TB,  SSD 4TB. I wasn't concerned (perhaps I should have been). My aim was for it to resync (what ever size it uses the ssd as eg 1tb). Then copy the data to a couple of spare 1TB. Wipe the readynas clean, reinstall/ format readynas disks then copy the original data from the 1TB spares. (There probably is a more efficient way of doing this but I thought this would at least worked)

     


    Would have been better to copy off the data to the data first first.

     


    Bjohn1 wrote:

     

    2) Have had a look at the logs - didn't help me much (probably because I didn't understand them). Just tried to look at them again alas I cant even get into the readynas now. (Will try rebooting/ reinstall os)

     

     


    Did you download the log zip file?

     

    If you have that, you can send me a download link via PM (private message) using the envelope icon in the upper right of the forum page.  Make sure the permissions allow anyone with the link to download.

5 Replies

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

    Bjohn1 wrote:

    6c) Putty window closes with message ~ 'could not chdir to home directory home/admin']

     


    This bit is because you are logging in as admin, when you should be logging in as root (using the NAS admin password).

     


    Bjohn1 wrote:

    Message :'Remove inactive volumes to use disk # disk1,2,3,4'

     


    Have you looked at the full log zip to figure out why the volume isn't mounting?

     


    Bjohn1 wrote:

     

    2) I decided to swap a hd with a ssd (wish I never started this)

    Was the SSD the same size (or larger) as the HD?

    • Bjohn1's avatar
      Bjohn1
      Aspirant

      Wow, this does help a lot (though still need assistance in getting to the data)

       

      1) Managed to login in as root:

      drwxr-xr-x 24 root root 4096 Dec 6 08:08 .
      drwxr-xr-x 24 root root 4096 Dec 6 08:08 ..
      -rw-r--r-- 1 root root 0 Apr 24 2021 2
      drwxrwxr-x 3 admin admin 4096 Dec 8 07:08 apps
      drwxr-xr-x 2 root root 4096 Dec 6 08:08 bin
      drwxr-xr-x 2 root root 4096 Jun 17 2012 boot
      d--------- 2 root root 4096 Dec 12 2020 data
      drwxr-xr-x 14 root root 2040 Dec 8 07:08 dev
      drwxr-xr-x 85 root root 4096 Dec 7 16:56 etc
      drwxr-xr-x 6 root root 4096 Dec 6 08:08 frontview
      drwxr-xr-x 2 root root 4096 Dec 12 2020 home
      drwxr-xr-x 15 root root 4096 Dec 6 08:08 lib
      drwx------ 2 root root 16384 Dec 12 2020 lost+found
      drwxr-xr-x 5 root root 4096 Dec 7 16:56 media
      drwxr-xr-x 2 root root 4096 Apr 29 2016 mnt
      drwxr-xr-x 7 root root 4096 Mar 14 2022 opt
      dr-xr-xr-x 185 root root 0 Jan 1 1970 proc
      drwx------ 3 root root 4096 Dec 6 08:08 root
      drwxrwxr-x 25 root admin 860 Dec 10 14:03 run
      drwxr-xr-x 2 root root 4096 Dec 6 08:08 sbin
      drwxr-xr-x 2 root root 4096 Nov 17 2012 srv
      dr-xr-xr-x 12 root root 0 Dec 10 13:59 sys
      drwxrwxrwt 8 root root 4096 Dec 10 14:03 tmp
      -rw-r--r-- 1 root root 0 Oct 8 2022 .update_success
      drwxr-xr-x 10 root root 4096 Mar 14 2022 usr
      drwxr-xr-x 16 root root 4096 Dec 6 08:08 var

       

      If the numbers represent sizes then not sure they are what I am looking for. But if the directories are what I need eg 'data' 'media' how do I get to them?


      2) Have had a look at the logs - didn't help me much (probably because I didn't understand them). Just tried to look at them again alas I cant even get into the readynas now. (Will try rebooting/ reinstall os)

       

      3) HD was 1TB,  SSD 4TB. I wasn't concerned (perhaps I should have been). My aim was for it to resync (what ever size it uses the ssd as eg 1tb). Then copy the data to a couple of spare 1TB. Wipe the readynas clean, reinstall/ format readynas disks then copy the original data from the 1TB spares. (There probably is a more efficient way of doing this but I thought this would at least worked)

       

      • Sandshark's avatar
        Sandshark
        Sensei

        Actually, not as helpful as you likely think.  data is a different BTRF volume than root, and the "directory" you are seeing there is just a pointer to a (probably inaccessible) data volume.

         

        You may have had a second drive fail during the RAID re-sync, though your timeline doesn't seem to leave time for that.  Is it possible you already had one failed drive?   StephenB can take a look at your logs and figure that out.

         

        I hope you've not yet done anything with the drive you removed, as it may be key in recovering your data.

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