barrygordon

Members
  • Posts

    524
  • Joined

  • Last visited

About barrygordon

  • Birthday 10/01/1939

Converted

  • Gender
    Male
  • URL
    http://www.the-gordons.net
  • Location
    Merritt Island FL

Recent Profile Visitors

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

barrygordon's Achievements

Enthusiast

Enthusiast (6/14)

4

Reputation

  1. 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.
  2. 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
  3. 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.
  4. 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
  5. 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.
  6. 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?
  7. 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?
  8. 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.
  9. 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
  10. 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.
  11. 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
  12. 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.
  13. 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.
  14. 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.