Author Topic: Recycle bin feature doesn't appear to be working  (Read 2663 times)

Offline alpharetro

  • Newbie
  • *
  • Posts: 16
  • Karma: +1/-0
    • View Profile
Recycle bin feature doesn't appear to be working
« on: November 19, 2012, 11:40:11 am »
My FlexRaid recycle bin feature doesn't retain free space when I make deletes, it releases the space immediately. From what I understand it should be holding the space until an update is made which makes me think it isn't working properly.

Images demonstrating the issue: http://imgur.com/a/QJdKM

Offline Brahim

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 8,547
  • Karma: +204/-16
    • View Profile
Re: Recycle bin feature doesn't appear to be working
« Reply #1 on: November 19, 2012, 12:22:38 pm »
No loading.
Make sure you are in Cruise Control mode and have the property set to true.
Save and restart the pool to it to take effect.

Offline alpharetro

  • Newbie
  • *
  • Posts: 16
  • Karma: +1/-0
    • View Profile
Re: Recycle bin feature doesn't appear to be working
« Reply #2 on: November 19, 2012, 12:44:49 pm »
Hi, thanks for the reply. All my settings appear to be in line with what they should be. Restarting / Rebooting had no effect. I tried looking at the logs but it doesn't appear that information is logged, I'm not sure where else to look to troubleshoot. I'm running Ubuntu 11.04 if that helps.

Here are the images (rehosted):
Config:


Before delete:


After delete:

Offline Brahim

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 8,547
  • Karma: +204/-16
    • View Profile
Re: Recycle bin feature doesn't appear to be working
« Reply #3 on: November 19, 2012, 02:38:47 pm »
Please set your sys logs to TRACE mode, replicate the issue, and provide the logs.

Offline alpharetro

  • Newbie
  • *
  • Posts: 16
  • Karma: +1/-0
    • View Profile
Re: Recycle bin feature doesn't appear to be working
« Reply #4 on: November 19, 2012, 05:04:19 pm »
FlexRAID.log:http://pastebin.com/vTp0V9AU

FlexRAID.sys.log:http://pastebin.com/bQGVFZT0 (This one was 14000 lines long so I cut it to the first 100 lines of initialization plus the timestamps when I actually deleted a file starting at: 17:51:35)

The file I deleted was "/Media/Movies/007 Casino Royale (2006)/poster.jpg"

Thanks again.
« Last Edit: November 19, 2012, 05:08:10 pm by alpharetro »

Offline alpharetro

  • Newbie
  • *
  • Posts: 16
  • Karma: +1/-0
    • View Profile
Re: Recycle bin feature doesn't appear to be working
« Reply #5 on: November 23, 2012, 11:56:35 am »
bump

Offline Brahim

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 8,547
  • Karma: +204/-16
    • View Profile
Re: Recycle bin feature doesn't appear to be working
« Reply #6 on: November 24, 2012, 03:08:31 am »
You need to delete a much larger set of data than just this tiny file.
It is hard to say.

Offline alpharetro

  • Newbie
  • *
  • Posts: 16
  • Karma: +1/-0
    • View Profile
Re: Recycle bin feature doesn't appear to be working
« Reply #7 on: December 07, 2012, 01:27:30 pm »
Okay, sorry about the delay. Here is a set of deletes I did, 6 large files which totaled about 24 GB.

Before / after deletes:


Logs: Deletes happened at 2012-12-7 13:50

FlexRAID.log http://pastebin.com/PZTbzwbg
FlexRAID.sys.log http://pastebin.com/AswALwHf

Is this adequate enough to diagnose the issue?

Offline Brahim

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 8,547
  • Karma: +204/-16
    • View Profile
Re: Recycle bin feature doesn't appear to be working
« Reply #8 on: December 07, 2012, 08:25:52 pm »
Ah, I guess I missed that you were running on Linux.
On Linux, FlexRAID supports the OS's recycle bin feature. So, when you delete a file, it goes to trash.
Empty your trash bin to release the data.

Offline alpharetro

  • Newbie
  • *
  • Posts: 16
  • Karma: +1/-0
    • View Profile
Re: Recycle bin feature doesn't appear to be working
« Reply #9 on: December 08, 2012, 02:06:57 pm »
Ah okay, so I see now that my problem is that the default samba setup only supports permanent deletes. Files deleted via the network do not go into the Trash. Files deleted directly on the server go into the Trash.

I guess my last question then is does the functionality of the Flexraid proprietary recycle bin feature work any different on Linux? It seems on Windows, with the recycle bin, Flexraid handles when the data is released (i.e after an update). In the case of Linux do I just have to run an update then empty the Trash manually to achieve the same effect? Am I still protected from deletes as expected?

Offline Brahim

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 8,547
  • Karma: +204/-16
    • View Profile
Re: Recycle bin feature doesn't appear to be working
« Reply #10 on: December 08, 2012, 04:26:03 pm »
The FlexRAID Snapshot RAID recycle bin feature works the same for both Windows and Linux (nothing goes to either trash or the recycle bin).
The Linux OS trash bin feature is supported but the Window OS recycle bin feature is not.

Offline alpharetro

  • Newbie
  • *
  • Posts: 16
  • Karma: +1/-0
    • View Profile
Re: Recycle bin feature doesn't appear to be working
« Reply #11 on: December 09, 2012, 03:02:30 am »
I apologize for my ignorance but how do I know if the Flexraid recycle bin feature is working in my case, because as you stated if it is enabled then I should not see files in the trash, yet that is exactly what I see?