Jump to content

mgutt

Members
  • Content Count

    472
  • Joined

  • Last visited

  • Days Won

    5

mgutt last won the day on October 24

mgutt had the most liked content!

Community Reputation

97 Good

1 Follower

About mgutt

  • Rank
    Advanced Member

Converted

  • Gender
    Male
  • URL
    https://gutt.it
  • Location
    Germany, NRW

Recent Profile Visitors

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

  1. Really strange. "read/write" should be something like "disk1". How did you manage that, that your disk array contains a disk with the name "read/write"?! I think this should be fixed when you select / unselect some of your "included disks" in the share settings for "Music FLAC" and hit the APPLY button.
  2. Does not really sound easier. At the moment I install it by URL:
  3. Mit welchem Befehl hast du den Server in den Ruhezustand geschickt? Hast du im BIOS und über das WebTerminal geprüft, dass WoL aktiv ist? Hier sind ein paar Tipps wie man WoL testen kann: https://wiki.unraid.net/Setup_Sleep_(S3)_and_Wake_on_Lan_(WOL) Wegen dem automatischen Herunter- und Hochfahren kämen mir diese Lösungen in den Sinn: Skript + BIOS Power On By RTC Man lässt jede Nacht um 2 Uhr ein Skript starten, das alle 5 Minuten prüft ob alle Festplatten schlafen und wenn ja, wird der Server heruntergefahren. Im BIOS stellt man dann bei Power On By RTC einfach ein, dass er den Rechner täglich um 7 Uhr einschalten soll. Skript + smarte Steckdose + BIOS Power On @ Power Loss Wie zuvor lässt man das Skript den Server herunterfahren. Im BIOS muss bei Power Loss die Option "Power On" gewählt werden. Dh sobald das Board wieder Strom bekommt, fährt es automatisch hoch. Das erledigen dann zwei simple Regeln der smarten Steckdose: A) wenn der aktuelle Verbrauch unter 3W liegt (oder was auch immer der Server im abgeschalteten Zustand verbraucht), Steckdose abschalten und B) um 7 Uhr Steckdose einschalten
  4. Hast du mal in der Fritz!Box geschaut ob die VMs, denen du eine feste IP zugeordnet hast, wirklich die Mac-Adressen der VM verwenden und nicht die vom Unraid Server?
  5. This should not help. The script sorts by file modification time and not the year in the filename (that was the idea I mentioned in my last post) All files, renamed by this bulk renamer tool, will probably receive a newer file modification time and so pushed to the top of the preloading list.
  6. This should be possible. Maybe I could also add an option which allows sorting by the year which is inside the parent folder name like "2004" in "/Lost (2004)/S01E01.mkv". But by that recently added content which has an old airing date, won't be cached.
  7. Schau in den App Store vom Panasonic. Jellyfin, Emby oder Plex verfügbar? Dann würde ich eines davon nehmen. Für DLNA geht auch Plex, da Plex zusätzlich alle Filme nach Genre, Titel usw in getrennten DLNA-Ordnern verfügbar machen kann. Ich sage dir aber gleich, dass DLNA fast immer wegen Codecs nervt. Musst du einfach mal ausprobieren. Plex, Emby und Jellyfin sind alle gleich "mächtig". Plex gilt am komfortabelsten. Wenn DLNA doof ist und die anderen nicht erwünscht, bleibt noch Kodi auf einem Android Stick / Box deiner Wahl. Viele packen per Sideload Kodi auf einen Amazon Fire Stick. In dem Fall wird gar keine Software auf dem Server installiert, sondern Kodi greift auf die Filme über SMB zu. Ich persönlich mag Kodi gar nicht, weil die Einrichtung nervt und es irre aufwendig ist das so eingerichtet zu bekommen, dass man mal eben eine Serie auf dem Smartphone weiter schauen kann.
  8. This error is not important, but of course I will try to fix this. Preloading is done only to available / free RAM. You can't see or measure the preloaded data. If you re-execute the script you should get a notification with the amount of files that were cached / skipped. If all files were skipped, you can be sure that the preloading works. Which HDDs are you using? This completely depends on the spinup speed. It seems your HDDs are a little bit slow in spinup compared to mine. The slowest HDDs I know of (in spin up) are Ironwolfs (those hated WD SMR drives are freaking fast): I made this test by spinning down the HDD and copying a 500MB file through Teracopy (Windows) to the HDD. Teracopy finally shows the transfer time which is a good value to compare the latency. Important: You need to wait 1 to 2 minutes after a spindown or the HDD is still spinning on your next test = spins up faster than usual.
  9. Overflow is only valid for Shared Paths. A Direct Path (/mnt/cache) does not overflow to the array. This means, if the cache becomes full and you use /mnt/cache, the Plex Container will produce errors, because it is out of storage. That is the reason why I suggest in my guide to set "Min. free space" in your Global Share Settings. Example: 1TB SSD cache /mnt/cache is your SSD /mnt/disk1 is your array /mnt/user/Movies uses disk1 and uses the cache setting "yes" Scenario 1 Plex appdata is set to /mnt/user/... You upload more than 1TB of movies to your server. After occupying 1TB of your SSD, further movie files are written to the array. As the SSD is full, Plex writes to the array Scenario 2 Plex appdata is set to /mnt/cache... You upload more than 1TB of movies to your server. After occupying 1TB of your SSD, further movie files are written to the array. As the SSD is full, Plex produces errors Scenario 3 You set 100GB Min. Free Space Plex appdata is set to /mnt/cache... You upload more than 1TB of movies to your server. After occupying 900GB of your SSD, further movie files are written to the array. As there are still 100GB left, Plex works as usual
  10. This is the WebGUI of my backup NAS: As you can see it claims all disks are sleeping. But that's not true: smartctl -n standby -i /dev/sdb smartctl -n standby -i /dev/sdc smartctl -n standby -i /dev/sdd smartctl -n standby -i /dev/sdf smartctl -n standby -i /dev/sdg smartctl -n standby -i /dev/sdh They return all: Power mode is: ACTIVE or IDLE "/dev/sde" (the SSD) is the only sleeping disk: smartctl -n standby -i /dev/sde smartctl 7.1 2019-12-30 r5022 [x86_64-linux-4.19.107-Unraid] (local build) Copyright (C) 2002-19, Bruce Allen, Christian Franke, www.smartmontools.org Device is in STANDBY mode, exit(2) Only for testing I executed this command: mdcmd spindown 1 Now disk 1 sleeps: smartctl -n standby -i /dev/sdh smartctl 7.1 2019-12-30 r5022 [x86_64-linux-4.19.107-Unraid] (local build) Copyright (C) 2002-19, Bruce Allen, Christian Franke, www.smartmontools.org Device is in STANDBY mode, exit(2) Spin down delay is set to 30 minutes: Fun fact: It worked for 2 weeks without problems until I: - opened this page: http://tower/Tools/SysDevs - then this page: http://tower/Tools/HardwareProfile - clicked on "Show Details", which spun up the disks - this took a little bit long, so I opened http://tower/Main - again http://tower/Tools/HardwareProfile - again clicked on "Show Details" and now I was able to see hardware informations - as it did not contain the brand of my RAM I executed "dmidecode -t memory", which did not display the brand name, but I found now the RAM part number - I closed the WebGUI and that's it It seems that clicking on "Show Details" killed the Cronjob to check the status of the disks?!
  11. @T0a Consider using powertop or my script: Reason: https://www.reddit.com/r/homelab/comments/cvs8ue/my_7_watt_homelab/ Thanks to @Miidnight
  12. Check command exists: https://stackoverflow.com/a/33297950/318765 Check library exists: https://serverfault.com/a/513938/44086
  13. No, because we still aren't able to control which data is moved to the swap. And finally I think its isolated from the host system (where Plex is reading the data from). This is the explanation when Linux writes to Swap: https://tldp.org/LDP/tlk/mm/memory.html 1.) This refers only to used RAM. But the script does not use RAM. It uses only the Buffer Cache (available or "free" RAM). And those data is never written to the Swap. 2.) The only solution to really reserve the RAM by preloading a file would be vmtouch. But I don't know how to force Linux to move this reserved data to the Swap 3.) Someone mentioned, that cgroups are a solution to have isolated settings for a specfic process. This means it seems to be possible to set for example "100MB" RAM for the process "vmtouch" and after it exceeds this value it should write to swap (theoretically). But I was not able to find the right commands to test this scenario. 4.) I was able to install vmtouch, but it does not work very well. Sometimes it does not output the cached data and sometimes the locking daemon process crashes. I would say its not reliable under Slackware which is a huge problem for this project as its the only tool (I know of) which is able to lock data in the RAM.
  14. @diggforbeer @dada051 I still was not able to find a solution to move files, that are cached in the RAM to the swap partition/file. This website claims the Swap is used if the RAM is full, but I was not able to provoke writing directly to the Swap. As long this is not possible, we can not use a SSD