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"...
JMehring
Nov 16, 2011Apprentice
Mine 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:
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:
This is a directory listing of Recycle Bin:
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:
So maybe if we can get a fixed version of the find program everything will work again.
Jason
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
Related Content
NETGEAR Academy
Boost your skills with the Netgear Academy - Get trained, certified and stay ahead with the latest Netgear technology!
Join Us!