Jump to content

Fenix

Members
  • Content Count

    21
  • Joined

  • Last visited

Community Reputation

0 Neutral

About Fenix

  • Rank
    Member

Recent Profile Visitors

The recent visitors block is disabled and is not being shown to other users.

  1. However to be honest, I had once HGST Enterprise 4TB 7200RPM HDDs installed and noted only a small performance increase compared to WD Red 4TB. Wasn't worth the energy consumption and noise for me. Just to cheer you up a little.
  2. No you can just let it fill up. Unraid will write a file to the next disk if the file is larger than the space left.
  3. This should answer your question: TL;DR: Not recommended, it will work but performance will degrade as the SSDs get filled up.
  4. The CPU is quite capable, you could even setup a few VMs and a bunch of dockers with this processor and RAM. What exact transfer rates did you get when transferring files? With modern HDDs you should get something in the range of 50-110MB/s. And as long as you're connected via ethernet the network shouldn't be an issue. If you're really just want your server as a NAS the CPU is probably overkill, on the other hand I don't think it makes sense to buy a lower end CPU if you already got this one. (Also note a cache drive is essential when talking about dockers and VMs, because in my experience they tend to generate quite high IO on the array. But as always it depends on what you need it for.)
  5. Ouch. Okay thanks to all from preventing me to waste even more time on this 😅 So what is exactly the difference between the "powerdown" and "shutdown -h now" command? I used to use the "shutdown" command but it almost always lead to unclean shutdowns, so I guess "powerdown" triggers all the routines to bring the array to a stop correctly. Is there any more to that?
  6. Okay, so I looked at this again today. I specifically found this: function stopArray(form) { $(form).append('<input type="hidden" name="cmdStop" value="Stop">'); swal({title:'Proceed?',text:'This will stop the array',type:'warning',showCancelButton:true},function(p){if (p) form.submit(); else $('input[name="cmdStop"]').remove();}); } function stopParity(form,text) { $(form).append('<input type="hidden" name="cmdNoCheck" value="Cancel">'); swal({title:'Proceed?',text:'This will stop the running '+text+' operation',type:'warning',showCancelButton:true},function(p){if (p) form.submit(); else $('input[name="cmdNoCheck"]').remove();}); } function pauseParity(form) { $(form).append('<input type="hidden" name="cmdNoCheck" value="Pause">'); $('#pauseButton').val('Resume').prop('onclick',null).off('click').click(function(){resumeParity(form);}); form.submit(); } function resumeParity(form) { $(form).append('<input type="hidden" name="cmdCheck" value="Resume">'); $('#pauseButton').val('Pause').prop('onclick',null).off('click').click(function(){pauseParity(form);}); form.submit(); } function shutdown_now(form,cmd) { $(form).append('<input type="hidden" name="cmd" value="'+cmd+'">'); swal({title:'Proceed?',text:'This will '+cmd+' the system',type:'warning',showCancelButton:true},function(p){if (p) form.submit(); else $('input[name="cmd"]').remove();}); } function toggleApply(checked) { $('input[name="#apply"]').prop('disabled',!checked); } All commands that do not lead into an confirmation can just be called like this for example: http://192.168.178.5:80/update.htm?cmdStop=Stop&csrf_token=<insert_token_here> However as soon as I try to click, let's say the shutdown button I think the WebUI shows the apply button. Is there any way to directly call the apply button, or how would I proceed at this point?
  7. Thanks Squid, I tried a few different things now, however I only got the one in the thread you linked working: <? $vars = parse_ini_file("/var/local/emhttp/var.ini"); exec('wget -qO /dev/null "http://localhost:80/update.htm?cmdStop=Stop&csrf_token='.$vars['csrf_token'].'"'); ?> When I tried to adapt to the shutdown command none of these approaches worked: <? $vars = parse_ini_file("/var/local/emhttp/var.ini"); exec('wget -qO /dev/null "http://localhost:80/update.htm?shutdown=apply&csrf_token='.$vars['csrf_token'].'"'); ?> <? $vars = parse_ini_file("/var/local/emhttp/var.ini"); exec('wget -qO /dev/null "http://localhost:80/update.htm?cmdShutdown=Apply&csrf_token='.$vars['csrf_token'].'"'); ?> <? $vars = parse_ini_file("/var/local/emhttp/var.ini"); exec('wget -qO /dev/null "http://localhost:80/update.htm?shutdown=shutdown&csrf_token='.$vars['csrf_token'].'"'); ?> I think my main issue at this point is, that I don't know how to find out which command corresponds to shutting down. Is there any chance to find that out?
  8. Hi Guys, I'm trying to shutdown unraid via curl, so I can do a proper shutdown in the terminal. The main reason I want to do this is that I want to shutdown my server with Google Home. After reading here that there is no completely clean way to do this directly from the terminal I figured why not just press the shutdown button in the webinterface. I already tried instructions from unraid v5 (see link) however this did not work for me. These are the commands I tried: curl -u root:<password> http://<server-ip>/update.htm?shutdown=apply curl -u root:<password> http://<server-ip>/webGui/include/Boot.php Any advice is greatly appreciated.
  9. Hey guys, so somehow my array performance got way worse in the last two months, I'm getting about 20MB/s whereas before I got about 60-80MB/s. I tried to use the search function to find a thread on how to approach such things, but I didn't find any helpful info. I assume it might be a docker or application I'm running. How do you approach such problems? Are there any tools which can analyze the IO operations of dockers or in general of the array to find out whats been causing the bad performance? Any info on how you guys deal with such problems will be appreciated.
  10. So I kinda figured it out now, I think my browser somehow used what was in the cache and showed the old template, further confusing things. Now that I've set XML view as default and cleared the cache the XML stays the way it is. Thanks.
  11. Yes I've got the Dynamix S3 Sleep plugin, putting the server to sleep works like expected, but I have to shutdown my VM first and then use my laptop/smartphone to put the server to sleep. If I press the sleep button in the webinterface while the VM is running, it freezes and shuts down, resulting in windows complaining that the system was not correctly shutdown. I tried to put a command like "virsh stop Daedalus" in the custom commands before sleep, but when I press the Sleep button in the unraid webinterface, It does not care what I wrote down there. Strangely the commands after wakeup work. I was thinking that my issue was that the "virsh stop Daedalus" command exits before the VM is shutdown so I tried a few scripts which wait until all VM's are shutdown, but none of them worked. Has anyone got a working VM stop script, that waits until the VM's are shutdown? Also are there any other services that should be stopped before a sleep?
  12. Hey Guys, I've got a VM with GPU passthrough running, basically my unraid server is my main rig at the moment. I would like to refine my experience with a few tweaks. First of all is it possible to use the power button of my case to send my unraid server to sleep? Or has someone an idea how you could write a script that sends the server to sleep a few seconds after the VM is shutdown? Also any suggestions how you made your life easier while using an VM as your main rig are welcome.
  13. Thanks that was the hint I needed, I found out that, <boot order='1'/> was set at the HDD and also I had to remove the <boot dev='hd'/> in the OS section. One last thing, unraid seems to reset my XML everytime I open the config page, is there any way to force the XML, or make it not editable? My current working config looks like this, note that I added <boot order='1'/> at my NVMe drive:
  14. Hi guys, I have a windows 10 VM with GPU passthrough running, everything works fine, but the only thing that somehow is buggy for me is that: After every reboot of the VM I have to reconfigure my boot order. Somehow OVMF won't save what I've last used. I'm also passing though a M.2 drive which is the boot drive and also works fine besides OVMF losing tha config everytime. Is there any way to force a certain Boot option? I might add, the problems started after I added a SATA drive to the VM.
  15. I know this is really old and already marked as solved. But I think this might a good info for someone with similar problems, e. g. slow read/write even though the device is overprovisioned. The procedure as described in this post works fine, but my SSD performance was still not great. So I finally sat down and googled how many IOPS my SSD can handle, turns out this specific SSD can only handle "496 random write IOPS at QD1 for the 240GB Sandisk SSD Plus", I have the 480GB Model, I thinks it's basically the same, same controller, different count or sized flash chips. At least that's my conclusion. And it turns out it's true, a friend of mine has a "Samsung 850 Pro 512GB" and he has none of my issues after overprovisioning his device. Also don't think SanDisk makes bad SSDs that's just not true, the "SanDisk Ultra II SSD" has in all sizes above 80K IOPS which is quite frankly really good, and would only be a problem for insane workloads but i think those folks should look at more sophisticated stuff like enterprise U.2 SSDs or highend-desktop SSDs with PCIe or M.2. This might be trivial for most of you but I never seemed to realize that this could be the cause, because I thought "Meh that's a SSD of course it's fast and sufficient for my needs" turned out it only has about 5x the IOPS of an HDD. It works fine if you're only using it for caching reads and writes you occasionally do via SMB. But not so much if you're storing Docker, VM's and scripts that generate some IO on that drive. The constant reading and writing of certain apps might then cause your super fast caching SSD to not work as expected, dockers hung randomly, just something weird/off or also what I had were writing with full GBit to the SSD then for 10 seconds only with 20 MB/s then 5 seconds GBit then maybe only 15 MB/s write, I think you get the idea at this point. I learned that kinda the hard way and it took me a few months to realize that, so I hope this is like a shortcut for some of you to make use of your full hardware potential. Also Tomorrow I'll be editing this thread to confirm that this was the reason by replacing it by a slightly older "Samsung 840 EVO 250GB" but this one apparently has 97K reads and 66K writes, which I hope confirms my theory and I finally can enjoy full speed GBit writes to unRAID Also if you're a Mod please tell me where this should be moved to if it's relevant or if it insignificant so I know. Woah that was three times the word also, I should finally get to the point 👉 . (Also Unicode is awesome, if your device can handle it.) EDIT: grammar and formatting EDIT2: I installed the "Samsung 840 EVO 250GB", overprovisioned it as described in this thread. And the performance is much better than before, writes via SMB are now as expected.