NETGEAR is aware of a growing number of phone and online scams. To learn how to stay safe click here.
Forum Discussion
sectoid
Jul 21, 2017Aspirant
RAID 6 inaccessible after hdd upgrade
Hello, I had 4 seagate 3TB drives on my ReadyNAS 104 firmware 6.7.4, using RAID 6. One of them went bad, so I exchanged it for a seagate 4TB drive. After a few days resyncing, it finished without...
- Jul 24, 2017
sectoid wrote:I tried using SSH to create a dmesg log myself but I couldn't because I got the error "dmesg: write failed: No space left on device"!! My HDDs have plenty of space but of course it's referring to the internal space of the NAS.
It's not referring to the Flash card but to the OS volume created on the HDDs.
You see, there are three volumes created on the HDDs, the OS, the swap and the data (multiple pieces for data in certain cases).
If it tells you that there is no space left when trying to extract the logs, that would mean that the OS volume is full. Sometimes, this prevents the data volume from being mounted.
Can you check with df -h if md0 is full?
If it is, follow these steps: https://community.netgear.com/t5/Using-your-ReadyNAS/RN314-FW-6-7-1-root-partition-full-how-to-fix/m-p/1284659/highlight/true#M130056
sectoid
Jul 21, 2017Aspirant
The NAS is generating a lot of logs, I'm attaching an screenshot of it.
I tried using SSH to create a dmesg log myself but I couldn't because I got the error "dmesg: write failed: No space left on device"!! My HDDs have plenty of space but of course it's referring to the internal space of the NAS. How could this happen? I have only one app in use, Transmission, but my use of it is very light, occasional. I also use the amazon drive synchronization.
So here's the output of dmesg which I got by hand using SSH:
https://www.dropbox.com/s/6r0swgcexehunok/readynas104-dmesg.log?dl=0
Thank you very much for your help!
jak0lantash
Jul 24, 2017Mentor
sectoid wrote:I tried using SSH to create a dmesg log myself but I couldn't because I got the error "dmesg: write failed: No space left on device"!! My HDDs have plenty of space but of course it's referring to the internal space of the NAS.
It's not referring to the Flash card but to the OS volume created on the HDDs.
You see, there are three volumes created on the HDDs, the OS, the swap and the data (multiple pieces for data in certain cases).
If it tells you that there is no space left when trying to extract the logs, that would mean that the OS volume is full. Sometimes, this prevents the data volume from being mounted.
Can you check with df -h if md0 is full?
If it is, follow these steps: https://community.netgear.com/t5/Using-your-ReadyNAS/RN314-FW-6-7-1-root-partition-full-how-to-fix/m-p/1284659/highlight/true#M130056
- sectoidJul 25, 2017Aspirant
Yes it is full. However the biggest directory (3.1Gb) only has personal files (photos and videos) which I can't delete and didn't expect to be in an OS partition... shouldn't it be in the data partition? Why is it there?
I didn't do anything yet because I'm not sure if I can safely delete those files. Another question: after I create space, should I reboot the NAS or will it recover the volumes automatically?
- StephenBJul 25, 2017Guru - Experienced User
You might consider using paid support.
If you have a USB drive (or stick) you should be able to copy the 3.1 GB folder to external storage from SSH. I don't know if the volume will remount when you do a reboot though - that depends on the state of the array, and if there was any damage done when the OS partition ran out of space.
- sectoidJul 27, 2017Aspirant
Thanks for the help guys, after creating empty space and rebooting the volume is back. I was not able to copy it to an external usb drive, though. For some reason it was in /media but ls returned nothing (and there's a lot of data in it, the NAS even runs a nightly backup of some folders to it), and so I decided to not copy them.
Now to the new considerations/questions:
- I'm still puzzled by how that data ended up in the OS partition. My wife copied those files using a mac using a SAMBA share from the NAS. This specific share is still there, with other data that doesn't show up in the OS partition and thus was not deleted by me. She tried copying those files a few weeks ago and it was always resulting in an error at the middle. However, the NAS continued operating for days after that, and I even copied more data to it. It only "broke" when my son turned it off in the middle of the hdd exchange, so I thought that was the cause, but it probably wasn't.
- This external hdd connected via USB had about 7GB of space left. Now it shows 76GB free. However, it suddenly went from 76GB to 9GB weeks ago, then to 7GB when I copied a few things over. I thought it odd at the time but as I was indeed copying a lot of things to the NAS and it backs up a few folders to it automatically, I didn't look into it. Now I think maybe the 9GB reporting was wrong.
- I now have 2x4TB hdds and 2x3TB hdds. The RAID 6 array was created with 4x3TB hdds. Is there a way for me to use the 2x1TB remaining space? Can I create a JBOD of 2TB for example?
Thanks again!
Related Content
NETGEAR Academy

Boost your skills with the Netgear Academy - Get trained, certified and stay ahead with the latest Netgear technology!
Join Us!