{"id":2020,"date":"2020-08-25T19:29:10","date_gmt":"2020-08-25T23:29:10","guid":{"rendered":"http:\/\/matthannan.net\/blog\/?p=2020"},"modified":"2020-08-25T19:38:28","modified_gmt":"2020-08-25T23:38:28","slug":"how-to-setup-raspberry-pi-nfs-server","status":"publish","type":"post","link":"https:\/\/matthannan.net\/blog\/how-to-setup-raspberry-pi-nfs-server\/","title":{"rendered":"How to Setup Raspberry Pi NFS Server"},"content":{"rendered":"<blockquote>\n<p>Setup your own network attached storage.<\/p>\n<\/blockquote>\n<p>Source: <em><a href=\"https:\/\/pimylifeup.com\/raspberry-pi-nfs\/\">How to Setup Raspberry Pi NFS Server<\/a><\/em><\/p>\n<p>Everything old is new again! But smaller.<\/p>\n<p>Getting <a href=\"https:\/\/kodi.tv\/\" target=\"_blank\" rel=\"noopener noreferrer\">Kodi<\/a>\/<a href=\"https:\/\/www.dlna.org\/\" target=\"_blank\" rel=\"noopener noreferrer\">DLNA<\/a> to work with the Roku was a non-starter, and, amazingly, the following morning Jenny asked me how to get podcasts on the <a href=\"https:\/\/www.roku.com\/\" target=\"_blank\" rel=\"noopener noreferrer\">Roku<\/a>. This is, seriously, a massive gap in the Roku landscape. Sure, <a href=\"https:\/\/support.spotify.com\/us\/article\/download-music-podcasts\/\" target=\"_blank\" rel=\"noopener noreferrer\">Spotify<\/a> and a few others have their podcast option tucked away in the corner of their flagship app, but there is no &#8220;This is THE podcast player&#8221; for Roku. I think this is a missed opportunity.<\/p>\n<p>But, after looking around, I found a guy saying the same thing, but that his #1 choice for this simple task is the 500# gorilla called <a href=\"https:\/\/www.plex.tv\/\" target=\"_blank\" rel=\"noopener noreferrer\">Plex<\/a>. Yes, that same <a href=\"https:\/\/matthannan.net\/blog\/home-movies\/\" target=\"_blank\" rel=\"noopener noreferrer\">Plex<\/a>. And you know what? It addresses the Kodi\/MLNA issue, too.<\/p>\n<p><span class=\"embed-youtube\" style=\"text-align:center; display: block;\"><iframe loading=\"lazy\" class=\"youtube-player\" width=\"640\" height=\"360\" src=\"https:\/\/www.youtube.com\/embed\/qJ9_NBhkzBI?version=3&#038;rel=1&#038;showsearch=0&#038;showinfo=1&#038;iv_load_policy=1&#038;fs=1&#038;hl=en-US&#038;autohide=2&#038;wmode=transparent\" allowfullscreen=\"true\" style=\"border:0;\" sandbox=\"allow-scripts allow-same-origin allow-popups allow-presentation allow-popups-to-escape-sandbox\"><\/iframe><\/span><\/p>\n<p>So I set about following <a href=\"https:\/\/pimylifeup.com\/raspberry-pi-plex-server\/\" target=\"_blank\" rel=\"noopener noreferrer\">this HOWTO<\/a> to get Plex Server running on the Pi that is currently running Kodi. This quickly brought me to the realization that this should really be done with NFS shares, rather than SMB, as SMB is less efficient. When dealing with these little devices, small saves are big gains. And this is why this blog post is about NFS, and not Plex!<\/p>\n\n\n<p>I tried following the same site&#8217;s NFS client setup, but something wasn&#8217;t working. I eventually found <a rel=\"noreferrer noopener\" href=\"https:\/\/www.htpcguides.com\/configure-nfs-server-and-nfs-client-raspberry-pi\/\" target=\"_blank\">this guy&#8217;s page<\/a> and his client directions worked a treat. Between the two, I eventually had the shares mounted and started populating the Plex database.<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img data-recalc-dims=\"1\" loading=\"lazy\" decoding=\"async\" width=\"640\" height=\"346\" data-attachment-id=\"2024\" data-permalink=\"https:\/\/matthannan.net\/blog\/how-to-setup-raspberry-pi-nfs-server\/plex\/\" data-orig-file=\"https:\/\/i0.wp.com\/matthannan.net\/blog\/wp-content\/uploads\/2020\/08\/Plex.png?fit=1149%2C621&amp;ssl=1\" data-orig-size=\"1149,621\" data-comments-opened=\"1\" data-image-meta=\"{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;,&quot;orientation&quot;:&quot;0&quot;}\" data-image-title=\"Plex\" data-image-description=\"\" data-image-caption=\"\" data-large-file=\"https:\/\/i0.wp.com\/matthannan.net\/blog\/wp-content\/uploads\/2020\/08\/Plex.png?fit=640%2C346&amp;ssl=1\" src=\"https:\/\/i0.wp.com\/matthannan.net\/blog\/wp-content\/uploads\/2020\/08\/Plex.png?resize=640%2C346&#038;ssl=1\" alt=\"\" class=\"wp-image-2024\" srcset=\"https:\/\/i0.wp.com\/matthannan.net\/blog\/wp-content\/uploads\/2020\/08\/Plex.png?resize=1024%2C553&amp;ssl=1 1024w, https:\/\/i0.wp.com\/matthannan.net\/blog\/wp-content\/uploads\/2020\/08\/Plex.png?resize=300%2C162&amp;ssl=1 300w, https:\/\/i0.wp.com\/matthannan.net\/blog\/wp-content\/uploads\/2020\/08\/Plex.png?resize=768%2C415&amp;ssl=1 768w, https:\/\/i0.wp.com\/matthannan.net\/blog\/wp-content\/uploads\/2020\/08\/Plex.png?w=1149&amp;ssl=1 1149w\" sizes=\"auto, (max-width: 640px) 100vw, 640px\" \/><\/figure>\n\n\n\n<p>If you follow that flow, Pi #2, at right, mounts the shares from the external hard drive connected to Pi #1, at left. When the Roku wants to access the Plex server, which is Pi #2, it is really pulling the file from the Pi #1. Pi #1 does not seem to mind the added extra stress of passing the file to Pi #2. Pi #2 is doing the grunt work of transcoding and database management. Pretty cool! I tested it out earlier with a small video that I keep on hand and it played with not a single hiccup.<\/p>\n\n\n\n<figure class=\"wp-block-embed-youtube wp-block-embed is-type-video is-provider-youtube wp-embed-aspect-16-9 wp-has-aspect-ratio\"><div class=\"wp-block-embed__wrapper\">\n<span class=\"embed-youtube\" style=\"text-align:center; display: block;\"><iframe loading=\"lazy\" class=\"youtube-player\" width=\"640\" height=\"360\" src=\"https:\/\/www.youtube.com\/embed\/7muX9hIZZGQ?version=3&#038;rel=1&#038;showsearch=0&#038;showinfo=1&#038;iv_load_policy=1&#038;fs=1&#038;hl=en-US&#038;autohide=2&#038;wmode=transparent\" allowfullscreen=\"true\" style=\"border:0;\" sandbox=\"allow-scripts allow-same-origin allow-popups allow-presentation allow-popups-to-escape-sandbox\"><\/iframe><\/span>\n<\/div><\/figure>\n\n\n\n<p> And, I added a bunch of podcasts, with Jenny present, so that she could see how it works on the Roku. She doesn&#8217;t love Raspberry Pis as much as I do.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Setup your own network attached storage. Source: How to Setup Raspberry Pi NFS Server Everything old is new again! But smaller. Getting Kodi\/DLNA to work with the Roku was a non-starter, and, amazingly, the following morning Jenny asked me how &hellip; <a href=\"https:\/\/matthannan.net\/blog\/how-to-setup-raspberry-pi-nfs-server\/\">Continue reading <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"advanced_seo_description":"","jetpack_seo_html_title":"","jetpack_seo_noindex":false,"jetpack_post_was_ever_published":false,"_jetpack_newsletter_access":"","_jetpack_dont_email_post_to_subs":false,"_jetpack_newsletter_tier_id":0,"_jetpack_memberships_contains_paywalled_content":false,"_jetpack_memberships_contains_paid_content":false,"footnotes":""},"categories":[5],"tags":[519,520,98,515,518,226,448,516,517],"class_list":["post-2020","post","type-post","status-publish","format-standard","hentry","category-geek","tag-500-gorilla","tag-dlna","tag-jenny","tag-kodi","tag-nfs","tag-plex","tag-raspberry-pi","tag-roku","tag-smb"],"jetpack_featured_media_url":"","jetpack_shortlink":"https:\/\/wp.me\/p2NxlE-wA","jetpack_sharing_enabled":true,"jetpack_likes_enabled":true,"jetpack-related-posts":[{"id":2014,"url":"https:\/\/matthannan.net\/blog\/how-to-connect-to-smb-shares-from-iphone-ipad-with-files-app\/","url_meta":{"origin":2020,"position":0},"title":"How to Connect to SMB Shares from iPhone &#038; iPad with Files App","author":"matthannan","date":"22 August 2020","format":false,"excerpt":"Have you ever wished you could connect to an SMB share from an iPhone or iPad? If you work with file servers, be it for work or pleasure, you\u2019ll be excited to learn that connecting to SMB sha\u2026 Source: How to Connect to SMB Shares from iPhone & iPad with\u2026","rel":"","context":"In &quot;Geek&quot;","block_context":{"text":"Geek","link":"https:\/\/matthannan.net\/blog\/category\/geek\/"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":2120,"url":"https:\/\/matthannan.net\/blog\/running-plex-on-an-atomic-pi-a-follow-up\/","url_meta":{"origin":2020,"position":1},"title":"Running Plex on an Atomic Pi: a follow-up","author":"matthannan","date":"16 November 2020","format":false,"excerpt":"I was thinking about a post to tell you about how the new Atomic Pi Plex server was working out. Splendidly, thanks for asking. But we did have an issue this evening that I was afraid would eventually pop up. The Atomic Pi has been entirely stable. No issues at\u2026","rel":"","context":"In &quot;Geek&quot;","block_context":{"text":"Geek","link":"https:\/\/matthannan.net\/blog\/category\/geek\/"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":2086,"url":"https:\/\/matthannan.net\/blog\/revisiting-plex-and-nfs\/","url_meta":{"origin":2020,"position":2},"title":"Revisiting Plex and NFS","author":"matthannan","date":"22 October 2020","format":false,"excerpt":"The Raspberry Pi 3B is just a bit too weak to provide quick transcoding of HD files. But it has been working great for photos, podcasts, and music. I have long wanted to get the Atomic Pi back in the mix. For too long now, it has been sitting on\u2026","rel":"","context":"In &quot;Geek&quot;","block_context":{"text":"Geek","link":"https:\/\/matthannan.net\/blog\/category\/geek\/"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":2618,"url":"https:\/\/matthannan.net\/blog\/further-adventures-with-music-on-raspberry-pi\/","url_meta":{"origin":2020,"position":3},"title":"Further Adventures with Music on Raspberry Pi","author":"matthannan","date":"11 June 2023","format":false,"excerpt":"I have a Raspberry Pi 3B (not the Plus version) with a HiFiBerry Digi+ DAC HAT attached. This is connected to my old school Sony receiver via TOSLINK fiber. I also have a 10.1\" touchscreen attached. The goal of all of this was to build a digital jukebox to play\u2026","rel":"","context":"In &quot;Geek&quot;","block_context":{"text":"Geek","link":"https:\/\/matthannan.net\/blog\/category\/geek\/"},"img":{"alt_text":"","src":"https:\/\/i0.wp.com\/matthannan.net\/blog\/wp-content\/uploads\/2023\/06\/HA_page1c.png?resize=350%2C200","width":350,"height":200,"srcset":"https:\/\/i0.wp.com\/matthannan.net\/blog\/wp-content\/uploads\/2023\/06\/HA_page1c.png?resize=350%2C200 1x, https:\/\/i0.wp.com\/matthannan.net\/blog\/wp-content\/uploads\/2023\/06\/HA_page1c.png?resize=525%2C300 1.5x, https:\/\/i0.wp.com\/matthannan.net\/blog\/wp-content\/uploads\/2023\/06\/HA_page1c.png?resize=700%2C400 2x, https:\/\/i0.wp.com\/matthannan.net\/blog\/wp-content\/uploads\/2023\/06\/HA_page1c.png?resize=1050%2C600 3x, https:\/\/i0.wp.com\/matthannan.net\/blog\/wp-content\/uploads\/2023\/06\/HA_page1c.png?resize=1400%2C800 4x"},"classes":[]},{"id":2153,"url":"https:\/\/matthannan.net\/blog\/pi4-nas\/","url_meta":{"origin":2020,"position":4},"title":"Pi4 NAS","author":"matthannan","date":"4 December 2020","format":false,"excerpt":"I just bought a 4GB Pi4B kit!I went with\u00a0a Labists kit\u00a0this time, rather than the standard CanaKit. I recently discovered that I had \"earned\" a $50 Amazon gift card on one of the HR sites at work, so that came in wicked handy. I like the case in this Labists\u2026","rel":"","context":"In &quot;Geek&quot;","block_context":{"text":"Geek","link":"https:\/\/matthannan.net\/blog\/category\/geek\/"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":1814,"url":"https:\/\/matthannan.net\/blog\/build-a-raspberry-pi-webcam-server-in-minutes\/","url_meta":{"origin":2020,"position":5},"title":"Build a Raspberry Pi Webcam Server in Minutes","author":"matthannan","date":"9 May 2020","format":false,"excerpt":"I have this up and running with the official Pi NoIR v2.1 camera module. I purchased it from these guys, as Bezos has enough money already. This camera will soon be moved to the basement Pi to try and revive the OpenCV oil tank monitor project. That will free up\u2026","rel":"","context":"In &quot;Geek&quot;","block_context":{"text":"Geek","link":"https:\/\/matthannan.net\/blog\/category\/geek\/"},"img":{"alt_text":"","src":"https:\/\/i0.wp.com\/matthannan.net\/blog\/wp-content\/uploads\/2020\/05\/noIR.png?resize=350%2C200","width":350,"height":200,"srcset":"https:\/\/i0.wp.com\/matthannan.net\/blog\/wp-content\/uploads\/2020\/05\/noIR.png?resize=350%2C200 1x, https:\/\/i0.wp.com\/matthannan.net\/blog\/wp-content\/uploads\/2020\/05\/noIR.png?resize=525%2C300 1.5x"},"classes":[]}],"_links":{"self":[{"href":"https:\/\/matthannan.net\/blog\/wp-json\/wp\/v2\/posts\/2020","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/matthannan.net\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/matthannan.net\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/matthannan.net\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/matthannan.net\/blog\/wp-json\/wp\/v2\/comments?post=2020"}],"version-history":[{"count":3,"href":"https:\/\/matthannan.net\/blog\/wp-json\/wp\/v2\/posts\/2020\/revisions"}],"predecessor-version":[{"id":2025,"href":"https:\/\/matthannan.net\/blog\/wp-json\/wp\/v2\/posts\/2020\/revisions\/2025"}],"wp:attachment":[{"href":"https:\/\/matthannan.net\/blog\/wp-json\/wp\/v2\/media?parent=2020"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/matthannan.net\/blog\/wp-json\/wp\/v2\/categories?post=2020"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/matthannan.net\/blog\/wp-json\/wp\/v2\/tags?post=2020"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}