{"id":4846,"date":"2019-12-14T00:40:32","date_gmt":"2019-12-14T05:40:32","guid":{"rendered":"http:\/\/cdnhost.net\/content\/?p=4846"},"modified":"2019-12-14T00:40:34","modified_gmt":"2019-12-14T05:40:34","slug":"configuring-proxmox-v6-to-work-with-fusionio-drives","status":"publish","type":"post","link":"https:\/\/cdnhost.net\/content\/configuring-proxmox-v6-to-work-with-fusionio-drives\/","title":{"rendered":"Configuring Proxmox v6 to work with FusionIO drives"},"content":{"rendered":"<!-- wp:themify-builder\/canvas \/-->\n\n\n<p>The actual process<br>\nDownload all the files. Here&#8217;s the cheatsheet, so you don&#8217;t have to waste plenty of time on this (it creates a folder \/home\/temp where all the files are downloaded automatically:<br>\nCode:<br>\nmkdir \/home\/temp &amp;&amp; cd \/home\/temp  &amp;&amp; \\<br>\nwget -O iomemory-vsl_3.2.16.1731-1.0.tar.gz https:\/\/www.dropbox.com\/s\/up8hrkmk6lhyc6f\/iomemory-vsl_3.2.16.1731-1.0.tar.gz?dl=1 &amp;&amp; \\<br>\nwget -O fio-common_3.2.16.1731-1.0_amd64.deb https:\/\/www.dropbox.com\/s\/pd2ohfaufhwqc34\/fio-common_3.2.16.1731-1.0_amd64.deb?dl=1 &amp;&amp; \\<br>\nwget -O fio-firmware-fusion_3.2.16.20180821-1_all.deb https:\/\/www.dropbox.com\/s\/kcn5agi6lyikicf\/fio-firmware-fusion_3.2.16.20180821-1_all.deb?dl=1 &amp;&amp; \\<br>\nwget -O fio-preinstall_3.2.16.1731-1.0_amd64.deb https:\/\/www.dropbox.com\/s\/iq7pefjdgwtuzf1\/fio-preinstall_3.2.16.1731-1.0_amd64.deb?dl=1 &amp;&amp; \\<br>\nwget -O fio-sysvinit_3.2.16.1731-1.0_all.deb https:\/\/www.dropbox.com\/s\/g39l6lg9of6eqze\/fio-sysvinit_3.2.16.1731-1.0_all.deb?dl=1 &amp;&amp; \\<br>\nwget -O fio-util_3.2.16.1731-1.0_amd64.deb https:\/\/www.dropbox.com\/s\/57huby17mteg6wp\/fio-util_3.2.16.1731-1.0_amd64.deb?dl=1 &amp;&amp; \\<br>\ntar zxvf iomemory-vsl_3.2.16.1731-1.0.tar.gz &amp;&amp; cd iomemory-vsl-3.2.16.1731<\/p>\n\n\n\n<p>then nano \/etc\/apt\/sources.list and make sure you have this line<\/p>\n\n\n\n<p>deb http:\/\/download.proxmox.com\/debian buster pve-no-subscription<\/p>\n\n\n\n<p>Next, run this command<\/p>\n\n\n\n<p>apt-get install gcc fakeroot build-essential debhelper rsync pve-headers dkms<\/p>\n\n\n\n<p>do uname -a<\/p>\n\n\n\n<p>then install the pve-headers-yourkernelversion<br>\nexample: apt install pve-headers-5.0.15-1-pve<\/p>\n\n\n\n<p>Create the DKMS config file and edit it via the command:<br>\nCode:<br>\nnano \/home\/temp\/iomemory-vsl-3.2.16.1731\/root\/usr\/src\/iomemory-vsl-3.2.16\/dkms.conf<\/p>\n\n\n\n<p>contents will be:<\/p>\n\n\n\n<p>MAKE=&#8221;&#8216;make&#8217; DKMS_KERNEL_VERSION=$kernelver&#8221;<br>\nCLEAN=&#8221;&#8216;make&#8217; clean&#8221;<br>\nBUILT_MODULE_NAME=iomemory-vsl<br>\nBUILT_MODULE_LOCATION=&#8221;<br>\nPACKAGE_NAME=iomemory-vsl<br>\nPACKAGE_VERSION=3.2.16.1731<br>\nDEST_MODULE_LOCATION=\/kernel\/drivers\/block<br>\nAUTOINSTALL=&#8221;Yes&#8221;<br>\nREMAKE_INITRD=yes<\/p>\n\n\n\n<p>Prepare the source for being compiled, compile the drivers and load the drivers into the kernel:<br>\nCode:<br>\ncp -r \/home\/temp\/iomemory-vsl-3.2.16.1731\/root\/usr\/src\/iomemory-vsl-3.2.16 \/usr\/src\/ &amp;&amp; \\<br>\nmkdir -p \/var\/lib\/dkms\/iomemory-vsl\/3.2.16\/build &amp;&amp; \\<br>\nln -s \/usr\/src\/iomemory-vsl-3.2.16 \/var\/lib\/dkms\/iomemory-vsl\/3.2.16\/source &amp;&amp; \\<br>\ndkms build -m iomemory-vsl -v 3.2.16 &amp;&amp; \\<br>\ndkms install -m iomemory-vsl -v 3.2.16 &amp;&amp; \\<br>\nmodprobe iomemory-vsl<\/p>\n\n\n\n<p>Install all utilities and firmware:<br>\nCode:<br>\ncd \/home\/temp &amp;&amp; \\<br>\ndpkg -i fio-firmware-fusion_3.2.16.20180821-1_all.deb fio-util_3.2.16.1731-1.0_amd64.deb fio-sysvinit_3.2.16.1731-1.0_all.deb fio-common_3.2.16.1731-1.0_amd64.deb<\/p>\n\n\n\n<p>You may need to compile the drivers for the other kernels present on the system:<br>\nCode:<br>\nls \/var\/lib\/initramfs-tools | sudo xargs -n1 \/usr\/lib\/dkms\/dkms_autoinstaller start<\/p>\n\n\n\n<p>Reboot the OS and make sure the device is attached after the reboot by running<br>\nCode:<br>\nfio-status -a<\/p>\n","protected":false},"excerpt":{"rendered":"<p>The actual process Download all the files. Here&#8217;s the cheatsheet, so you don&#8217;t have to waste plenty of time on this (it creates a folder \/home\/temp where all the files are downloaded automatically: Code: mkdir \/home\/temp &amp;&amp; cd \/home\/temp &amp;&amp; \\ wget -O iomemory-vsl_3.2.16.1731-1.0.tar.gz https:\/\/www.dropbox.com\/s\/up8hrkmk6lhyc6f\/iomemory-vsl_3.2.16.1731-1.0.tar.gz?dl=1 &amp;&amp; \\ wget -O fio-common_3.2.16.1731-1.0_amd64.deb https:\/\/www.dropbox.com\/s\/pd2ohfaufhwqc34\/fio-common_3.2.16.1731-1.0_amd64.deb?dl=1 &amp;&amp; \\ wget -O [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":true,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"class_list":["post-4846","post","type-post","status-publish","format-standard","hentry","category-uncategorized","has-post-title","has-post-date","has-post-category","has-post-tag","has-post-comment","has-post-author",""],"builder_content":"","_links":{"self":[{"href":"https:\/\/cdnhost.net\/content\/wp-json\/wp\/v2\/posts\/4846","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/cdnhost.net\/content\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/cdnhost.net\/content\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/cdnhost.net\/content\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/cdnhost.net\/content\/wp-json\/wp\/v2\/comments?post=4846"}],"version-history":[{"count":2,"href":"https:\/\/cdnhost.net\/content\/wp-json\/wp\/v2\/posts\/4846\/revisions"}],"predecessor-version":[{"id":4848,"href":"https:\/\/cdnhost.net\/content\/wp-json\/wp\/v2\/posts\/4846\/revisions\/4848"}],"wp:attachment":[{"href":"https:\/\/cdnhost.net\/content\/wp-json\/wp\/v2\/media?parent=4846"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/cdnhost.net\/content\/wp-json\/wp\/v2\/categories?post=4846"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/cdnhost.net\/content\/wp-json\/wp\/v2\/tags?post=4846"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}