Author Topic: File Listing on Each Drive  (Read 2028 times)

Offline rxp

  • Jr. Member
  • **
  • Posts: 76
  • Karma: +0/-0
    • View Profile
File Listing on Each Drive
« on: November 06, 2012, 06:50:24 am »
Incase a FlexRAID recovery every failed it would be nice to know exactly what you lost.

Would it be possible to create a file list on each update and store this somewhere in FlexRAID's db? If you then didn't recover a drive you'd at least know what was missing and could go about getting it again through Sickbeard/CouchPotato if they're media files.

Offline DrBlaze

  • Sr. Member
  • ****
  • Posts: 281
  • Karma: +14/-0
    • View Profile
Re: File Listing on Each Drive
« Reply #1 on: November 06, 2012, 08:21:56 am »
+1   This is a very sensible idea,  I can't see how it would be much trouble to implement.

Offline Brahim

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 8,537
  • Karma: +204/-16
    • View Profile
Re: File Listing on Each Drive
« Reply #2 on: November 06, 2012, 05:56:50 pm »
The recovery task will always tell you what it failed to recovery if the scenario arises.

Offline hideghety

  • Newbie
  • *
  • Posts: 13
  • Karma: +0/-0
    • View Profile
Re: File Listing on Each Drive
« Reply #3 on: January 12, 2013, 12:25:18 pm »
Let's assume each flexraid operation (which may consist of some sub-task) has an id,
each task uses files,
so if you would save these info somewhere (in some DB) along with the filename, op started/ended timestamp + result (success/failed) + exception on fault would possibly help.

in most cases you only need to log errors :D

this way could be far mor effective than setting the slow DEBUG level log :D
« Last Edit: January 12, 2013, 12:33:09 pm by hideghety »

Offline Brahim

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 8,537
  • Karma: +204/-16
    • View Profile
Re: File Listing on Each Drive
« Reply #4 on: January 14, 2013, 09:52:36 am »
Yes, I am revamping how task logs are presented to the users in the upcoming release.
My worries about putting all in that in a DB is that it would slow down the task. However, I think I will only log pertinent information to the DB as a task report.