NETGEAR is aware of a growing number of phone and online scams. To learn how to stay safe click here.
Forum Discussion
medimus
Mar 02, 2010Aspirant
Recycle bin fills up my ReadyNAS
I use Radiator 1.4.6 with my ReadyNAS Duo. About two months ago I enabled the Recycle bin for my CIFS share "Backup", with options "Remove files older than: 10 days" and "Limit Recycle Bin to: 200 Mb" about 2 months ago. Yesterday I noticed that of my 1 Tb discs 600 Gb were used, and found that most of this was the Recycle bin, with loads of copies of backup files through NTI Shadow for ReadyNAS. It is configured to make a backup once a day with 3 older copies saved, so the fourth copy sends the former one to Recycle bin I suppose. Now I've spent several hours erasing this huge bin (that is from now on disabled).
Does anyone recognize this problem - that the Recycle bin doesn't empty itself as it should according to the options? I have turned it off now, and realize that three version copies in the backup usually are enough.
Does anyone recognize this problem - that the Recycle bin doesn't empty itself as it should according to the options? I have turned it off now, and realize that three version copies in the backup usually are enough.
32 Replies
Replies have been turned off for this discussion
- ewokNETGEAR Expert
NASNoob wrote:
Still both share recycle bins continue to grow in size as I clean (delete) old files. The OLD stuff just never seems to just go away!
Try turning off the recycle bin before deleting stuff from it. - NASNoob11AspirantEWOK,
Thank you for this suggestion. I am willing to try this. Not certain how to "turn off" the Recycle Bins of the volume shares :? .
Do you mean I should go to RAIDar/Setup (Frontview)/Shares/Share Listing/*share*/CIFS/Recycle Bin/ and UnCheck "Enable Recycle Bin?" After this, off to ReadyNas via the network and just delete the objects in each share's Recycle Bin?
Believe I can to this. - ewokNETGEAR ExpertYes, uncheck the Recycle Bin checkbox for the share.
- NASNoob11AspirantEwok,
Thank you again. Now I am even more confused and afraid of my ReadyNas!
Yes, this current diagnostic seems to have made the old files in the 'Recycle Bin(s)' go away.
[personally, I think my Duo reads this Forum too!!]
Fine. This glitch is now fixed. My share recycle bins are now empty!
I have reset them to 3 Days / 2000MB. I will watch them forward.
More odd is that RAIDar v4.30 still shows the same specs (115664MB used, 24% of 461MB) AFTER
the removal/disappearance of the old recycle bin files. I will wait 24hr and check again.
I know. Another thread, another day!! :rofl: - jjenson1AspirantHi,
Is there an answer to the problem reported by everyone above? I have exactly the same problem with the disk filling up because the recycle bin files are never deleted. I have tried all the suggestions in the post but nothing works.
CLEARLY there is bug here, can this be fixed since it's been going on for over a year?
Any help would be appreciated?
Thanks in advance
Jeff - ewokNETGEAR ExpertWhich version of the firmware are you using, what are your recycle bin settings, and how much space is it taking up?
- jerockAspirantOK I've tried everything suggested on this forum and had to disable the trash bin because it just doesn't work as it's supposed to. So I'll play.
Firmware 4.1.8 [1.00a043] / I had 4gb for the recycle bin when I used it. I have a total pf 2771 GB with 1483 GB used. - ewokNETGEAR ExpertHow much space was the Recycle Bin taking up? Try leaving your NAS on overnight and see if that clears the Recycle Bin properly.
- JMehringApprenticeMine is also having issues using 4.2.19 firmware on A ReadyNAS Ultra 6. It seems like the shell command is not returning the proper ctime.
for instance:
Energy-Storage:/bin# find '/c/media/Recycle Bin' -type f -ctime +1
Energy-Storage:/bin#
should list any files over 1 day old; it lists none. Now if I run the same command from another unix box via a mounted share it works:
root@togo:~# find '/mnt/media-delete/Recycle Bin' -type f -ctime +1
/mnt/media-delete/Recycle Bin/Code/installservice.py
/mnt/media-delete/Recycle Bin/Code/agentservice.py
/mnt/media-delete/Recycle Bin/Code/scannerservice.py
/mnt/media-delete/Recycle Bin/Code/storeservice.py
/mnt/media-delete/Recycle Bin/Code/systemservice.py
/mnt/media-delete/Recycle Bin/Code/streamservice.py
/mnt/media-delete/Recycle Bin/Code/__init__.py
/mnt/media-delete/Recycle Bin/Code/messageservice.py
/mnt/media-delete/Recycle Bin/Code/codeservice.py
/mnt/media-delete/Recycle Bin/Code/helpservice.py
/mnt/media-delete/Recycle Bin/Code/peerservice.py
/mnt/media-delete/Recycle Bin/Code/playerservice.py
/mnt/media-delete/Recycle Bin/Code/flagservice.py
/mnt/media-delete/Recycle Bin/Code/bundleservice.py
/mnt/media-delete/Recycle Bin/Code2/installservice.py
/mnt/media-delete/Recycle Bin/Code2/agentservice.py
/mnt/media-delete/Recycle Bin/Code2/scannerservice.py
/mnt/media-delete/Recycle Bin/Code2/storeservice.py
/mnt/media-delete/Recycle Bin/Code2/systemservice.py
/mnt/media-delete/Recycle Bin/Code2/streamservice.py
/mnt/media-delete/Recycle Bin/Code2/__init__.py
/mnt/media-delete/Recycle Bin/Code2/messageservice.py
/mnt/media-delete/Recycle Bin/Code2/codeservice.py
/mnt/media-delete/Recycle Bin/Code2/helpservice.py
/mnt/media-delete/Recycle Bin/Code2/peerservice.py
/mnt/media-delete/Recycle Bin/Code2/playerservice.py
/mnt/media-delete/Recycle Bin/Code2/flagservice.py
/mnt/media-delete/Recycle Bin/Code2/bundleservice.py
root@togo:~#
This is a directory listing of Recycle Bin:
Energy-Storage:/c/media/Recycle Bin# ls -l Code
total 160
-rwxrwxr-x 1 jason jason 39402 2011-07-06 02:51 agentservice.py
-rwxrwxr-x 1 jason jason 6057 2011-07-06 02:51 bundleservice.py
-rwxrwxr-x 1 jason jason 1841 2011-07-06 02:51 codeservice.py
-rwxrwxr-x 1 jason jason 3637 2011-07-06 02:51 flagservice.py
-rwxrwxr-x 1 jason jason 1666 2011-07-06 02:51 helpservice.py
-rwxrwxr-x 1 jason jason 3068 2011-07-06 02:51 __init__.py
-rwxrwxr-x 1 jason jason 28907 2011-07-06 02:51 installservice.py
-rwxrwxr-x 1 jason jason 2636 2011-07-06 02:51 messageservice.py
-rwxrwxr-x 1 jason jason 15552 2011-07-06 02:51 peerservice.py
-rwxrwxr-x 1 jason jason 1554 2011-07-06 02:51 playerservice.py
-rwxrwxr-x 1 jason jason 1511 2011-07-06 02:51 scannerservice.py
-rwxrwxr-x 1 jason jason 27178 2011-07-06 02:51 storeservice.py
-rwxrwxr-x 1 jason jason 2112 2011-07-06 02:51 streamservice.py
-rwxrwxr-x 1 jason jason 83 2011-07-06 02:51 systemservice.py
The ready nas uses the shell program find in order to make its calculations, and if find does not work, then I can not see how it would be able to delete old files. (/frontview/bin/clean_recycle_bins). Here is the line that uses find:
...
if( $age_limit )
{
system("find '$path/Recycle Bin' -type f -ctime +$age_limit -exec rm -rf {} \\; &>/dev/null");
}
...
So maybe if we can get a fixed version of the find program everything will work again.
Jason - ewokNETGEAR ExpertCan you run stat on one of these files in the recycle bin and post the result?
Related Content
NETGEAR Academy
Boost your skills with the Netgear Academy - Get trained, certified and stay ahead with the latest Netgear technology!
Join Us!