Page 1 of 3 123 LastLast
Results 1 to 16 of 48

Thread: HTPC(kodi) + NAS(hardware raid)

  1. #1
    Registered+
    Join Date
    Oct 2015
    Posts
    53
    Thanks
    5
    Thanked
    0 times in 0 posts

    HTPC(kodi) + NAS(hardware raid)

    My NAS will have to be sitting in the living room, therefore I am planning to install Kodi on that as well, so it can provide more than just one function. Can I do with it something else?

    As a NAS I am planning to start with software RAID in the future buy hardware RAID like LSI9260 i8. It is going to be RAID 6 setup.

    This is how I imagine it: http://uk.pcpartpicker.com/p/WZVKJx

    and this case (has to be 20cm or smaller to fit on shelf) so it will present itself nicely next to the TV.: http://www.silverstonetek.com/legacy...=en&model=lc20

    I am planning to use 2.5" HDD to keep noise to minimum, I know they are 10% less efficient than the WD red but the low noise is a key (otherwise girlfriend will get angry).

    Intel Celeron G1840 2.8GHz down clocked to 2,5GHz (to assure lower temperature), I am not sure how it is working but I do not think that most of the software is using quad cores or even octa cores processors fully.

    If not PSU which I did provided in specs maybe this: Seasonic S12-II 520W 80+ Bronze

    And two slow fans to keep, at least, any airflow.

  2. #2
    Anthropomorphic Personification shaithis's Avatar
    Join Date
    Apr 2004
    Location
    The Last Aerie
    Posts
    10,857
    Thanks
    645
    Thanked
    872 times in 736 posts
    • shaithis's system
      • Motherboard:
      • Asus P8Z77 WS
      • CPU:
      • i7 3770k @ 4.5GHz
      • Memory:
      • 32GB HyperX 1866
      • Storage:
      • Lots!
      • Graphics card(s):
      • Sapphire Fury X
      • PSU:
      • Corsair HX850
      • Case:
      • Corsair 600T (White)
      • Operating System:
      • Windows 10 x64
      • Monitor(s):
      • 2 x Dell 3007
      • Internet:
      • Zen 80Mb Fibre

    Re: HTPC(kodi) + NAS(hardware raid)

    Not a fan of Kodi TBH. I tried using it but immediately gravitated back to Emby. The new version of Emby Theatre makes it a no-brainer as well.

    The only downside is that you do have to pay for some of Embys functionality.
    Main PC: Asus Rampage IV Extreme / 3960X@4.5GHz / Antec H1200 Pro / 32GB DDR3-1866 Quad Channel / Sapphire Fury X / Areca 1680 / 850W EVGA SuperNOVA Gold 2 / Corsair 600T / 2x Dell 3007 / 4 x 250GB SSD + 2 x 80GB SSD / 4 x 1TB HDD (RAID 10) / Windows 10 Pro, Yosemite & Ubuntu
    HTPC: AsRock Z77 Pro 4 / 3770K@4.2GHz / 24GB / GTX 1080 / SST-LC20 / Antec TP-550 / Hisense 65k5510 4K TV / HTC Vive / 2 x 240GB SSD + 12TB HDD Space / Race Seat / Logitech G29 / Win 10 Pro
    HTPC2: Asus AM1I-A / 5150 / 4GB / Corsair Force 3 240GB / Silverstone SST-ML05B + ST30SF / Samsung UE60H6200 TV / Windows 10 Pro
    Spare/Loaner: Gigabyte EX58-UD5 / i950 / 12GB / HD7870 / Corsair 300R / Silverpower 700W modular
    NAS 1: HP N40L / 12GB ECC RAM / 2 x 3TB Arrays || NAS 2: Dell PowerEdge T110 II / 24GB ECC RAM / 2 x 3TB Hybrid arrays || Network:Buffalo WZR-1166DHP w/DD-WRT + HP ProCurve 1800-24G
    Laptop: Dell Precision 5510 Printer: HP CP1515n || Phone: Huawei P30 || Other: Samsung Galaxy Tab 4 Pro 10.1 CM14 / Playstation 4 + G29 + 2TB Hybrid drive

  3. #3
    Registered+
    Join Date
    Oct 2015
    Posts
    53
    Thanks
    5
    Thanked
    0 times in 0 posts

    Re: HTPC(kodi) + NAS(hardware raid)

    I am already using kodi, but I would like to have backup NAS for my other devices as well. It would be great if I would be able to fit everything in one box.
    I just do not know how it will looks like from the software point of view, what do I need to install to assure data exchange between remote devices and kodi on board.

  4. #4
    Anthropomorphic Personification shaithis's Avatar
    Join Date
    Apr 2004
    Location
    The Last Aerie
    Posts
    10,857
    Thanks
    645
    Thanked
    872 times in 736 posts
    • shaithis's system
      • Motherboard:
      • Asus P8Z77 WS
      • CPU:
      • i7 3770k @ 4.5GHz
      • Memory:
      • 32GB HyperX 1866
      • Storage:
      • Lots!
      • Graphics card(s):
      • Sapphire Fury X
      • PSU:
      • Corsair HX850
      • Case:
      • Corsair 600T (White)
      • Operating System:
      • Windows 10 x64
      • Monitor(s):
      • 2 x Dell 3007
      • Internet:
      • Zen 80Mb Fibre

    Re: HTPC(kodi) + NAS(hardware raid)

    This is why I said Emby.

    It provides external streaming,, with no changes needed to router etc....It does it all via a cloud service and a connection between your media library and the cloud service.
    Main PC: Asus Rampage IV Extreme / 3960X@4.5GHz / Antec H1200 Pro / 32GB DDR3-1866 Quad Channel / Sapphire Fury X / Areca 1680 / 850W EVGA SuperNOVA Gold 2 / Corsair 600T / 2x Dell 3007 / 4 x 250GB SSD + 2 x 80GB SSD / 4 x 1TB HDD (RAID 10) / Windows 10 Pro, Yosemite & Ubuntu
    HTPC: AsRock Z77 Pro 4 / 3770K@4.2GHz / 24GB / GTX 1080 / SST-LC20 / Antec TP-550 / Hisense 65k5510 4K TV / HTC Vive / 2 x 240GB SSD + 12TB HDD Space / Race Seat / Logitech G29 / Win 10 Pro
    HTPC2: Asus AM1I-A / 5150 / 4GB / Corsair Force 3 240GB / Silverstone SST-ML05B + ST30SF / Samsung UE60H6200 TV / Windows 10 Pro
    Spare/Loaner: Gigabyte EX58-UD5 / i950 / 12GB / HD7870 / Corsair 300R / Silverpower 700W modular
    NAS 1: HP N40L / 12GB ECC RAM / 2 x 3TB Arrays || NAS 2: Dell PowerEdge T110 II / 24GB ECC RAM / 2 x 3TB Hybrid arrays || Network:Buffalo WZR-1166DHP w/DD-WRT + HP ProCurve 1800-24G
    Laptop: Dell Precision 5510 Printer: HP CP1515n || Phone: Huawei P30 || Other: Samsung Galaxy Tab 4 Pro 10.1 CM14 / Playstation 4 + G29 + 2TB Hybrid drive

  5. #5
    Registered+
    Join Date
    Oct 2015
    Posts
    53
    Thanks
    5
    Thanked
    0 times in 0 posts

    Re: HTPC(kodi) + NAS(hardware raid)

    Plex is providing similar solutions, however I am quite tempted to keep using kodi.

  6. #6
    root Member DanceswithUnix's Avatar
    Join Date
    Jan 2006
    Location
    In the middle of a core dump
    Posts
    12,986
    Thanks
    781
    Thanked
    1,588 times in 1,343 posts
    • DanceswithUnix's system
      • Motherboard:
      • Asus X470-PRO
      • CPU:
      • 5900X
      • Memory:
      • 32GB 3200MHz ECC
      • Storage:
      • 2TB Linux, 2TB Games (Win 10)
      • Graphics card(s):
      • Asus Strix RX Vega 56
      • PSU:
      • 650W Corsair TX
      • Case:
      • Antec 300
      • Operating System:
      • Fedora 39 + Win 10 Pro 64 (yuk)
      • Monitor(s):
      • Benq XL2730Z 1440p + Iiyama 27" 1440p
      • Internet:
      • Zen 900Mb/900Mb (CityFibre FttP)

    Re: HTPC(kodi) + NAS(hardware raid)

    If you use Linux or BSD as your base OS then you can use ZFS or BTRFS for storing your files. That has RAID built in, so software RAID becomes a plus not a negative as the filesystem understands where the data is going giving you better data integrity, easier array migration (eg raid 1 to raid 5) with reduced array rebuild times (no rebuilding stripes where no data exists).

    So, I would start by trying out FreeNAS to sort the file serving part, and see how well their Kodi plugin works. Free software, so if you have an old PC kicking around give it a try.

  7. #7
    mush-mushroom b0redom's Avatar
    Join Date
    Oct 2005
    Location
    Middlesex
    Posts
    3,494
    Thanks
    195
    Thanked
    383 times in 292 posts
    • b0redom's system
      • Motherboard:
      • Some iMac thingy
      • CPU:
      • 3.4Ghz Quad Core i7
      • Memory:
      • 24GB
      • Storage:
      • 3TB Fusion Drive
      • Graphics card(s):
      • nViidia GTX 680MX
      • PSU:
      • Some iMac thingy
      • Case:
      • Late 2012 pointlessly thin iMac enclosure
      • Operating System:
      • OSX 10.8 / Win 7 Pro
      • Monitor(s):
      • Dell 2713H
      • Internet:
      • Be+

    Re: HTPC(kodi) + NAS(hardware raid)

    +1 for FreeNAS. I have it with the Plex plugin and I use Fire TV boxes/sticks as clients. If you use hardware RAID, you have to consider what will happen in the event that your RAID controller breaks. With ZFS you just plug the drives into another server and mount them, they don't even have to be on the same SATA channels.

  8. #8
    Oh Crumbs.... Biscuit's Avatar
    Join Date
    Feb 2007
    Location
    N. Yorkshire
    Posts
    11,193
    Thanks
    1,394
    Thanked
    1,091 times in 833 posts
    • Biscuit's system
      • Motherboard:
      • MSI B450M Mortar
      • CPU:
      • AMD 2700X (Be Quiet! Dark Rock 3)
      • Memory:
      • 16GB Patriot Viper 2 @ 3466MHz
      • Storage:
      • 500GB WD Black
      • Graphics card(s):
      • Sapphire R9 290X Vapor-X
      • PSU:
      • Seasonic Focus Gold 750W
      • Case:
      • Lian Li PC-V359
      • Operating System:
      • Windows 10 x64
      • Internet:
      • BT Infinity 80/20

    Re: HTPC(kodi) + NAS(hardware raid)

    I use Emby server along with Kodi. Their plug in is excellent and integrates perfectly into the existing Kodi libraries with options to force transcoding for high bitrate/high resolution/x265 source material. I have it working on all my computers and 2 Raspberry Pis running OSMC. You can also use the standard Emby applications (of course); I accessed it via a web broswer from Germany the other day. I haven't paid for any additional access, I simply forwarded the correct ports as I have a static IP at home.

    For my back end server I'm using unRAID. Its not free, however it is reasonably priced, very well supported with lots of easy to install applications and has very good virtual machine support built in. It doesn't use or require a hardware RAID or any special enterprise grade hardware (although it doesn't hurt), in fact it doesn't stripe data at all. An unRAID share will present access as a single pool of storage in the same way as a typical RAID or zRAID system would, however it keeps everything as individual files and spreads it across the available space as per your requirements. It also has a parity disk to enable the benefits of a RAID array with regards to disk failure.

    The obvious disadvantage of this is that you don't get the increase of data-rates that you would from a striping RAID system, however, it is possible to install a cache pool that can enable fast reads and writes for recently added data. This data will automatically transfer to the main pool at a user defined time. Even when reading or writing from the disk I haven't yet experienced any disappointing performance.

    The advantages are, because files are stored in full, individually across the drives in the array, its not necessary to spin up all drives to access data, saving power and reducing noise.
    If you do have a multiple disk failure, the files that remain are still intact and accessible (via a linux OS). In normal RAID arrays its very difficult to recover data from failed arrays.
    You don't have to install drives of similar sizes, I have a variety of sized drives between 500GB to 4TB in my array. As long as the parity drive is the same size as the other biggest drive, you can put any size you want in. Unless something has changed, other RAID systems require them all to be the same otherwise it will reduce the bigger ones to the same size as the lowest one installed.
    If you want to add a disk to increase the size of the pool in a few months or a year, its very easy, you just run a pre-clear process on it and then add it to the pool. Im not sure if zRAID has something similar these days.

  9. #9
    Registered+
    Join Date
    Oct 2015
    Posts
    53
    Thanks
    5
    Thanked
    0 times in 0 posts

    Re: HTPC(kodi) + NAS(hardware raid)

    Okay guys, I think you did convinced me to save some money and stick to software NAS.
    So if I get it right I need Linux with FreeNAS on it and Kodi starting automatically after start of the system?
    I am keen to use raid 6, how I would possibly schedule backups from my laptop, android phone and iphone once a week?
    What would be estimated time to start the system, because I believe that my girlfriend wouldn't let me run it 24/7, I know it depends on configuration and hardware, but as long as it is under a minute I am ready to start collecting items.

  10. #10
    Oh Crumbs.... Biscuit's Avatar
    Join Date
    Feb 2007
    Location
    N. Yorkshire
    Posts
    11,193
    Thanks
    1,394
    Thanked
    1,091 times in 833 posts
    • Biscuit's system
      • Motherboard:
      • MSI B450M Mortar
      • CPU:
      • AMD 2700X (Be Quiet! Dark Rock 3)
      • Memory:
      • 16GB Patriot Viper 2 @ 3466MHz
      • Storage:
      • 500GB WD Black
      • Graphics card(s):
      • Sapphire R9 290X Vapor-X
      • PSU:
      • Seasonic Focus Gold 750W
      • Case:
      • Lian Li PC-V359
      • Operating System:
      • Windows 10 x64
      • Internet:
      • BT Infinity 80/20

    Re: HTPC(kodi) + NAS(hardware raid)

    Quote Originally Posted by username2 View Post
    Okay guys, I think you did convinced me to save some money and stick to software NAS.
    So if I get it right I need Linux with FreeNAS on it and Kodi starting automatically after start of the system?
    Not quite. FreeNAS IS a linux based operating system (Actually based on FreeBSD IIRC). Its not something you install into Linux. Generally FreeNAS is not also used as an operating system for media consumption, its more of a "set and forget" for a server you hide away in a cupboard that allows a central access point for all files, backups and media.
    Perhaps there is a plug in available for it to run Kodi front end directly, however if not, and you are not familiar with linux already, be prepared to learn and fight with it.

    If you could find a linux distribution with ZFS support and set it up as a normal Linux PC, you could then install Kodi onto that and share the folders on the PC via Samba (windows shares), although again, if you're not familiar with Linux already...

    Quote Originally Posted by username2 View Post
    I am keen to use raid 6, how I would possibly schedule backups from my laptop, android phone and iphone once a week?
    What would be estimated time to start the system, because I believe that my girlfriend wouldn't let me run it 24/7, I know it depends on configuration and hardware, but as long as it is under a minute I am ready to start collecting items.
    This is all very much dependent on what operating system you choose, how many applications are running on it etc etc... could be 1 minute or it could be 10.

    My honest recommendation for the easiest solution is to stick to a server OS for the PC (whichever you choose is up to you, unRAID, FreeNAS, OpenMediaVault, OpenFiler.... there is loads) and then get a Raspberry Pi to connect to your TV running Kodi. That way the server can be hidden away anywhere.

  11. Received thanks from:

    username2 (19-05-2016)

  12. #11
    Registered+
    Join Date
    Oct 2015
    Posts
    53
    Thanks
    5
    Thanked
    0 times in 0 posts

    Re: HTPC(kodi) + NAS(hardware raid)

    I do not really have space for server anywhere, the only unused room is behind three walls to the router which is in living room. There is no possibility for good connection wireless. That is why I want to keep them all in one room, in one HTPC case.
    I know basics of linux, but NAS is something new for me.
    I see this is going to be harder than I imagined, but I have a little bit of time now to deal with that

  13. #12
    Oh Crumbs.... Biscuit's Avatar
    Join Date
    Feb 2007
    Location
    N. Yorkshire
    Posts
    11,193
    Thanks
    1,394
    Thanked
    1,091 times in 833 posts
    • Biscuit's system
      • Motherboard:
      • MSI B450M Mortar
      • CPU:
      • AMD 2700X (Be Quiet! Dark Rock 3)
      • Memory:
      • 16GB Patriot Viper 2 @ 3466MHz
      • Storage:
      • 500GB WD Black
      • Graphics card(s):
      • Sapphire R9 290X Vapor-X
      • PSU:
      • Seasonic Focus Gold 750W
      • Case:
      • Lian Li PC-V359
      • Operating System:
      • Windows 10 x64
      • Internet:
      • BT Infinity 80/20

    Re: HTPC(kodi) + NAS(hardware raid)

    Quote Originally Posted by username2 View Post
    I do not really have space for server anywhere, the only unused room is behind three walls to the router which is in living room. There is no possibility for good connection wireless. That is why I want to keep them all in one room, in one HTPC case.
    I know basics of linux, but NAS is something new for me.
    I see this is going to be harder than I imagined, but I have a little bit of time now to deal with that
    There are ways of starting with a NAS and building it into a HTPC, its not impossible, I just think that it will be more trouble than its worth.

    You will probably find it a bit easier to start with getting the computer to work as a HTPC and then share your media folders into your network.

    I believe Ubuntu has btrfs support, plus its a nice and easy OS to start getting accustomed to linux with. Perhaps have a look at that.

    One question I have though, do you really need RAID at all? If this is your first attempt at getting a central media PC to serve your home, perhaps just connect the drives seperately and avoid the hassle of RAID. In a home environment, there really isnt a huge amount of benefit. A RAID is not a replacement for a backup, it doesn't really protect you and in some ways it can add more risk to the data than just having drives connected up as you normally would.

  14. Received thanks from:

    username2 (19-05-2016)

  15. #13
    Registered+
    Join Date
    Oct 2015
    Posts
    53
    Thanks
    5
    Thanked
    0 times in 0 posts

    Re: HTPC(kodi) + NAS(hardware raid)

    Quote Originally Posted by Biscuit View Post
    There are ways of starting with a NAS and building it into a HTPC, its not impossible, I just think that it will be more trouble than its worth.

    You will probably find it a bit easier to start with getting the computer to work as a HTPC and then share your media folders into your network.
    I already have kodi with a drive connected to it, so I can try to connect it wireless to my laptop which will be sharing

    Quote Originally Posted by Biscuit View Post
    One question I have though, do you really need RAID at all? If this is your first attempt at getting a central media PC to serve your home, perhaps just connect the drives seperately and avoid the hassle of RAID. In a home environment, there really isnt a huge amount of benefit. A RAID is not a replacement for a backup, it doesn't really protect you and in some ways it can add more risk to the data than just having drives connected up as you normally would.
    I just would like to have safe place so store my data, raid seems to be best option and I would like my devices to make backup automatically.
    I guess you are right I might try to setup just HTPC with backups without RAID for now. Currently I am trying to make Ubuntu Server, on a VM, run Kodi after system boot up, but I believe it will be different on a desktop and on my Laptop

  16. #14
    Oh Crumbs.... Biscuit's Avatar
    Join Date
    Feb 2007
    Location
    N. Yorkshire
    Posts
    11,193
    Thanks
    1,394
    Thanked
    1,091 times in 833 posts
    • Biscuit's system
      • Motherboard:
      • MSI B450M Mortar
      • CPU:
      • AMD 2700X (Be Quiet! Dark Rock 3)
      • Memory:
      • 16GB Patriot Viper 2 @ 3466MHz
      • Storage:
      • 500GB WD Black
      • Graphics card(s):
      • Sapphire R9 290X Vapor-X
      • PSU:
      • Seasonic Focus Gold 750W
      • Case:
      • Lian Li PC-V359
      • Operating System:
      • Windows 10 x64
      • Internet:
      • BT Infinity 80/20

    Re: HTPC(kodi) + NAS(hardware raid)

    Quote Originally Posted by username2 View Post
    I just would like to have safe place so store my data, raid seems to be best option and I would like my devices to make backup automatically.
    This is the misconception I believe. RAID doesn't make your data 'safe', all it does is protect you from a drive failure.
    RAID does not replace a backup, if you want your data to be 'safe' you need to create proper duplicates of it and relocate them.
    The biggest benefit of RAID at home (IMO) is the convenience of having all the drives appear as a single pool, nothing to do with protection of data.

    As an example, I backup the important data from my unRAID system to drives which are then disconnected and put into a cupboard. This is about as 'safe' as you can get and the only things likely to cause total data loss would be so severe that the data would be the last of my worries.

    I guess you are right I might try to setup just HTPC with backups without RAID for now. Currently I am trying to make Ubuntu Server, on a VM, run Kodi after system boot up, but I believe it will be different on a desktop and on my Laptop
    I wouldnt even use Ubuntu Server, I would just use Ubuntu desktop, or even try installing Kodibuntu which has it pre-baked into the installer.

  17. #15
    root Member DanceswithUnix's Avatar
    Join Date
    Jan 2006
    Location
    In the middle of a core dump
    Posts
    12,986
    Thanks
    781
    Thanked
    1,588 times in 1,343 posts
    • DanceswithUnix's system
      • Motherboard:
      • Asus X470-PRO
      • CPU:
      • 5900X
      • Memory:
      • 32GB 3200MHz ECC
      • Storage:
      • 2TB Linux, 2TB Games (Win 10)
      • Graphics card(s):
      • Asus Strix RX Vega 56
      • PSU:
      • 650W Corsair TX
      • Case:
      • Antec 300
      • Operating System:
      • Fedora 39 + Win 10 Pro 64 (yuk)
      • Monitor(s):
      • Benq XL2730Z 1440p + Iiyama 27" 1440p
      • Internet:
      • Zen 900Mb/900Mb (CityFibre FttP)

    Re: HTPC(kodi) + NAS(hardware raid)

    Quote Originally Posted by Biscuit View Post
    This is the misconception I believe. RAID doesn't make your data 'safe', all it does is protect you from a drive failure.
    RAID does not replace a backup, if you want your data to be 'safe' you need to create proper duplicates of it and relocate them.
    The biggest benefit of RAID at home (IMO) is the convenience of having all the drives appear as a single pool, nothing to do with protection of data.
    I read it that he want's somewhere to back machines up to, so the RAID array won't contain data, it will contain backups of data and some videos. Seems a fair use to me, or I hope it is as that is what I basically do

  18. #16
    Oh Crumbs.... Biscuit's Avatar
    Join Date
    Feb 2007
    Location
    N. Yorkshire
    Posts
    11,193
    Thanks
    1,394
    Thanked
    1,091 times in 833 posts
    • Biscuit's system
      • Motherboard:
      • MSI B450M Mortar
      • CPU:
      • AMD 2700X (Be Quiet! Dark Rock 3)
      • Memory:
      • 16GB Patriot Viper 2 @ 3466MHz
      • Storage:
      • 500GB WD Black
      • Graphics card(s):
      • Sapphire R9 290X Vapor-X
      • PSU:
      • Seasonic Focus Gold 750W
      • Case:
      • Lian Li PC-V359
      • Operating System:
      • Windows 10 x64
      • Internet:
      • BT Infinity 80/20

    Re: HTPC(kodi) + NAS(hardware raid)

    Quote Originally Posted by DanceswithUnix View Post
    I read it that he want's somewhere to back machines up to, so the RAID array won't contain data, it will contain backups of data and some videos. Seems a fair use to me, or I hope it is as that is what I basically do
    Totally reasonable, I wasn't suggesting that its not, I just don't really think the benefit is worth the effort in this case. If you're building a dedicated NAS then setting up a software RAID via FreeNAS or unRAID or any of the alternatives is a straight forward procedure. As this is a hybrid between the two, its less straight forward.

    Seeing as you are already playing with VMs, perhaps you could run a normal server OS like FreeNAS (I would once again, suggest looking into unRAID at the very least, you can get a free trail to test the water), then run Kodibuntu as a virtual machine on it?

    Linustechtips did a build with unraid that ran multiple gaming PCs on a single computer through VMs and passed the hardware capabilities of the GPU though to each user, so in theory at least, this should work fine.

    Here is the one where they did 2 gamers one CPU with a step by step https://www.youtube.com/watch?v=LuJYMCbIbPk

Page 1 of 3 123 LastLast

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •