I couldn't find any confirmation on Stoneburner support by unofficial plugins. Is there a compatibility list or is it just 100% supported?
I would like to propose some UI buttons for more or less frequent commands:
1. Undelete files:
fix -m recovers all files, deleted since the last Sync, and -f allows to specify file or directory to recover. I see it as a dialog window prompting to enter filename. If the filename is empty - then -f parameter is omitted.
2. Fix known silent errors.
No input parameters here. The first command fixes known silent errors, and the second checks if they are actually gone and marks the blocks as correct (-p 0 means zero percent of data scrubbed, but blocks with silent errors are checked anyway).
Just came to report a bug with $DEL_THRESHOLD. The script runs for me, but delete threshold is ignored in a strange manner - in logs I can see "deleted files (2175) is below threshold (11)", where 11 is my delete threshold.
Code+ OMV_FSTAB_MNTOPS_EXT3=defaults,nofail,acl,user_xattr,noexec,usrjquota=aquota.user,grpjquota=aquota.group,jqfmt=vfsv0+ OMV_FSTAB_MNTOPS_EXT4=defaults,nofail,acl,user_xattr,noexec,usrjquota=aquota.user,grpjquota=aquota.group,jqfmt=vfsv0+ OMV_FSTAB_MNTOPS_EXT3=defaults,nofail,acl,user_xattr,noexec,usrjquota=aquota.user,grpjquota=aquota.group,jqfmt=vfsv0+ OMV_FSTAB_MNTOPS_EXT4=defaults,nofail,acl,user_xattr,noexec,usrjquota=aquota.user,grpjquota=aquota.group,jqfmt=vfsv0+ OMV_XMLSTARLET_GET_SHAREDFOLDER_PATH=-m //system/shares/sharedfolder[uuid=current()/sharedfolderref] -v concat(//system/fstab/mntent[uuid=current()/mntentref]/dir,'/',reldirpath) -b+ OMV_XMLSTARLET_GET_SHAREDFOLDER_NAME=-m //system/shares/sharedfolder[uuid=current()/sharedfolderref] -v name -b+ OMV_XMLSTARLET_GET_SHAREDFOLDER_MOUNT_DIR=-m //system/shares/sharedfolder[uuid=current()/sharedfolderref] -v concat(//system/fstab/mntent[uuid=current()/mntentref]/dir,'/',reldirpath) -b+ sed -i /#\ <<<\ \[openmediavault\]\ sensors-script/,/#\ >>>\ \[openmediavault\]\ sensors-script/d /usr/sbin/omv-mkgraph
and also, something strange happened to the Status page:
nut graphs went missing, "Temperature monitor" tab appeared with sad smiles, and when I click "refresh", I get this:Codeexception 'OMVException' with message 'Failed to execute command 'omv-mkgraph 2>&1': ERROR: No DS called 'value' in '/var/lib/rrdcached/db//localhost/nut-ups/percent-charge.rrd'' in /usr/share/openmediavault/engined/rpc/rrd.inc:65#2 /usr/share/php/openmediavault/rpc.inc(79): OMVRpcServiceAbstract->callMethod('generate', NULL, Array)
there are similar lines for sync also, and when syncing a lot of data, the log also looks flooded
That normally means there are no rrd files generated, try doing ls /var/lib/rrdcached/db/localhost/sensors-*/ and see if it shows any.
Remember also that not all hardware will work, I had added the ones found so far but you might have something that has not been seen yet. Running the above command will also show if you have something that's not been added.
I plan on adding the CPU Fan option on the next version, I will post when its ready.
Sorry for the delay. The output for the command is:Code
And sensors command from the console shows me my CPU temp:Code
Speaking of the log which is e-mailed by the script. It mostly consists of lines like that:
92%, 933496 MiB, 46 MiB/s, CPU 2%, 0:27 ETA
which go from 0 to 100%, and if you also have scrub - there are way too many lines. I can't imagine any case when analyzing them might be of use, and the lines of real interest (total time + error summary) are in the end of the mail. Perhaps, there's a point in adding an option to exclude such lines from the e-mail report?
I've installed Sensors plugin 1.0.5, and when I try to set "CPU Temperature" checkbox, I get this message:Codeexception 'OMVException' with message 'Failed to execute command 'omv-mkconf sensors balls 2>&1': /usr/share/openmediavault/mkconf/sensors: 113: [: !=: unexpected operator#3 /usr/share/php/openmediavault/rpcservice.inc(158): OMVRpcServiceAbstract->callMethod('applyChanges', Array, Array)#4 /usr/share/openmediavault/engined/rpc/config.inc(224): OMVRpcServiceAbstract->callMethodBg('applyChanges', Array, Array)#7 /usr/share/php/openmediavault/rpc.inc(79): OMVRpcServiceAbstract->callMethod('applyChangesBg', Array, Array)
Once a week is quite an interval... why not sync every night? If something bad happens, you only can restore your data up to the synced state.
no, the button is ok I was talking about omv-snapraid-diff script, sorry that I didn't make it clear...
The script does
$SNAPRAID_BIN scrub -p 100 -o 0 >> $TMP_OUTPUT
the magic number 100 is what I want to set in WebUI
Wouldn't it be better to put Scrub percentage setting in diff script to web interface? By now, it always performs full scrub ( snapraid -p 100), which is quite time-consuming and to my mind it doesn't fit well with default 7 days period. Default scrub percentage, btw, is 12.5. Adding "Scrub percentage" setting would allow different scrub strategies, like "often but little" or "rarely but full".
If the plugin is not available, you can always setup it as a website using openmediavault-ngnix plugin. Extplorer is nice and simple but it has a known HTTPS issue. Pydio is more sophisticated but more stable as well.
The question is: what do you need it for? maybe, FTP/SFTP would be a better option?
thanks for showing the correct way. But it should be mentioned that using the PPA has one advantage: you can install Java security updates the same way as any other package updates, and OMV will check for them daily as well as any other updates.
Pls fix me if there's another way of doing it.
Glad that it helped
Also, for the big music collections I'd recommend two things.
First, install Java 7 (for general performance). The manual cah be found here: http://www.webupd8.org/2012/06…cle-java-7-in-debian.html
Works for me flawlessly for a year, but use it wisely - Ubuntu PPAs are generally not the recommended way to do things.
Second - increase Subsonic memory limit (try to add 2-3 thousand songs th the playlist and you'll see). Default is 150 Mb, but at least 768 Mb recommended if possible. The manual can be found here: http://forum.subsonic.org/forum/viewtopic.php?t=3939
If I remember well, Owncloud's music player is based on Ampache. But myself would personally recommend Subsonic (http://subsonic.org). It's Java based but quite fast, stable and neat (and also supports non-English characters in filenames, which Ampache does not).
The install is really simple - just download the deb package and dpkg it.
I've got it working flawlessly with 900Gb mp3 collection and 3-5 simultanious users.
AFAIK in samba 3.5 (Squeeze) SMB2 is experimental. I tried enabling it via smb.conf, and it started working faster, but also started crashing occasionally. So I disabled it until Wheezy
As you have mentioned pdf, I'd recommend a website plugin and Pydio, which has lots of sharing options as well as built-in viewers
I've edited Solo's script a little so it would Scrub the array every 10 runs of the script.
My modifications are marked by "ADD DSpevak".
See the code there: http://pastebin.com/x2aK67TZ
The idea is as follows: the Cronjob runs the script every night, so every 10-th night, if the Sync was OK, it also performs a Scrub operation.
I have 2 questions:
1) is it correct to run scrubs like that or there are some factors I miss?
2) The counter uses a text file to store the number between sessions. Is it OK or there's a more elegant solution?