{"id":2762,"date":"2024-02-15T14:02:44","date_gmt":"2024-02-15T19:02:44","guid":{"rendered":"https:\/\/blog.lufamily.ca\/kang\/?p=2762"},"modified":"2024-03-02T16:09:53","modified_gmt":"2024-03-02T21:09:53","slug":"media-server-storage-hardware-reconfiguration","status":"publish","type":"post","link":"https:\/\/blog.lufamily.ca\/kang\/2024\/02\/15\/media-server-storage-hardware-reconfiguration\/","title":{"rendered":"Media Server Storage Hardware Reconfiguration"},"content":{"rendered":"\n<p>Our media server has reached 89% utilization and needs storage expansion. The storage makeup on the server uses Logical Volume Manager (<code>LVM<\/code>) and software RAID called <code>mdadm<\/code>. I can expand the storage by swapping out the hard drives with the least capacity with new hard drives with a larger capacity like I have <a href=\"https:\/\/blog.lufamily.ca\/kang\/2022\/07\/06\/another-nas-storage-upgrade\/\" data-type=\"post\" data-id=\"1706\" target=\"_blank\" rel=\"noreferrer noopener\">previously done<\/a>.<\/p>\n\n\n\n<p>I thought I try something different this time around. I would like to switch from <code>LVM<\/code> to <code>ZFS<\/code>, an <code>LVM<\/code> alternative that is very popular with modern mass storage systems, especially with <a href=\"https:\/\/www.truenas.com\" target=\"_blank\" rel=\"noreferrer noopener\">TrueNAS<\/a>.<\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"alignleft size-large is-resized\"><a href=\"https:\/\/blog.lufamily.ca\/kang\/wp-content\/uploads\/sites\/3\/2024\/02\/IMG_0749-scaled.jpeg\"><img loading=\"lazy\" decoding=\"async\" width=\"745\" height=\"1024\" src=\"https:\/\/blog.lufamily.ca\/kang\/wp-content\/uploads\/sites\/3\/2024\/02\/IMG_0749-745x1024.jpeg\" alt=\"\" class=\"wp-image-2764\" style=\"width:273px;height:auto\" srcset=\"https:\/\/blog.lufamily.ca\/kang\/wp-content\/uploads\/sites\/3\/2024\/02\/IMG_0749-745x1024.jpeg 745w, https:\/\/blog.lufamily.ca\/kang\/wp-content\/uploads\/sites\/3\/2024\/02\/IMG_0749-218x300.jpeg 218w, https:\/\/blog.lufamily.ca\/kang\/wp-content\/uploads\/sites\/3\/2024\/02\/IMG_0749-768x1055.jpeg 768w, https:\/\/blog.lufamily.ca\/kang\/wp-content\/uploads\/sites\/3\/2024\/02\/IMG_0749-1118x1536.jpeg 1118w, https:\/\/blog.lufamily.ca\/kang\/wp-content\/uploads\/sites\/3\/2024\/02\/IMG_0749-1490x2048.jpeg 1490w, https:\/\/blog.lufamily.ca\/kang\/wp-content\/uploads\/sites\/3\/2024\/02\/IMG_0749-scaled.jpeg 1863w\" sizes=\"auto, (max-width: 709px) 85vw, (max-width: 909px) 67vw, (max-width: 984px) 61vw, (max-width: 1362px) 45vw, 600px\" \/><\/a><figcaption class=\"wp-element-caption\">All filled with 8 drives<\/figcaption><\/figure>\n<\/div>\n\n\n<p>Before I can attempt the conversion, I will first need to backup all of the content from the media server. The second issue is that I needed more physical expansion space on the server to house more hard drives. The existing housings are all filled except for a single slot, which is going to be insufficient.<\/p>\n\n\n\n<p>A related issue is that I no longer have any free <code>SATA<\/code> slots available for the new hard drives, so I purchased <a href=\"https:\/\/www.amazon.ca\/dp\/B0BNF3L2BT?ref=ppx_yo2ov_dt_b_product_details&amp;th=1\" target=\"_blank\" rel=\"noreferrer noopener\">GLOTRENDS SA3116J PCIe SATA Adapter Card with 16 SATA Ports<\/a>. Once this is installed, I have more than enough SATA ports for additional storage.<\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"alignright size-large is-resized\"><a href=\"https:\/\/blog.lufamily.ca\/kang\/wp-content\/uploads\/sites\/3\/2024\/02\/IMG_0747-scaled.jpeg\"><img loading=\"lazy\" decoding=\"async\" width=\"768\" height=\"1024\" src=\"https:\/\/blog.lufamily.ca\/kang\/wp-content\/uploads\/sites\/3\/2024\/02\/IMG_0747-768x1024.jpeg\" alt=\"\" class=\"wp-image-2765\" style=\"width:212px;height:auto\" srcset=\"https:\/\/blog.lufamily.ca\/kang\/wp-content\/uploads\/sites\/3\/2024\/02\/IMG_0747-768x1024.jpeg 768w, https:\/\/blog.lufamily.ca\/kang\/wp-content\/uploads\/sites\/3\/2024\/02\/IMG_0747-225x300.jpeg 225w, https:\/\/blog.lufamily.ca\/kang\/wp-content\/uploads\/sites\/3\/2024\/02\/IMG_0747-1152x1536.jpeg 1152w, https:\/\/blog.lufamily.ca\/kang\/wp-content\/uploads\/sites\/3\/2024\/02\/IMG_0747-1536x2048.jpeg 1536w, https:\/\/blog.lufamily.ca\/kang\/wp-content\/uploads\/sites\/3\/2024\/02\/IMG_0747-scaled.jpeg 1920w\" sizes=\"auto, (max-width: 709px) 85vw, (max-width: 909px) 67vw, (max-width: 984px) 61vw, (max-width: 1362px) 45vw, 600px\" \/><\/a><figcaption class=\"wp-element-caption\">PCIe SATA Card Installed<\/figcaption><\/figure>\n<\/div>\n\n\n<p>One downside of the SATA card is that it is limited to PCIe 3.0 x1 speed. This means data transfer is limited to a theoretical maximum of 1GB\/s. Given that the physical hard drives top out at 200MB\/s, I don&#8217;t think we need to be too concerned about this bottleneck. We will see in terms of practical usage in the future.<\/p>\n\n\n\n<p>I am so lucky to have extra SATA power cables and extension cables laying around and my 850W existing power supply has ample power for the additional hard drives.<\/p>\n\n\n\n<p>How do we store the additional hard drives with a full cabinet? I went to Amazon again and purchased a hard drive cage, <a href=\"https:\/\/www.amazon.ca\/dp\/B0BSVCDFYT?psc=1&amp;ref=ppx_yo2ov_dt_b_product_details\" target=\"_blank\" rel=\"noreferrer noopener\">Jaquiain 3.5 Inch HDD Hard Drive Cage 8X3.5 Inch HDD Cage<\/a>. I did not have to buy any new hard drives yet, because I had plenty of old hard drives laying around. After I put together the cage with 8 really old and used hard drives, it looks something like this:<\/p>\n\n\n\n<figure class=\"wp-block-gallery has-nested-images columns-default is-cropped wp-block-gallery-1 is-layout-flex wp-block-gallery-is-layout-flex\">\n<figure class=\"wp-block-image size-large\"><a href=\"https:\/\/blog.lufamily.ca\/kang\/wp-content\/uploads\/sites\/3\/2024\/02\/IMG_0750-scaled.jpeg\"><img loading=\"lazy\" decoding=\"async\" width=\"791\" height=\"1024\" data-id=\"2767\" src=\"https:\/\/blog.lufamily.ca\/kang\/wp-content\/uploads\/sites\/3\/2024\/02\/IMG_0750-791x1024.jpeg\" alt=\"\" class=\"wp-image-2767\" srcset=\"https:\/\/blog.lufamily.ca\/kang\/wp-content\/uploads\/sites\/3\/2024\/02\/IMG_0750-791x1024.jpeg 791w, https:\/\/blog.lufamily.ca\/kang\/wp-content\/uploads\/sites\/3\/2024\/02\/IMG_0750-232x300.jpeg 232w, https:\/\/blog.lufamily.ca\/kang\/wp-content\/uploads\/sites\/3\/2024\/02\/IMG_0750-768x994.jpeg 768w, https:\/\/blog.lufamily.ca\/kang\/wp-content\/uploads\/sites\/3\/2024\/02\/IMG_0750-1187x1536.jpeg 1187w, https:\/\/blog.lufamily.ca\/kang\/wp-content\/uploads\/sites\/3\/2024\/02\/IMG_0750-1583x2048.jpeg 1583w, https:\/\/blog.lufamily.ca\/kang\/wp-content\/uploads\/sites\/3\/2024\/02\/IMG_0750-scaled.jpeg 1978w\" sizes=\"auto, (max-width: 709px) 85vw, (max-width: 909px) 67vw, (max-width: 984px) 61vw, (max-width: 1362px) 45vw, 600px\" \/><\/a><\/figure>\n\n\n\n<figure class=\"wp-block-image size-large\"><a href=\"https:\/\/blog.lufamily.ca\/kang\/wp-content\/uploads\/sites\/3\/2024\/02\/IMG_0751-scaled.jpeg\"><img loading=\"lazy\" decoding=\"async\" width=\"768\" height=\"1024\" data-id=\"2766\" src=\"https:\/\/blog.lufamily.ca\/kang\/wp-content\/uploads\/sites\/3\/2024\/02\/IMG_0751-768x1024.jpeg\" alt=\"\" class=\"wp-image-2766\" srcset=\"https:\/\/blog.lufamily.ca\/kang\/wp-content\/uploads\/sites\/3\/2024\/02\/IMG_0751-768x1024.jpeg 768w, https:\/\/blog.lufamily.ca\/kang\/wp-content\/uploads\/sites\/3\/2024\/02\/IMG_0751-225x300.jpeg 225w, https:\/\/blog.lufamily.ca\/kang\/wp-content\/uploads\/sites\/3\/2024\/02\/IMG_0751-1152x1536.jpeg 1152w, https:\/\/blog.lufamily.ca\/kang\/wp-content\/uploads\/sites\/3\/2024\/02\/IMG_0751-1536x2048.jpeg 1536w, https:\/\/blog.lufamily.ca\/kang\/wp-content\/uploads\/sites\/3\/2024\/02\/IMG_0751-scaled.jpeg 1920w\" sizes=\"auto, (max-width: 709px) 85vw, (max-width: 909px) 67vw, (max-width: 984px) 61vw, (max-width: 1362px) 45vw, 600px\" \/><\/a><\/figure>\n<\/figure>\n\n\n\n<p><\/p>\n\n\n\n<p>With this new additional storage, I am now able to backup the media content from my media server. However, before I do that there is one last thing that I need to do, and that is to experiment with an optimal <code>ZFS<\/code> pool configuration that will work with my content and usage. I will perform this experimentation with the additional storage before reconfiguring the old storage with <code>ZFS<\/code>. Please stay tuned for my findings.<\/p>\n\n\n\n<p>After booting the system with 16 hard drives, I measured the power usage and it was hovering around 180W. This is not too bad, less than 2 traditional incandescent light bulbs.<\/p>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n\n\n\n<h4 class=\"wp-block-heading\">Addendum:<\/h4>\n\n\n\n<p>During my setup, I had to spend hours deciphering an issue. My system did not recognize my old hard drives. After many trials, I finally narrowed down that the GLOTRENDS card is not compatible with an old 2TB Western Digital Enterprise Drive. This is the first time that I came across SATA incompatibilities.<\/p>\n\n\n\n<p>There is another possibility that these drives were damaged by the usage of an incorrect modular power cable. I found that these drives also do not work with my USB3.0 HDD external dock as well. This gives additional credence that the physical drive has been damaged.<\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-large is-resized\"><a href=\"https:\/\/blog.lufamily.ca\/kang\/wp-content\/uploads\/sites\/3\/2024\/02\/IMG_0752-scaled.jpeg\"><img loading=\"lazy\" decoding=\"async\" width=\"939\" height=\"1024\" src=\"https:\/\/blog.lufamily.ca\/kang\/wp-content\/uploads\/sites\/3\/2024\/02\/IMG_0752-939x1024.jpeg\" alt=\"\" class=\"wp-image-2768\" style=\"width:372px;height:auto\" srcset=\"https:\/\/blog.lufamily.ca\/kang\/wp-content\/uploads\/sites\/3\/2024\/02\/IMG_0752-939x1024.jpeg 939w, https:\/\/blog.lufamily.ca\/kang\/wp-content\/uploads\/sites\/3\/2024\/02\/IMG_0752-275x300.jpeg 275w, https:\/\/blog.lufamily.ca\/kang\/wp-content\/uploads\/sites\/3\/2024\/02\/IMG_0752-768x838.jpeg 768w, https:\/\/blog.lufamily.ca\/kang\/wp-content\/uploads\/sites\/3\/2024\/02\/IMG_0752-1408x1536.jpeg 1408w, https:\/\/blog.lufamily.ca\/kang\/wp-content\/uploads\/sites\/3\/2024\/02\/IMG_0752-1877x2048.jpeg 1877w\" sizes=\"auto, (max-width: 709px) 85vw, (max-width: 909px) 67vw, (max-width: 1362px) 62vw, 840px\" \/><\/a><figcaption class=\"wp-element-caption\">The troubled drive with the SATA card<\/figcaption><\/figure>\n<\/div>\n\n\n<p>All my other drives worked fine with the card.<\/p>\n\n\n\n<p>Another discovery is that not all modular power cables will work with my ASUS ROG STRIX 850W power supply. Initially, I thought I would use an 8-pin PCIe to 6-pin adapter along with a 6-pin to SATA power cable designed for Corsair power supplies.<\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-large is-resized\"><a href=\"https:\/\/www.amazon.ca\/dp\/B01DV1Z32Y?psc=1&amp;ref=ppx_yo2ov_dt_b_product_details\" target=\"_blank\" rel=\"noreferrer noopener\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"1024\" src=\"https:\/\/blog.lufamily.ca\/kang\/wp-content\/uploads\/sites\/3\/2024\/02\/61phMpEdypL._SL1500_-1024x1024.jpg\" alt=\"\" class=\"wp-image-2769\" style=\"width:290px;height:auto\" srcset=\"https:\/\/blog.lufamily.ca\/kang\/wp-content\/uploads\/sites\/3\/2024\/02\/61phMpEdypL._SL1500_-1024x1024.jpg 1024w, https:\/\/blog.lufamily.ca\/kang\/wp-content\/uploads\/sites\/3\/2024\/02\/61phMpEdypL._SL1500_-300x300.jpg 300w, https:\/\/blog.lufamily.ca\/kang\/wp-content\/uploads\/sites\/3\/2024\/02\/61phMpEdypL._SL1500_-150x150.jpg 150w, https:\/\/blog.lufamily.ca\/kang\/wp-content\/uploads\/sites\/3\/2024\/02\/61phMpEdypL._SL1500_-768x768.jpg 768w, https:\/\/blog.lufamily.ca\/kang\/wp-content\/uploads\/sites\/3\/2024\/02\/61phMpEdypL._SL1500_.jpg 1500w\" sizes=\"auto, (max-width: 709px) 85vw, (max-width: 909px) 67vw, (max-width: 1362px) 62vw, 840px\" \/><\/a><figcaption class=\"wp-element-caption\">PCIe Power Adapter from Amazon<\/figcaption><\/figure>\n<\/div>\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-full is-resized\"><a href=\"https:\/\/www.amazon.ca\/dp\/B099WCCZJF?ref=ppx_yo2ov_dt_b_product_details&amp;th=1\" target=\"_blank\" rel=\"noreferrer noopener\"><img loading=\"lazy\" decoding=\"async\" width=\"925\" height=\"773\" src=\"https:\/\/blog.lufamily.ca\/kang\/wp-content\/uploads\/sites\/3\/2024\/02\/41ITPMX6UfL._AC_SL1001_.jpg\" alt=\"\" class=\"wp-image-2770\" style=\"width:555px;height:auto\" srcset=\"https:\/\/blog.lufamily.ca\/kang\/wp-content\/uploads\/sites\/3\/2024\/02\/41ITPMX6UfL._AC_SL1001_.jpg 925w, https:\/\/blog.lufamily.ca\/kang\/wp-content\/uploads\/sites\/3\/2024\/02\/41ITPMX6UfL._AC_SL1001_-300x251.jpg 300w, https:\/\/blog.lufamily.ca\/kang\/wp-content\/uploads\/sites\/3\/2024\/02\/41ITPMX6UfL._AC_SL1001_-768x642.jpg 768w\" sizes=\"auto, (max-width: 709px) 85vw, (max-width: 909px) 67vw, (max-width: 1362px) 62vw, 840px\" \/><\/a><figcaption class=\"wp-element-caption\">OwlTree PCI-e 6 Pin Male to 4 SATA 1 to 4 SATA Female Power Supply Splitter Supply Cable for Corsair Modular RM650X RM750X RM850X RM1000X<\/figcaption><\/figure>\n<\/div>\n\n\n<p>Using the above cables will cause the power supply not to start. I had to hunt for the original cables that came with the STRIX power supply.<\/p>\n\n\n\n<p>Learned a lot from rejigging this media server. My reward is to see my server boot up with 16 hard drives and 2 NVMe SSD drives recognized. I have never built a system with so many drives and storage before.<\/p>\n\n\n\n<p><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Our media server has reached 89% utilization and needs storage expansion. The storage makeup on the server uses Logical Volume Manager (LVM) and software RAID called mdadm. I can expand the storage by swapping out the hard drives with the least capacity with new hard drives with a larger capacity like I have previously done. &hellip; <a href=\"https:\/\/blog.lufamily.ca\/kang\/2024\/02\/15\/media-server-storage-hardware-reconfiguration\/\" class=\"more-link\">Continue reading<span class=\"screen-reader-text\"> &#8220;Media Server Storage Hardware Reconfiguration&#8221;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"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":[108,111],"tags":[93,5,28,159],"class_list":["post-2762","post","type-post","status-publish","format-standard","hentry","category-electronics-hobby","category-tech","tag-lvm","tag-nas","tag-technology","tag-zfs"],"jetpack_featured_media_url":"","jetpack_shortlink":"https:\/\/wp.me\/p7V6i8-Iy","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/blog.lufamily.ca\/kang\/wp-json\/wp\/v2\/posts\/2762","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/blog.lufamily.ca\/kang\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/blog.lufamily.ca\/kang\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/blog.lufamily.ca\/kang\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/blog.lufamily.ca\/kang\/wp-json\/wp\/v2\/comments?post=2762"}],"version-history":[{"count":6,"href":"https:\/\/blog.lufamily.ca\/kang\/wp-json\/wp\/v2\/posts\/2762\/revisions"}],"predecessor-version":[{"id":2778,"href":"https:\/\/blog.lufamily.ca\/kang\/wp-json\/wp\/v2\/posts\/2762\/revisions\/2778"}],"wp:attachment":[{"href":"https:\/\/blog.lufamily.ca\/kang\/wp-json\/wp\/v2\/media?parent=2762"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blog.lufamily.ca\/kang\/wp-json\/wp\/v2\/categories?post=2762"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blog.lufamily.ca\/kang\/wp-json\/wp\/v2\/tags?post=2762"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}