chris1259 Posted August 29, 2019 Share Posted August 29, 2019 Running "ls -al" at /mnt/user/Share showed that .Recycle.Bin created a symbolic link to itself. I ended up running "rm -rf .Recycle.Bin" and recreated the directory .Recycle.Bin. The duplicate directories did not return after i tested deleting a file. Quote Link to comment
alaw005 Posted October 3, 2019 Share Posted October 3, 2019 (edited) I have just moved a deleted folder out of the .recycle.bin folder on a share using Windows 10. But now every one of those files is corrupt and won't open (seems files just padded out with NULLS to get file size). Why would this happen and what can I do about it? I'm concerned that this means all my .recycle.bin files are corrupt across all shares. I suppose I should go and delete all those and start again? Luckily I do also have an online backup (hopefully that hasn't failed also) but that will take forever to re-download all the files ... wishing I had tested restoring before I needed it! Edited October 3, 2019 by alaw005 Add more detail about corrupted files Quote Link to comment
dlandon Posted October 4, 2019 Author Share Posted October 4, 2019 Never seen or had any reports of the recycle bin doing that. I suspect the files were corrupted when they were deleted. Quote Link to comment
alaw005 Posted October 4, 2019 Share Posted October 4, 2019 19 minutes ago, dlandon said: Never seen or had any reports of the recycle bin doing that. I suspect the files were corrupted when they were deleted. Thank you, didn't think of that. I did move a significant number of files around the other day so maybe something I did then. What might cause the files to corrupt like this? If I am restoring files from online backup but subsequently delete a restored file, will the deleted file replace any previously deleted (possibly corrupt) files in the .recycle.bin or is that something I can set? Quote Link to comment
Squid Posted October 4, 2019 Share Posted October 4, 2019 (edited) 1 hour ago, alaw005 said: Thank you, didn't think of that. I did move a significant number of files around the other day so maybe something I did then. What might cause the files to corrupt like this? Easiest way is if you move from a disk share to a user share (ie from /mnt/diskx/shareY/file to /mnt/user/shareY/file) Edited October 4, 2019 by Squid Quote Link to comment
JonathanM Posted October 4, 2019 Share Posted October 4, 2019 8 hours ago, Squid said: Easiest way is if you move from a disk share to a user share (ie from /mnt/diskx/shareY/file to /mnt/user/shareY/file) That includes /mnt/cache to /mnt/user as well. Some people don't realize /mnt/cache is a disk share. Quote Link to comment
dlandon Posted October 4, 2019 Author Share Posted October 4, 2019 10 hours ago, alaw005 said: will the deleted file replace any previously deleted (possibly corrupt) files in the .recycle.bin or is that something I can set? The deleted files don't replace files in the recycle bin. They are versioned. Quote Link to comment
alaw005 Posted October 7, 2019 Share Posted October 7, 2019 On 10/5/2019 at 12:39 AM, dlandon said: The deleted files don't replace files in the recycle bin. They are versioned. Thank you. Quote Link to comment
alaw005 Posted October 7, 2019 Share Posted October 7, 2019 On 10/4/2019 at 11:50 PM, jonathanm said: That includes /mnt/cache to /mnt/user as well. Some people don't realize /mnt/cache is a disk share. I expect the files were moved from cache. Luckily I have now restored from backup so all sorted. Quote Link to comment
soupn Posted October 16, 2019 Share Posted October 16, 2019 (edited) Hi, I know that going manually to //Tower/share/.Recycle.Bin in file explorer I can access deleted files and folders, but is that a way of recovering folders via gui (like I can do for files in https://Tower.local/Settings/RecycleBin) ? thanks. Edited October 16, 2019 by Paulo Costa Quote Link to comment
dlandon Posted October 16, 2019 Author Share Posted October 16, 2019 7 hours ago, soupn said: Hi, I know that going manually to //Tower/share/.Recycle.Bin in file explorer I can access deleted files and folders, but is that a way of recovering folders via gui (like I can do for files in https://Tower.local/Settings/RecycleBin) ? thanks. Manually is the only way. Quote Link to comment
Spazhead Posted October 21, 2019 Share Posted October 21, 2019 hi does recycle bin work on the cache drive? Thanks Quote Link to comment
dlandon Posted October 21, 2019 Author Share Posted October 21, 2019 9 hours ago, Spazhead said: hi does recycle bin work on the cache drive? Thanks The Samba recycle bin works on shares. The cache disk can be shared, and the recycle bin will work on the cache share. Quote Link to comment
Spazhead Posted December 14, 2019 Share Posted December 14, 2019 don't know what i'm doing wrong, but recycle bin does not work for my 2 unraid servers. my settings for recycle below, (note i have disabled recycle bin in this picture) here's what's happening, i'm running windows 10 on VM and when i delete a test file on server mapped drives in windows. the file is gone, nothing shows up in recycle bin. this to me is pretty simple operation, but it's not working. hope someone can shed light on what i'm doing wrong. Quote Link to comment
dlandon Posted December 14, 2019 Author Share Posted December 14, 2019 26 minutes ago, Spazhead said: don't know what i'm doing wrong, but recycle bin does not work for my 2 unraid servers. my settings for recycle below, (note i have disabled recycle bin in this picture) here's what's happening, i'm running windows 10 on VM and when i delete a test file on server mapped drives in windows. the file is gone, nothing shows up in recycle bin. this to me is pretty simple operation, but it's not working. hope someone can shed light on what i'm doing wrong. Post diagnostics. Quote Link to comment
Spazhead Posted December 14, 2019 Share Posted December 14, 2019 (edited) 35 minutes ago, dlandon said: Post diagnostics. hi thanks, diag attached tinytoon-diagnostics-20191214-1645.zip looneytoon-diagnostics-20191214-1645.zip Edited December 14, 2019 by Spazhead Quote Link to comment
dlandon Posted December 14, 2019 Author Share Posted December 14, 2019 12 minutes ago, Spazhead said: hi thanks, diag attached tinytoon-diagnostics-20191214-1645.zip 255.65 kB · 0 downloads looneytoon-diagnostics-20191214-1645.zip 177.81 kB · 0 downloads It can take up to several minutes for a deleted file to show in the recycle bin. The refresh runs in the background to keep the gui responsive. You can browse to the recycle bin directly to check for the file. \\Tower\share\.Recycle.Bin Quote Link to comment
Spazhead Posted December 15, 2019 Share Posted December 15, 2019 1 hour ago, dlandon said: It can take up to several minutes for a deleted file to show in the recycle bin. The refresh runs in the background to keep the gui responsive. You can browse to the recycle bin directly to check for the file. \\Tower\share\.Recycle.Bin i understand that, but i delete hundreds of files daily and when it was running for a week without purging, recycle bin was still empty, files sizes range from 1k to 20GB that are deleted. i must have something broken or some support files not installed. thanks Quote Link to comment
wgstarks Posted December 15, 2019 Share Posted December 15, 2019 8 minutes ago, Spazhead said: i understand that, but i delete hundreds of files daily and when it was running for a week without purging, recycle bin was still empty, files sizes range from 1k to 20GB that are deleted. i must have something broken or some support files not installed. thanks Are you deleting the files via an smb connection? And do you have smb extras properly configured? Quote Link to comment
dlandon Posted December 15, 2019 Author Share Posted December 15, 2019 17 minutes ago, Spazhead said: i understand that, but i delete hundreds of files daily and when it was running for a week without purging, recycle bin was still empty, files sizes range from 1k to 20GB that are deleted. i must have something broken or some support files not installed. thanks You have the age days set to 1 and you purge daily. The files deleted that day will be removed from the recycle bin the next day. Quote Link to comment
Spazhead Posted December 15, 2019 Share Posted December 15, 2019 i think i know the problem now, i'm allowing access to the 'rootshare' so that i can move files easily from one share to another, and i dont think recycle bin recognize the rootshare as a shared SMB, anyway you can make that happen? thanks Quote Link to comment
dlandon Posted December 15, 2019 Author Share Posted December 15, 2019 10 minutes ago, Spazhead said: i think i know the problem now, i'm allowing access to the 'rootshare' so that i can move files easily from one share to another, and i dont think recycle bin recognize the rootshare as a shared SMB, anyway you can make that happen? thanks The recycle bin only works on smb shares. I can't change that. Quote Link to comment
Spazhead Posted December 15, 2019 Share Posted December 15, 2019 31 minutes ago, dlandon said: The recycle bin only works on smb shares. I can't change that. ok thanks for your help Quote Link to comment
dEAd0 Posted January 4, 2020 Share Posted January 4, 2020 (edited) I'm having an issue with the plugin. After deleting a test folder and file, it shows in the log (I enabled 'Log deleted files'). It doesn't show the .Recycle.Bin folder on any of my shares. I deleted the test folder and file from a windows 10 PC which had the share mapped as network drive. I also cannot figure out how to navigate to the mentioned "//Tower/share/.Recycle.Bin.". I assumed the name Tower has to be changed to the name i've set on my server, and the name of my share in the '/share/' part. I cannot figure out why it will not create and/or add deleted files to the recycle bin. PS: the 'show hidden folders' option is checked in Windows Explorer. Hopefully someone can help me out. Thanks in advance! Edited January 4, 2020 by dEAd0 Quote Link to comment
dlandon Posted January 5, 2020 Author Share Posted January 5, 2020 Go to Settings->Recycle Bin and click on 'Shares', then click on the folder with the magnifying glass and you can browse the share Recycle Bin. To navigate to the Recycle Bin in Windows enter '//Tower/share/.Recycle.Bin' in the browser bar of the navigator. Replace 'Tower' with your server name. Quote Link to comment
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.