NETGEAR is aware of a growing number of phone and online scams. To learn how to stay safe click here.
Forum Discussion
Platypus69
Dec 22, 2020Luminary
Cannot copy files to RN428 even though it shows that 700GB+ is free
I have a weird problem, hope you guys can help.
I have a ReadyNAS RN428 to which I cannot copy files even though there is apparently plenty of free space (although perhaps not as a percentage).
RN428 specs:
- Firmware: 6.10.4
- 8 x 12TB IronWolf (ST12000VN0007) HDDs
- X-RAID (RAID-5)
- Admin Page > System > Volume is showing:
- data 75.67TB
- Free Space: 717.47GB
- No snapshots have been configured for any of the shares
- Admin Page > Shares confirm there are no snapshots
- Files have only every been copied (appended) to the NAS
- So there should be no fragmentation
- So only Scrubs and Disk Tests have ever been scheduled
- No Balance operations have ever been run as the theory was there is no need
- So there should be no fragmentation
So why can I not copy any file to the RN428, so a 4GB file copy operation failed?
How do I solve the problem?
I am currently running a Scrub as I saw on the Internet (Ha! Ha! Ha!) that someone had a similar issue which they fixed after a scrub.
Do I need to to a Balance?
According to ReadyNAS OS 6: An overview of relevant scheduled maintenance tasks available | Answer | NETGEAR Support
below a Balance should fix my problem.
I just wanted to confirm this is the correct action as we also have a RN316 with a similar set up where we have pretty much filled it up:
- Firmware: 6.10.4
- 6 x 4TB IronWolf (ST12000VN0007) HDDs
- X-RAID (RAID-5)
- Admin Page > System > Volume is showing:
- data 18.17TB
- Free Space: 4.86GB
- No snapshots have been configured for any of the shares
- Admin Page > Shares confirm there are no snapshots
- Files have only every been copied (appended) to the NAS
- So there should be no fragmentation
- So only Scrubs and Disk Tests have ever been scheduled
- No Balance operations have ever been run as the theory was there is no need
- So there should be no fragmentation
So same set up as RN428, but less free space.
So should I do a Balance if the Scrub does not solve my problem (which is what I expect)?
I suppose I am surprised that we over 700GB of wasted "chunks", etc on an RN428 where we were only exclusively copying/appending large files (4GB - 100GB),
Are there any downsides to a Balance? It should not consume extra space or introduce fragmentation, right? Obvisouly it will take a very long time give we have 7 x 12TB worth of data,,,
Thoughts/help appreciated...
THANKS, as always!!!!
Balancing What is balancing?
The ReadyNAS file system not only stores the user data, it also stores additional information related to that data, called metadata. Either data is stored in a number of fixed size storage areas called chunks which are reserved by the file system when new data is stored. In normal operation a chunk reserved for user data cannot be converted to hold metadata, even when the chunk becomes empty again. Therefore, a progression from a high number of large files to a higher number of small files stored on the ReadyNAS can lead to a shortage of available metadata chunks. This can lead to a situation where the ReadyNAS device will report that is has run out of disc space even when enough space seems to be available. Running the balance function will combine half-filled chunks and free empty, previously assigned chunks for reuse with either user data or metadata.
Should I use balancing regularly?
Since balancing requires some storage space to move files it should not be postponed until the available storage space is almost consumed completely. The balancing function will be most effective after a large number of files have been deleted or if there has been a transition from generally large files to smaller files. Especially the latter is hard to monitor, therefore balancing should be run at regular intervals.
How do I balance a volume?
Balancing can be configured to run automatically via the local admin page.
19 Replies
Replies have been turned off for this discussion
- rn_enthusiastVirtuoso
Hi Platypus69
We cannot comment on whether you need to balance without seeing some BTRFS statistics first :)
What error are you getting when trying to transfer? Volume full or? If that is the case, then a balance will likely sort it out but I suggest getting output of the commands below and paste it into the thread, please.
btrfs fi sh /data btrfs fi df /data
Then we can see what the filesystem looks like. You will need to log into to the NAS over SSH in order to run those commands. Cheers.
- Platypus69Luminary
Thanks.
I am not a SSH person, so never had to do that in past with any of the RaadyNASes.
I am a Wintel guy, please don't shoot me... :smileywink:
So I have enabled SSH, but when I SSH into the RN428 I get the following error:
Creating directory '/home/administrator'. Unable to create and initialize directory '/home/administrator'. Welcome to ReadyNASOS 6.10.4 Last login: Wed Dec 23 16:20:14 2020 from p50 Could not chdir to home directory /home/administrator: No such file or directory
(BTW, then tried by explicitly creatting a user called SSH and using that account but it to generated the same error.)
And if I try running the btrfs command I got the following:
administrator@RN428:/$ btrfs fi sh /data -bash: btrfs: command not found administrator@RN428:/$
So not sure if the 2 errors are related... Sorry.
What am I doing wrong?
Thanks for your patience.
PS:Is it easier for me to show you the btrfs log from the ZIP file you can generate?
PPS: Yes, getting error message that there is not enough free space, so volume full I expect. (Copying files from Windows environment.)
- rn_enthusiastVirtuoso
Hi again
I should have explained that the username to use, when accessing the command line over SSH, is root (not administrator). Anyhow, yes you can also just pull a fresh log-set and show me the btrfs.log file. That wil work too :)
Related Content
NETGEAR Academy
Boost your skills with the Netgear Academy - Get trained, certified and stay ahead with the latest Netgear technology!
Join Us!