barrygordon

Members
  • Posts

    525
  • Joined

  • Last visited

Everything posted by barrygordon

  1. My house is highly automated and an Unraid NAS is a key part of that automation. I have registered a new domain and a corresponding email for that domain. When the new owner takes posession they will use the new email address and password which I will leave them. The question I have is whether a can register the new email and password at this time, in effect transferring the Unraid registration to the new email and new password as the registered owner
  2. I am looking into HDHomeRUN tuners for ATSC 3 by Silicon Dust. They feature the use of a NAS. I was wondering if any Unraid users have experience with their product line and have successfully integrated one of their tuners with Unraid. If so how did you do it and how well does it operate.
  3. I am still interested in asynchronously spinning the disks up/down using TCP/IP . Here is a sample of the prototype command I would send in unRaid version 4. "GET /update.htm?cmdSpindownAll=Spin%20Down HTTP/1.1" + vbCrLf + All. If someone could show me how to change the command to include the CSRF token that would be greatly appreciated
  4. I am very interested in this. I would like the APi to have a nice TCP/IP interface or a REST interface. IIRC an earlier version of unraid (way back in time) had the ability to do things using TCP/IP and GET. I used that to spin up/down disks asynchronously when I started my home theater so that I would have the wait on first access when a movies stored on the unraid NAS was selected.
  5. I have written a small standalone exe that will spin up all the unraid disks using emcmd via Telnet. It will be launched when I want to watch a movie and have started the movie librarian. The spin up will be overlapped by the the action of the user selecting the movie to watch. I have set a spin down of any disk after an hour of no activity
  6. I had done this a long long time ago (IIRC unraid 4). I never wrote anything on the unRaid system. I always did what I wanted using TCP/IP and GET . . . I have no idea how to include a csrf token, nor what one looks like. All I need is an example of using GET over TCP/IP. I am working with member hitch who is developing a container app to handle TCP/IP commands. That app works quite however here is a problem with the app that has been documented as a 6.8.x problem and is fixed in 6.9. The problem seems to be an inordinate number of accesses to the disk containing the container. As soon as 6.9 becomes a stable release I will move to it. I don't want to use the web and push the 'Spin up' button. My theater is controlled by an app I wrote. It controls devices such as the nVidia Shield, the Fire TV cube, a Dune HD Player and TiVo boxes. It has its own extensive movie/video librarian with all the content stored on the unRaid server. When I select the librarian to browse the library (prior to selecting the movie/video I want to watch) I would like to spin up all the disks on the unRaid server. This way the delay when selecting the movie to play and initiating the read from unRaid is significantly shortened (almost 0 ms) and makes for an improved experience. The disk spin up would be overlapped with the browsing of the library. I will try what you have suggested (emcmd) using Telnet, but I am much more comfortable using TCP/IP.
  7. So, could I add a small drive (cache drive ?) to hold the docker.img. I would not like it to be part of the array but I guess that shouldn't matter. The system has 1 100 GB drive that is not part of the array. I had used it as an alternate boot drive for Windows, but I never use it. It is inside the chassis instead of being in a swappable bay. How would I go about using that drive to hold the docker.img and perhaps appdata also?
  8. I am running on 6.8.3 and have been for several weeks. I also started to use containers. Problem: unRaid keeps two drives (parity + 1 data disk) spun up with a high volume of rites to that disk share docker/docker.img Even if I remove container capability (container settings disabled) and any containers I have installed the problem still exists. This can't be good for the life of the drives. There are no errors showing up Is this problem rectified in 6.9 or is there something I can do now on 6.8.3 to correct it?
  9. unRaid version=6.8.3; No cache drives/pool; no SSDs all HDDs, 10 drives + parity drive I have been an unraid user since about 2010. Recently I noticed I could not spin down one of my disks and the parity disk. In the past I was sure I was able to spin all disks down and they stayed down until accessed. To be precise they do spin down (using capabilities of the main gui page either by disk or using "spin Down" button) however they spin back up after a few seconds. The data disk and the parity disk are getting writes every few seconds. I had recently turned on docker and installed a container. To try and isolate the problem I have removed the container, turned off docker (marked disabled in docker settings) and rebooted the system. The problem still persists. I have traced it to a share named "system", containing a directory named "docker" which contains the file "docker.img" The size of the file does not seem to be changing (21.5 GB). I am concerned with the high amount of traffic to the two disks. Should I be concerned; maybe 500 accesses (writes) per hour? Is this a known Bug? is there a Fix? How can I resolve the continuing writes? I normally keep the array spun down but this seems to no longer be possible.
  10. I am getting periodic writes to a share on one of my disk drives. They occur every few seconds. The writes are to the file "docker.img" in the system share which only exists on one hard drive. The system share contains two directories (docker, libvirt) each directory contains one image (docker.img in the docker directory; libvirt.img in the libvirt directory. I have entered the "--no-healthcheck" for my one docker container to no avail. Any help greatly appreciated
  11. I just started using the docker system. What I noticed after installing my first docker container (App?) was that if I attempted to spin down my disks, one disk always came back up after about 2 seconds along with the parity drive. When I looked at that drive it had a share named "system" which I did not put there. No other drive has that share. The system share has a directory named "docker' and one named "libvirt". The docker directory contains the file "docker.img" and the libvirt directory contains the file libvirt.img. The docker.img file is getting updated constantly. In my docker settings its states that the docker vdisk location is: /mnt/user/system/docker/docker.img I am getting about 1000 writes per hour. The only activity to my unraid disks are these write. Here is a copy of my webgui main showing the high activity: docker8.bmp I have disabled the docker system in docker settings and stopped the docker container, but to no avail the activity (writes to the docker.img) keeps occurring.
  12. Limetech, Thanks for the reply. I have been a lime tech user for a very long time. I get uptimes measured in years, only going down for updates. I found emcmd script at /usr/local/emhttp/plugins/dynamix/scripts/. The script looks like: #!/usr/bin/php <?PHP require_once "/usr/local/emhttp/webGui/include/publish.php"; function emhttp_command($cmd) { $var = parse_ini_file("/var/local/emhttp/var.ini"); $cmd .= "&csrf_token={$var['csrf_token']}"; return curl_socket("/var/run/emhttpd.socket", "http://localhost/update", $cmd); } $result = emhttp_command($argv[1]); if ($result === "") exit(0); echo "$result".PHP_EOL; exit(1); ?> I am not at all conversant with PHP so I would not know where to start. A sample of the httpget command to properly (with the necessary csrf, and how to get the current csrf) access the spin states and/or spin up/down the drives would help me a great deal. I can see the csrf token in /var/local/emhttp/var .ini. TIA, Barry
  13. Hitch, welcome to the unraid community. I would be very interested in trying this. I am not at all familiar with Docker containers. Is there somewhere I can retrieve it from.? Not being familiar with docker containers I don't want to hold you up from the completion of the project. When do you expect to have it completed as an installable container perhaps as a Community applications.? I would like to see the source code so I know what is going on. If a donation would enable you to complete this more rapidly, let me know.
  14. It is now 2020 (almost 2021) and I am running on Unraid 6.8.3. Many years ago (unraid 4.x) I would send a TCP command to port 80 that looked like (without the clauses): GET /update.htm?cmdSpinupAll=Spin%20Up HTTP/1.1 ... (plus clauses) It returned a lot of web stuff but a status of 200 and the first thing in the body was "e81" which I assume is some sort of an error message. That command no longer works, the drives do not spin up. This thread describes alternate ways of doing this. Do the methods described in this thread still work? Would anyone be willing to write a plugin that would simply install the necessary scripts and set up such that I could send reasonable commands over TCP to the unraid IP at some port. I am a decent programmer but have no experience with C, Linux, Bash. I am 81 years old with little patience, but do enjoy coding . I rely on the unraid system for all my important storage and all my movies (MKV files) for my theater. The theater runs on a PC using a DuneHD movie files (.mkv) for rendering with a movie librarian I wrote and modeled after the Kelaidescape system. I have had Unraid system up times measured in years and do not wish to screw up the Unraid system. Security is not a major issue as the house is well protected and has almost nil access from the Internet.
  15. I am looking for a script that would monitor a TCP port and accept commands to spinup, spindown, or return status of a disk. The the minimum capability I need would be a command to spin up all the disks in the array. I could have them spin down after 4 hours of inactivity. The major use of the array is to feed my own home theater movie system. The delay when loading a movie bothers me and I would like to spin up the the array disks when I open the theater's movie librarian. It is my belief that if disks are generally not being used keeping them in a spun down state will increase their longevity Any help or advice would be greatly appreciated.
  16. I would be willing to pay a reasonable amount for a plugin as described above
  17. I would like to see a plugin that would enable simple array commands over TCP/IP to a specific port (not 80). I would envision the following minimum command set: SpinUp A; SpinDown A; SpinStatus A; where A is either a disk number or the word ALL. All of the commands would return immediately with no delay. The SpinUp and SpinDown commands should just return a body of "OK" , The SpinStatus command should return a body indicating the current state of the requested disk(s) as Up, Down, InProcess. The main capability I require is to be able to initiate a SpinUp of all disks using a command over TCP with no delay waiting for the disks to spin up. I have seen discussions of s capability like this circa 2008 but unraid 2020 is quite different than unraid 2008. The system can obviously do this as the main page has buttons and displays for this capability. A plugin like this would be quite useful for advanced media systems to eliminate delays inherent when dealing with disks that are normally spun down.
  18. Two reasons. 1) A read request does not return until the data has been read 2) I don't know until the user selects what movie to watch which disk needs to spin up. At that point I can just start reading the movie file
  19. I have an extensive home theater and all media (movies, TV shows) is on my unraid tower. The theater app runs on a small PC and has a movie browser that id very much like Kelaidescape. Most of the time I am just watching TV and not using the unraid repository. When I go to watch a movie, there is a significant delay since I normally keep all disks spun down. I would like to be able to send a command over the network (HTTP GET) to spin up all the disks not waiting for the disks to spin up. In general the ability to send commands that are simple buttons on the WEB GUI page would be greatly appreciated. I used to be able to do this with a command such as: GET /update.htm?cmdSpinupAll=Spin%20Up HTTP/1.1 plus the necessary http clauses
  20. Bump. There must be a way to spin drives up/down. using a command over TCP (HTTP, Telnet, ????). I know previous versions of Unraid have had that capability as I incorporated that capability using an HTTP GET in my home theater system. I generally have all the drives spun down, and I know of the option to spin down the drives after a time lapse. The WEB interface has the capability ("Spin up all" and "Spin down all" buttons). I send the following over TCP/IP: GET /update.htm?cmdSpinupAll=Spin%20Up HTTP/1.1 Host: 192.168.1.209 Connection: Keep-Alive Accept-Language: en-US Accept-Encoding: gzip, deflate I receive back a large web page which starts as: HTTP/1.1 200 OK Server: nginx Date: Mon, 30 Nov 2020 13:47:29 GMT Content-Type: text/html; charset=utf-8 Transfer-Encoding: chunked Connection: close Cache-Control: no-cache X-Frame-Options: SAMEORIGIN (blank Line) d55 <!DOCTYPE HTML> <html> <head> <meta name="robots" content="noindex, nofollow"> <style> @font-face{ font-family:'clear-sans';font-weight:normal;font-style:normal; src:url('/webGui/styles/clear-sans.eot');src:url('/webGui/styles/clear-sans.eot?#iefix') format('embedded-opentype'),url('/webGui/styles/clear-sans.woff') format('woff'),url('/webGui/styles/clear-sans.ttf') format('truetype'),url('/webGui/styles/clear-sans.svg#clear-sans') format('svg'); } @font-face{ font-family:'clear-sans';font-weight:bold;font-style:normal; src:url('/webGui/styles/clear-sans-bold.eot');src:url('/webGui/styles/clear-sans-bold.eot?#iefix') format('embedded-opentype'),url('/webGui/styles/clear-sans-bold.woff') format('woff'),url('/webGui/styles/clear-sans-bold.ttf') format('truetype'),url('/webGui/styles/clear-sans-bold.svg#clear-sans-bold') format('svg'); } @font-face{ font-family:'clear-sans';font-weight:normal;font-style:italic; src:url('/webGui/styles/clear-sans-italic.eot');src:url('/webGui/styles/clear-sans-italic.eot?#iefix') format('embedded-opentype'),url('/webGui/styles/clear-sans-italic.woff') format('woff'),url('/webGui/styles/clear-sans-italic.ttf') format('truetype'),url('/webGui/styles/clear-sans-italic.svg#clear-sans-italic') format('svg'); } @font-face{ font-family:'clear-sans';font-weight:bold;font-style:italic; src:url('/webGui/styles/clear-sans-bold-italic.eot');src:url('/webGui/styles/clear-sans-bold-italic.eot?#iefix') format('embedded-opentype'),url('/webGui/styles/clear-sans-bold-italic.woff') format('woff'),url('/webGui/styles/clear-sans-bold-italic.ttf') format('truetype'),url('/webGui/styles/clear-sans-bold-italic.svg#clear-sans-bold-italic') format('svg'); } @font-face{ font-family:'bitstream';font-weight:normal;font-style:normal; src:url('/webGui/styles/bitstream.eot');src:url('/webGui/styles/bitstream.eot?#iefix') format('embedded-opentype'),url('/webGui/styles/bitstream.woff') format('woff'),url('/webGui/styles/bitstream.ttf') format('truetype'),url('/webGui/styles/bitstream.svg#bitstream') format('svg'); } html{font-family:clear-sans;font-size:62.5%;height:100%} body{font-size:1.3rem;color:#1c1c1c;background:#f2f2f2;padding:0;margin:0;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale} .logLine{font-family:bitstream;font-size:1.2rem;margin:0 8px;padding:0} .logLine.spacing{margin:10px;} </style> <script> parent.document.getElementById('progressFrame').style.zIndex = 10; origin = parent.location.origin; search = parent.location.search; function replaceName(name) { var x = search.indexOf("name="); if (x) search = search.substring(0,x+5) + name; } function replaceOrigin(new_origin,new_port) { if (parent.location.hostname == "localhost") origin = parent.location.protocol + "//" + parent.location.hostname + ":" + new_port; else origin = new_origin; } function addLog(logLine) { document.body.innerHTML += logLine; window.scrollTo(0,document.body.scrollHeight); } function disablePage() { for (var i=0,element; element=top.document.querySelectorAll('input,button,select'); i++) element.disabled = true; for (var i=0,link; link=top.document.getElementsByTagName('a'); i++) link.style.color = "gray"; //fake disable } function enablePage() { parent.location.assign(origin + parent.location.pathname + search); } disablePage(); </script> </head> <body class="logLine" onload="enablePage();"></body> </html> Can somebody please help me?
  21. I would like to directly send a command to the array to spin down or spin up the disks prior to accessing them. I would like to do this over TCP/IP using either HTTP or Telnet. is this possible, and if so where can i find information on the sequence to use?
  22. In my home theater all my movies are kept on my unraid NAS. To speed up a load of a particular movie, I would like to be able to spin up (or spin down) all of the disks on my unraid system using TCP/IP. Is there a TCP sequence I can use to do that?. I know I did this many years ago, using a command like the following sent to port 80: GET /update.htm?cmdSpinupAll=Spin%20Up HTTP/1.1 Host: 192.168.1.209 Connection: Keep-Alive Accept-Language: en-US Accept-Encoding: gzip, deflate (blank Line) (blank Line) What is the proper method with the current Unraid version and what should I expect as a reply
  23. That explains it. I will be upgrading to the PRO license after the rebuild is finished but before I start doing the RSF to XSF just to give me breathing room. Thanks