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

Forum Discussion

ACrescendo's avatar
ACrescendo
Aspirant
Nov 30, 2023

Readynas duo v1 Access Problem because of user rights failure

Hello,

 

I was adjusting some file owner rights on readynas duo with ssh connection.Mistakenly, ı have assigned a predefined user to all files as owner while ı am at the root. That messed the things, and now ı cannot connect to web interface and make ssh connection. I need to access my files , they are valuable. So ı was thinking to remove all disks from nas device, then making a factory reset, then inserting the disks back? Does it work? or what is the true way of managing the getting the files? Raidar ticks green for 2 disks and can browse the file directory but cannot access.

Thanks in advance... 

5 Replies

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

    ACrescendo wrote:

    So ı was thinking to remove all disks from nas device, then making a factory reset, then inserting the disks back? Does it work?


    No, it will not.  The factory reset formats the disks, and install linux and the ReadyNAS app on them.  It cannot be done diskless.

     


    ACrescendo wrote:

    or what is the true way of managing the getting the files? Raidar ticks green for 2 disks and can browse the file directory but cannot access.

    Thanks in advance... 


    Try using R-linux on a Windows

    Power down the NAS and connect disk 1 to the PC via either SATA or a USB adapter/dock.  If you don't see the files, try again with disk 2 (on a Duo v1, the mirror is formatted a bit differently from the primary disk).

     

    Best to label t

    • ACrescendo's avatar
      ACrescendo
      Aspirant

      So, when ı remove disks, I should be sure that disks can be read by another software. Does raid mechanism break things?  

      • StephenB's avatar
        StephenB
        Guru - Experienced User

        ACrescendo wrote:

        So, when ı remove disks, I should be sure that disks can be read by another software. Does raid mechanism break things?  


        R-Linux (free) should work, assuming the Duo is using RAID-1/X-RAID or JBOD (two volumes, one on each disk).  It only reads the disk, so everything on it remains intact even if you find it isn't working.

         

        If you are using RAID-0 (one volume with no RAID redundancy) then you would need to use R-Studio (which is not free), or a similar product that supports RAID recovery and the EXT file system. 

  • Have you tried an OS re-install?  That should reset the rights to all the OS partition files and I would expect that to allow you to log in.  I don't recall on a V1 whether an OS re-install then requires you to re-enable SSH.

     

    Even if you had not made that mistake, messing with user permissions via SSH is a really bad idea.  The ReadyNAS also maintains it's own databases, and making changes like that could create issues when the Linux permissions don't jive with what the database thinks they should be.

    • ACrescendo's avatar
      ACrescendo
      Aspirant

      Os-reinstall , even with usb, didnt work, nothing happened. So ı will go with the Stephen B.'s solution, and check it works or not.

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