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

Forum Discussion

timhood's avatar
Jul 24, 2024
Solved

How to get volume back to read-write mode

I have a ReadyNAS 428 with two RAID5 Flex-RAID volumes. One volume experienced a disk failure and the volume was changed to read-only. I replaced the disk, formatted it, added it to the volume, and waited for ReadyNAS to rebuild it. When complete, the volume status changed to "healthy," but the volume is still read-only. I rebooted the ReadyNAS and it's still read-only. How can I mark the volume read-write, as it should be fine? I do not want to reset the entire ReadyNAS due to the time required to rebuild and restore both volumes (8TB data) and because the other volume is perfectly fine. If absolutely necessary, I could destroy and rebuild the affected volume that is currently read-only, but surely there's an easier way?

  • I had that happen to me.  In my case, I knew it was because my EDA500 came unplugged during a write operation, and it was fixed.  But everything I tried to make it read/write would not "take" -- it went back to read-only.  It sounds like you already have a backup, which is good.  Just make sure it's up to date and destroy and re-create the volume.  I wouldn't trust the volume to not have a hidden remaining issue if you do anything else.  The NAS makes the volume read-only to keep you from doing something that may destroy it but give you a chance to back it up.  Take the hint.

37 Replies

  • I have a #ReadyNAS #RN428 with two RAID5 Flex-RAID volumes. One volume experienced a disk failure and the volume was changed to read-only. I replaced the disk, formatted it, added it to the volume, and waited for ReadyNAS to rebuild it. When complete, the volume status changed to "healthy," but the volume is still read-only. I rebooted the ReadyNAS and it's still read-only. How can I mark the volume read-write, as it should be fine? I do not want to reset the entire ReadyNAS due to the time required to rebuild and restore both volumes (8TB data) and because the other volume is perfectly fine. If absolutely necessary, I could destroy and rebuild the affected volume that is currently read-only, but surely there's an easier way.

    • StephenB's avatar
      StephenB
      Guru

      timhood wrote:

      I have a #ReadyNAS #RN428 with two RAID5 Flex-RAID volumes. One volume experienced a disk failure and the volume was changed to read-only. 


      A normal disk failure won't change the volume to read-only.  Something else must also have gone wrong.

       

      The safest thing to do is to destroy the volume, recreate it, and restore data from backup.

       

      Maybe download the full log zip, and look for errors.  My guess is that there are some btrfs errors on the volume.

      • Sandshark's avatar
        Sandshark
        Sensei

        I had that happen to me.  In my case, I knew it was because my EDA500 came unplugged during a write operation, and it was fixed.  But everything I tried to make it read/write would not "take" -- it went back to read-only.  It sounds like you already have a backup, which is good.  Just make sure it's up to date and destroy and re-create the volume.  I wouldn't trust the volume to not have a hidden remaining issue if you do anything else.  The NAS makes the volume read-only to keep you from doing something that may destroy it but give you a chance to back it up.  Take the hint.

  • I am adding to this discussion because I am looking for an answer to the exact same question.

     

    My ReadyNas 516 accidentally filled up to the max (due to an emergency backup of another drive) and threw an error because of No Space Left. The Log reflects this to be the only case and there is NO hardware issue, which has been confirmed. SO there is NO backup needed of the system, which I already have (mirrored NAS).

    I just need to be able to delete files again.

     

    The system however keeps switching to ReadOnly mode when I reboot due to lack of space, and due to ReadOnly mode I cannot create more space by deleting files...

     

    So, with all the hardware being just fine, how do I tell the system to let me erase files so I can create more space?

    I am SSH inept, but I can follow instructions if I have to.

     

    I can enter SSH via Putty and I find myself at the prompt:

    admin@NAS516:~$

     

    What can I do next?

    • timhood's avatar
      timhood
      Star

      I don't have much experience here, and I couldn't find anything I could do (even via SSH) to put the volume back into R/W mode, but I thought of another possibility. Do you have the ability to add another drive to the volume, even if just temporarily? That should open up free space and in theory, it should allow read/write again. 

      • tijgert's avatar
        tijgert
        Guide

        Alas no, I have only 16TB drives (6x) and all bays are populated. I would have to buy an 18TB drive just to test that and even then I couldn't say if it would add to the space as it's RAID5 in X-Raid. If someone could conform that I might do that, but it'd be a real bummer if it just uses 16TB of the 18TB and keeps complaining.

         

        Super annoying as it says it has 1.28GB free space.. Just how much does it need to go back to R/W??

         

        Would a defrag, balance or scrub possibly free up some space?

        Afraid to try without an expert telling me to do so.

         

        I would try deleting files through SSH, but I can't find a way to see them. SSH noob..

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