Therefore, using an Ethernet connection between the Pi and your router is a must. Plus, you want to drop your source video files from your computer to the SSD fast. s "backup:/share/backup:rw:seannguyen" ConnectivityĮven though the Pi is capable of using wifi, but video streaming is a very bandwidth demanding task, especially when you stream 4k videos to multiple devices at your home. I used docker to run a samba implementation, one decent image that supports ARM is like below: docker run -d -name samba -restart unless-stopped \ I couldn’t really tell what is the issue from its logs so I decided to connect the SSD directly to my Pi and run the NAS from my Pi instead. However, my router kept hanging when I use the built-in NAS function after a period of usage, I use the Asus AC88U which is a very capable router. By doing this I can drop files easily to this storage and the Pi also can connect to this NAS without any problem. I did have a spare 256GB SSD lying around unused so I swapped it with the HDD for a much better IO performance, but HDD should do the trick you only have HDD at your disposal.Īt first, I connected this SSD to my router and then used the built-in NAS function of the router on top of this drive. ![]() The first thing that came to mind was to use the same HDD that stores movies, which solve the problem. So, I had to place these folders on external storage. As this is temp data and will be removed anyway after you finish watching a movie, I did think of using `tmpfs` (file system but only sit on RAM) for this transcoding folder, however, this is not feasible due to the large size of the transcoded videos and cannot fit in the tiny 1GB memory of the Pi. The heaviest disk IO operation is the transcoding of video. Due to this behavior, the SD Card that came with the Pi simply couldn’t keep up, overheated and paused randomly middle of a heavy write sometimes. ![]() These data can be metadata, caches, and transcoded video data. Later down the road, I realized that Plex is a heavy storage usage application that reads and writes to the persistent layer at high frequency. For the storage, in the beginning, I used a 1TB Seagate HDD as the home for all of my movies and TV Shows.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |