smurf-iv / elucidate Goto Github PK
View Code? Open in Web Editor NEWElucidate: A GUI to drive the SnapRAID command line (via .Net)
License: GNU General Public License v2.0
Elucidate: A GUI to drive the SnapRAID command line (via .Net)
License: GNU General Public License v2.0
Should disable 4, 5, 6
Should have a means to switch between 3 and z
@BlueBlock FYI.
Currently using the default one provided by XP windows !
Lets make the statement
"The intention of Elucidate, is to make it easier and clearer on how to use the SnapRAID Command-line application."
True
The following code change has broken the requirement within SnapRaid to ensure that both the order AND the Name do not change within a config file Load and Save !
// special handling of data sources since order preservation is extremely important
IOrderedEnumerable<KeyValuePair<string, string>> dataSourcesOrdered = dataSources.OrderBy(a => a.Key);
foreach (KeyValuePair<string, string> item in dataSourcesOrdered)
{
SnapShotSources.Add(item.Value);
}
The following causes Elucidate to exit after the messageBox is shown!
@BlueBlock FYI
Easy "Real Estate" management
Allow better "Help / Information" text
Attempt to allow Comments in certain sections of the Config.file
Not sure that this can be done reliably, because:
@Smurf-IV , I see you have a pending task for "Use Mark Down for GitHub -- Learn," and that the docs presently formatted into html. Would you mind if I began a first-pass conversions of these to make them more accessible to new users?
Switching to the Default RichTextBox has slowed the app down!
Investigate and fix!
Setup was SnapRAID 11.1, using a similarly aged Elucidate.
Upgraded to newest Elucidate today (2019.2.850.9)
Complains that SnapRAID.config is not valid.
In settings, I try changing back to my original SnapRAID.conf
It doesn't load in previous settings.
Previous SnapRAID.conf:
# Configuration for snapraid via Elucidate
# Defines the file to use as Parity storage
# It must NOT be in a data disk
parity P:\SnapRAID.parity
# Defines the file to use as Q-Parity storage
# If specified, it enables a double failures protection like RAID6
# It must NOT be in a data disk
# q-parity F:\qar\q-parity\SnapRAID.Q.parity
# Defines the file to use as content list
# You can use multiple specification to store more copies of the file
# It's suggested to have at least N+1 copies of the file, where N is the number of parity files.
# It can be in a data disk
# It can be in the disks used for parity storage
content D:\SnapRAID.content
content E:\SnapRAID.content
content F:\SnapRAID.content
# reminder! edit snapraid-helper.ini too
content P:\SnapRAID.content
# Defines the data disks to use
# The order is relevant for parity, do not change it
disk d0 D:\
disk d1 E:\
disk d2 F:\
# Excludes hidden files and directories (uncomment to enable).
# nohidden
# Defines files and directories to exclude
# Remember that all the paths are relative at the mount points
# Format: "exclude FILE"
# Format: "exclude DIR\"
# Format: "exclude \PATH\FILE"
# Format: "exclude \PATH\DIR\"
exclude \$RECYCLE.BIN\
exclude \System Volume Information\
exclude *.bak
exclude Thumbs.db
# Defines the block size in kibi bytes (1024 bytes).
# Default value is 256 -> 256 kibi bytes -> 262144 bytes
block_size 256
# Automatically save the state when synching after the specied amount of GiB processed.
# This option is useful to avoid to restart from scratch long 'sync'
# commands interrupted by a machine crash.
# The SIZE argument is specified in gibi bytes -> 1073741824 bytes
# Default value is 0, meaning disabled.
# Format: "autosave SIZE_IN_GiB"
autosave 250
Now that #50 is implemented, the Data Space views need to accumulate the different areas, to show the expected sizes for the total parity spaces
No Idea when this became broken, but does not work on Win 10 x64 withe the latest release.
I would love a GUI to pick/select folders/files to recover from the .content files, and recover either a whole drive or files over to a folder.
Something you might be interested in? :)
I have 15 drives protected, and mostly filled @ 4TB, some with millions of small files.
The Settings GUI appears to lock when it loads this complicated scenario.
(Sorry just logging ideas).
Have a way to notify users (eg email?) when tasks succeed or fail. maybe generic windows question tbh
Now that #50 is implemented, the Warning message about the Parity being smaller than the Data target needs to take into account the total size for each parity area
This way I can have one schedule for sync and scrub
If you have "Several" HDD's and Millions of files, it appears that Elucidate "Hog's" the CPU on Start
It works infrequently in the Config page,
And not at all as a standalone Tab!
Hi,
I encounter suddenly this error message
Uncaught Exception - Exiting!
Configuration system failed to initialize
Using Windows 10 Pro - version 1709 - OS Build 16299.431
Please help! Thanks!
I changed a HDD in my System in the Drivepool, so the Data on the HDD is moved to the other HHDs in my system.
So I started the scrub command to run the fix after, the program itself seems to run as I see in the Taskmanager but the GUI itself is crashed and don't react to any click. Nothing changed in the Textline and the Windows doesn't react on any click.
Does anyone have the same problem??
Hi,
I'm not sure if there's something I don't do right or don't understand the gui but I was doing some test with snapraid fix command and I was able to recover a bad file (not deleted) with bad block from a check. When using the elucidate gui it doesn't recover the file unless I put -v in the additional command line
Solving the start-up issue then causes this:
@BlueBlock Which means that the file cannot be edited in the app designed to edit it !
This Code under this Tab needs a rethink
I do not have Snapraid installed,
Or, it is installed to a different location.
This does not cause a crash report, but just a messageBox
I got the newest Version of the Snapraid GUI, I set a schedule to write the data to the parity but i noticed as i sync the data the day after that the schedule don't run.
Now i saw that the schedule give the last run result of (0x1), so i asked google and they said that I should set up "run with highest privileges", I want to do this and have it optimized for win 10 pro but when i gave my password in the box then the elucidate give me an failure and cant set the option. Any Idea??
It's not so good if I can't be sure that the server make the sync in the night when i set it, if any hdd make a fault i don't can restore the data. So it would be nice if it runs, although i don't find the schedule in the windows schedules as it was in earlier versions is this right?
Greetings
Rene
I'm brand new to github, snapraid, and Elucidate. I set up snapraid.conf yesterday and successfully sync'd the array. I attempted to configure Elucidate this morning and ran into this error:
13:50:37.7411 [ 1] FATAL: The config file is not valid.[C:\Users\justi\Documents\snapraid-11.3-windows-x64\snapraid.conf]
The number of content files must be at least one greater than the number of parity files. There should be at least 2 content files.
This is my snapraid.conf file:
https://paste.ubuntu.com/p/yckbg4y6Jk/
I thought that I'd configured the snapraid.conf file to have three content files. Can you provide some guidance? Thank you.
When I try to open a config file I get the following exception. Running from the CLI seems to work fine.
Config:
parity D:\snapraid.parity
content C:\snapraid.content
content D:\snapraid.content
data d1 E:
data d2 F:
data d3 G:\
exclude *.unrecoverable
exclude Thumbs.db
exclude $RECYCLE.BIN
exclude \System Volume Information
exclude \Program Files
exclude \Program Files (x86)
exclude \Windows\
Exception:
See the end of this message for details on invoking
just-in-time (JIT) debugging instead of this dialog box.
************** Exception Text **************
System.InvalidOperationException: Sequence contains no elements
at System.Linq.Enumerable.Max[TSource](IEnumerable`1 source)
at Elucidate.ConfigFileHelper.DoValidation()
at Elucidate.ElucidateForm.LoadConfigFile(String configFile)
at Elucidate.ElucidateForm.OpenSnapRAIDConfigToolStripMenuItem_Click(Object sender, EventArgs e)
at System.Windows.Forms.ToolStripItem.RaiseEvent(Object key, EventArgs e)
at System.Windows.Forms.ToolStripMenuItem.OnClick(EventArgs e)
at System.Windows.Forms.ToolStripItem.HandleClick(EventArgs e)
at System.Windows.Forms.ToolStripItem.HandleMouseUp(MouseEventArgs e)
at System.Windows.Forms.ToolStrip.OnMouseUp(MouseEventArgs mea)
at System.Windows.Forms.ToolStripDropDown.OnMouseUp(MouseEventArgs mea)
at System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks)
at System.Windows.Forms.Control.WndProc(Message& m)
at System.Windows.Forms.ToolStrip.WndProc(Message& m)
at System.Windows.Forms.ToolStripDropDown.WndProc(Message& m)
at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
Hello there,
I got some Problems with the Sync in my shedule, the configuration is on and the server although runs 24/7 at this time, but in the last times the server said he hadn't found the snapraid.exe but the Path is the right one. Now snapraid doesn't say anything and doesn't sync. When I do a manually sync anything is ok.
Here is the Parameter from the action in the automated script:
/k """C:\Program Files\Snapraid\snapraid.exe"" -c "C:\Program Files\Snapraid\snapraid.conf" sync"
And this is my snapraid.conf:
# Configuration for snapraid via Elucidate
# Defines the file to use as Parity storage
# It must NOT be in a data disk
parity D:\SnapRAID.parity
# Defines the file to use as Q-Parity storage
# If specified, it enables a double failures protection like RAID6
# It must NOT be in a data disk
q-parity E:\SnapRAID.Q.parity
# Defines the file to use as content list
# You can use multiple specification to store more copies of the file
# It's suggested to have at least N+1 copies of the file, where N is the number of parity files.
# It can be in a data disk
# It can be in the disks used for parity storage
content D:\SnapRAID.content
content E:\SnapRAID.content
content F:\SnapRAID.content
content G:\SnapRAID.content
content H:\SnapRAID.content
content I:\SnapRAID.content
content J:\SnapRAID.content
content K:\SnapRAID.content
content L:\SnapRAID.content
content M:\SnapRAID.content
content N:\SnapRAID.content
content O:\SnapRAID.content
# Defines the data disks to use
# The order is relevant for parity, do not change it
disk d0 F:\
disk d1 G:\
disk d2 H:\
disk d3 I:\
disk d4 J:\
disk d5 K:\
disk d6 L:\
disk d7 M:\
disk d8 N:\
disk d9 O:\
# Excludes hidden files and directories (uncomment to enable).
# nohidden
# Defines files and directories to exclude
# Remember that all the paths are relative at the mount points
# Format: "exclude FILE"
# Format: "exclude DIR\"
# Format: "exclude \PATH\FILE"
# Format: "exclude \PATH\DIR\"
exclude *.unrecoverable
exclude Thumbs.db
exclude \$RECYCLE.BIN
exclude \System Volume Information
exclude \Program Files\
exclude \Program Files (x86)\
exclude \Windows\
exclude \PoolPart.*
# Defines the block size in kibi bytes (1024 bytes).
# Default value is 256 -> 256 kibi bytes -> 262144 bytes
block_size 1024
# Automatically save the state when synching after the specied amount of GiB processed.
# This option is useful to avoid to restart from scratch long 'sync'
# commands interrupted by a machine crash.
# The SIZE argument is specified in gibi bytes -> 1073741824 bytes
# Default value is 0, meaning disabled.
# Format: "autosave SIZE_IN_GiB"
autosave 250
Any ideas why it won't work?
THX
Hi, there are multiple problems with SLN and CSPROJ. Tried to get it working but some references to Shared and Win7Progress files inside CSPROJ does not have their source files in the main branch (also missing on codeplex)...
Btw: where can I grab the latest build for Windows (until this is fixed)?
This can cause an exception as it will not have focus,
AND,
Causes confusion as to which item is currently being actioned, i.e. deleted
Side by side comparison of the Log file and the window contents shows that it is missing several lines
What are the breaking changes?
Start:
Elucidate does execute the snapraid exe via arguments.
Were those arguments changed between versions (IMO: not, it seems to work - if yes, which ones)
Config:
If elucidate will focus just on some values and will be able to alter only that potion of the config file, it could become more stable. Actually for those people who have even bigger aversion to text config files than me, the basic setup GUI will do.
The only extra functions i've used: autosave 250.
Btw. any date when 11.x changes will be analyzed and implemented?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.