﻿{"id":1531,"date":"2017-07-01T17:52:21","date_gmt":"2017-07-01T09:52:21","guid":{"rendered":"http:\/\/nick.txtcc.com\/?p=1531"},"modified":"2017-07-01T17:52:21","modified_gmt":"2017-07-01T09:52:21","slug":"ubuntu-hp-dynamic-smart-array-driver","status":"publish","type":"post","link":"http:\/\/nick.txtcc.com\/index.php\/linux\/1531","title":{"rendered":"Ubuntu HP Dynamic Smart Array Driver"},"content":{"rendered":"<table class=\"t1\" cellspacing=\"0\" cellpadding=\"0\">\n<tbody>\n<tr>\n<td class=\"td1\" valign=\"top\">\n<p class=\"p1\"><span class=\"s1\">The Ubuntu HP Dynamic Smart Array Driver (<b>hpdsa<\/b>) allows you to use <b>b-series<\/b> array controllers (and only b-series array controllers) in &#8220;<a href=\"http:\/\/downloads.linux.hpe.com\/SDR\/project\/ubuntu-hpdsa\/rbsu.jpg\"><span class=\"s2\">smart array mode<\/span><\/a>.&#8221; If you disable smart array mode on your b-series controller ProLiant&#8217;s ROM based setup utility (RBSU), the open-source, in-distro <b>ahci<\/b> driver will pickup the device automatically and you do not need to use the <b>hpdsa<\/b> driver. However, if you want to utilize the latest storage management tools from HP, or migrate your volumes to a hardware-based p-series Smart Array in the future, you&#8217;ll want to use the HP Dynamic Smart Array driver with your hardware in smart array mode.<\/span><\/p>\n<p class=\"p1\"><span class=\"s1\">This driver is freely distributable, however it is closed-source and proprietary to HPE and MicroSemi.<\/span><\/p>\n<p class=\"p1\"><span class=\"s1\"><b>Install Ubuntu with MaaS and hpdsa driver<\/b><\/span><\/p>\n<p class=\"p1\"><span class=\"s1\">If using Metal as a Service (MaaS), <a href=\"http:\/\/downloads.linux.hpe.com\/SDR\/project\/ubuntu-hpdsa\/maas.html\"><span class=\"s2\">use these additional steps<\/span><\/a> in your provisioning process.<\/span><\/p>\n<\/td>\n<td class=\"td2\" valign=\"middle\">\n<p class=\"p1\"><span class=\"s1\">\u00a0<\/span><\/p>\n<\/td>\n<td class=\"td3\" valign=\"top\">\n<p class=\"p3\"><span class=\"s3\"><a href=\"http:\/\/downloads.linux.hpe.com\/SDR\/repo\/ubuntu-hpdsa\/\"><b>Browse<\/b>\n<b><\/b><\/a><\/span><\/p>\n<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p class=\"p4\"><span class=\"s1\"><b>Download install-time amd64 driver disc<\/b><\/span><\/p>\n<table class=\"t1\" cellspacing=\"0\" cellpadding=\"0\">\n<tbody>\n<tr>\n<td class=\"td4\" valign=\"middle\">\n<p class=\"p5\"><span class=\"s4\">\u00a0\u00a0<a href=\"http:\/\/downloads.linux.hpe.com\/SDR\/repo\/ubuntu-hpdsa\/pool\/main\/hpdsa-1.2.4-140.ubuntu14.04.x86_64.img.gz\"><span class=\"s5\"><b>hpdsa-1.2.4-140.ubuntu14.04.x86_64.img.gz<\/b><\/span><\/a><\/span><\/p>\n<\/td>\n<td class=\"td5\" valign=\"middle\">\n<p class=\"p1\"><span class=\"s1\">Ubuntu 14.04<\/span><\/p>\n<\/td>\n<td class=\"td6\" rowspan=\"3\" valign=\"middle\">\n<p class=\"p1\"><span class=\"s6\"><b>NOTICE!<\/b><\/span>\n<span class=\"s1\"> The hpdsa driver is no longer being developed past the versions indicated. Do not upgrade the Ubuntu kernel or try to use this binary driver with Xenial. If you have a B-series Smart Array, it is advised to use the Linux md (software raid) driver, or upgrade to an H or P series hardware-based host bus adapter.<\/span><\/p>\n<\/td>\n<\/tr>\n<tr>\n<td class=\"td4\" valign=\"middle\">\n<p class=\"p5\"><span class=\"s4\">\u00a0\u00a0<a href=\"http:\/\/downloads.linux.hpe.com\/SDR\/repo\/ubuntu-hpdsa\/pool\/main\/hpdsa-1.2.4-140.ubuntu14.04.1.x86_64.img.gz\"><span class=\"s5\"><b>hpdsa-1.2.4-140.ubuntu14.04.1.x86_64.img.gz<\/b><\/span><\/a><\/span><\/p>\n<\/td>\n<td class=\"td5\" valign=\"middle\">\n<p class=\"p1\"><span class=\"s1\">Ubuntu 14.04.1<\/span><\/p>\n<\/td>\n<\/tr>\n<tr>\n<td class=\"td4\" valign=\"middle\">\n<p class=\"p5\"><span class=\"s4\">\u00a0\u00a0<a href=\"http:\/\/downloads.linux.hpe.com\/SDR\/repo\/ubuntu-hpdsa\/pool\/main\/hpdsa-1.2.4-140.ubuntu14.04.2.x86_64.img.gz\"><span class=\"s5\"><b>hpdsa-1.2.4-140.ubuntu14.04.2.x86_64.img.gz<\/b><\/span><\/a><\/span><\/p>\n<\/td>\n<td class=\"td5\" valign=\"middle\">\n<p class=\"p1\"><span class=\"s1\">Ubuntu 14.04.2<\/span><\/p>\n<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<table class=\"t1\" cellspacing=\"0\" cellpadding=\"0\">\n<tbody>\n<tr>\n<td class=\"td1\" colspan=\"3\" valign=\"top\">\n<p class=\"p1\"><span class=\"s1\">&#8211; <p> <br\/> <strong>NOTE<\/strong>: This driver is currently supported on the above kernels only. The hpdsa driver is not supported on subsequent builds at this time (14.04.2 and later). <br\/> &#8211; <\/span><\/p>\n<p class=\"p4\"><span class=\"s1\"><b>Install Ubuntu with the hpdsa driver<\/b><\/span><\/p>\n<p class=\"p1\"><span class=\"s1\">\u00a0<\/span><\/p>\n\n<ul class=\"ul1\">\n    <li class=\"li1\"><span class=\"s1\">Flash a USB key with one of the above disc images, using \/dev\/sdc1 as the example usb partition:<\/span><\/li>\n    <li class=\"li6\"><b><\/b>\n<span class=\"s1\"><b> <span class=\"Apple-converted-space\">\u00a0 \u00a0 <\/span>gunzip hpdsa-1.2.4-140.ubuntu14.04.2.x86_64.img.gz<\/b><\/span><\/li>\n    <li class=\"li6\"><b><\/b>\n<span class=\"s1\"><b> <span class=\"Apple-converted-space\">\u00a0 \u00a0 <\/span>dd if=hpdsa-1.2.4-140.ubuntu14.04.2.x86_64.img of=\/dev\/sdc1 <\/b><\/span><\/li>\n    <li class=\"li7\">\n    <li class=\"li2\">\n    <li class=\"li8\"><span class=\"s7\"><a href=\"http:\/\/downloads.linux.hpe.com\/SDR\/project\/ubuntu-hpdsa\/rbsu.jpg\"><span class=\"s5\">Enable the Smart Array controller in the Rom-based Setup Utility<\/span><\/a><\/span>\n<span class=\"s4\"> (RBSU)<\/span><\/li>\n    <li class=\"li1\"><span class=\"s1\">Insert the USB key which contains the driver update image (above)<\/span><\/li>\n    <li class=\"li1\"><span class=\"s1\">Mount the Ubuntu Server DVD iso image via the ILO virtual media.<\/span><\/li>\n    <li class=\"li1\"><span class=\"s1\">Reboot the server<\/span><\/li>\n    <li class=\"li1\"><span class=\"s1\">Press the <b>F11<\/b> key to manually select the ILO virtual media to boot<\/span><\/li>\n    <li class=\"li1\"><span class=\"s1\">Boot the installation media<\/span><\/li>\n    <li class=\"li1\"><span class=\"s1\">At the grub boot menu press <b>E<\/b> to edit the kernel command line<\/span><\/li>\n    <li class=\"li1\"><span class=\"s1\">At this point, append the following to the linux kernel command line (after the &#8220;&#8211;&#8220;).<\/span><\/li>\n    <li class=\"li6\"><span class=\"s1\"> <span class=\"Apple-converted-space\">\u00a0 \u00a0 <\/span>\n<b>inst.dd<span class=\"Apple-converted-space\">\u00a0 <\/span>modprobe.blacklist=ahci<\/b><\/span><\/li>\n    <li class=\"li7\">\n    <li class=\"li2\">\n    <li class=\"li1\"><span class=\"s1\">Press <b>F10<\/b> or <b>Ctrl-X<\/b> to confirm the kernel command line and boot the installation kernel.<\/span><\/li>\n    <li class=\"li1\"><span class=\"s1\">Continue the installation, when prompted by the installer to load drivers from internal virtual driver disks, select <b>Yes<\/b><\/span><\/li>\n    <li class=\"li1\"><span class=\"s1\">At the &#8220;Finish the installation&#8221; screen, press Alt-F2 to access a vitual console and issue the following commands:<\/span><\/li>\n    <li class=\"li6\"><b><\/b>\n<span class=\"s1\"><b> <span class=\"Apple-converted-space\">\u00a0 \u00a0 <\/span>chroot \/target<\/b><\/span><\/li>\n    <li class=\"li6\"><b><\/b>\n<span class=\"s1\"><b> <span class=\"Apple-converted-space\">\u00a0 \u00a0 <\/span>echo &#8220;blacklist ahci&#8221; > \/etc\/modprobe.d\/install-hpdsa.conf<\/b><\/span><\/li>\n    <li class=\"li6\"><b><\/b>\n<span class=\"s1\"><b> <span class=\"Apple-converted-space\">\u00a0 \u00a0 <\/span>depmod `uname -r` <span class=\"Apple-converted-space\">\u00a0 <\/span>#note: use ticks, not apostrophes here.<\/b><\/span><\/li>\n    <li class=\"li6\"><b><\/b>\n<span class=\"s1\"><b> <span class=\"Apple-converted-space\">\u00a0 \u00a0 <\/span>update-initramfs -u<\/b><\/span><\/li>\n    <li class=\"li6\"><b><\/b>\n<span class=\"s1\"><b> <span class=\"Apple-converted-space\">\u00a0 \u00a0 <\/span>exit<\/b><\/span><\/li>\n    <li class=\"li7\"><b><\/b><\/li>\n    <li class=\"li2\">\n    <li class=\"li1\"><span class=\"s1\">press Alt-F1 to return to the Finish screen<\/span><\/li>\n    <li class=\"li1\"><span class=\"s1\">Press <b>Enter<\/b> to complete the installation and reboot the server<\/span><\/li>\n<\/ul>\n<p class=\"p4\"><span class=\"s1\"><b>Subscribe your system to the ubuntu-hpdsa apt repository<\/b><\/span><\/p>\n<p class=\"p1\"><span class=\"s1\">Cut-n-paste the following text into <\/span>\n<span class=\"s8\"><b>\/etc\/apt\/sources.list.d\/ubuntu-hpdsa.list<\/b><\/span>\n<span class=\"s1\"> on your system:<\/span><\/p>\n<p class=\"p6\"><span class=\"s9\"># HP Dynamic Smart Array Driver<\/span><\/p>\n<p class=\"p6\"><span class=\"s9\">deb http:\/\/downloads.linux.hp.com\/SDR\/repo\/ubuntu-hpdsa <b>trusty main<\/b> <\/span><\/p>\n<p class=\"p1\"><span class=\"s1\"><b>Import the Hewlett-Packard gpg public key for use with apt<\/b><\/span><\/p>\n<p class=\"p9\"><span class=\"s4\"># curl <a href=\"http:\/\/downloads.linux.hp.com\/SDR\/hpPublicKey2048_key1.pub\"><span class=\"s10\">http:\/\/downloads.linux.hp.com\/SDR\/hpPublicKey2048_key1.pub<\/span><\/a> | apt-key add &#8211;<\/span><\/p>\n<p class=\"p1\"><span class=\"s1\"><b>Update your local apt indexes<\/b><\/span><\/p>\n<p class=\"p6\"><span class=\"s1\"># apt-get update<\/span><\/p>\n<p class=\"p1\"><span class=\"s1\"><b>Install\/Update the hpdsa driver<\/b><\/span><\/p>\n<p class=\"p6\"><span class=\"s1\"># apt-get install hpdsa-dkms<\/span><\/p>\n<p class=\"p1\"><span class=\"s1\">Note: DKMS kernel modules depend on &#8220;build-essential, and dkms&#8221; package sets.<\/span><\/p>\n<\/td>\n<\/tr>\n<\/tbody>\n<\/table>","protected":false},"excerpt":{"rendered":"<p>The Ubuntu HP Dynamic Smart Array Driver (hpdsa) allows you to use b-series array controllers (and o&#46;&#46;&#46;<\/p>","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[4],"tags":[474,475],"class_list":["post-1531","post","type-post","status-publish","format-standard","hentry","category-linux","tag-gen9","tag-hpdsa"],"_links":{"self":[{"href":"http:\/\/nick.txtcc.com\/index.php\/wp-json\/wp\/v2\/posts\/1531","targetHints":{"allow":["GET"]}}],"collection":[{"href":"http:\/\/nick.txtcc.com\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/nick.txtcc.com\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/nick.txtcc.com\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/nick.txtcc.com\/index.php\/wp-json\/wp\/v2\/comments?post=1531"}],"version-history":[{"count":1,"href":"http:\/\/nick.txtcc.com\/index.php\/wp-json\/wp\/v2\/posts\/1531\/revisions"}],"predecessor-version":[{"id":1532,"href":"http:\/\/nick.txtcc.com\/index.php\/wp-json\/wp\/v2\/posts\/1531\/revisions\/1532"}],"wp:attachment":[{"href":"http:\/\/nick.txtcc.com\/index.php\/wp-json\/wp\/v2\/media?parent=1531"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/nick.txtcc.com\/index.php\/wp-json\/wp\/v2\/categories?post=1531"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/nick.txtcc.com\/index.php\/wp-json\/wp\/v2\/tags?post=1531"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}