{"id":364,"date":"2005-02-17T17:49:02","date_gmt":"2005-02-17T07:49:02","guid":{"rendered":"http:\/\/www.flamingspork.com\/blog\/?p=364"},"modified":"2005-02-17T17:49:02","modified_gmt":"2005-02-17T07:49:02","slug":"mdadm-build-saves-the-day","status":"publish","type":"post","link":"https:\/\/www.flamingspork.com\/blog\/2005\/02\/17\/mdadm-build-saves-the-day\/","title":{"rendered":"mdadm &#8211;build saves the day!"},"content":{"rendered":"<p>yes, this made my \/home on my desktop mountable again!<\/p>\n<p><code>mdadm --build -c8 --level=0 --raid-devices=2 \/dev\/md1 \/dev\/hda5 \/dev\/hde5<\/code><\/p>\n<p>Debian or Ubuntu overwrote the RAID superblock obviously. It&#8217;s funny how it <strong>really<\/strong> doesn&#8217;t work well when you silently change the stripe size of a raid volume.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>yes, this made my \/home on my desktop mountable again! mdadm &#8211;build -c8 &#8211;level=0 &#8211;raid-devices=2 \/dev\/md1 \/dev\/hda5 \/dev\/hde5 Debian or Ubuntu overwrote the RAID superblock obviously. It&#8217;s funny how it really doesn&#8217;t work well when you silently change the stripe &hellip; <a href=\"https:\/\/www.flamingspork.com\/blog\/2005\/02\/17\/mdadm-build-saves-the-day\/\">Continue reading <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_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":"","jetpack_publicize_message":"","jetpack_publicize_feature_enabled":true,"jetpack_social_post_already_shared":false,"jetpack_social_options":{"image_generator_settings":{"template":"highway","default_image_id":0,"font":"","enabled":false},"version":2},"jetpack_post_was_ever_published":false},"categories":[1],"tags":[],"class_list":["post-364","post","type-post","status-publish","format-standard","hentry","category-general"],"jetpack_publicize_connections":[],"jetpack_featured_media_url":"","jetpack_sharing_enabled":true,"jetpack_shortlink":"https:\/\/wp.me\/p5a6n8-5S","jetpack-related-posts":[{"id":367,"url":"https:\/\/www.flamingspork.com\/blog\/2005\/03\/01\/building-the-mysql-gui-tools-on-debian\/","url_meta":{"origin":364,"position":0},"title":"Building the MySQL GUI tools on Debian","author":"Stewart Smith","date":"2005-03-01","format":false,"excerpt":"sudo apt-get install libgtkmm2.0-dev libglade2-0 \\ libglade2-dev libgtkhtml3.0-4 libgtkhtml3.0-dev \\ libxml2 libxml2-dev uuid-dev libuuid1 Then, grab the source trees (mysql-gui-common, mysql-administrator, mysql-query-browser). You should probably grab source tarballs rather than using the BK trees... I had to edit some files to get it to build - but that's probably just\u2026","rel":"","context":"In &quot;General&quot;","block_context":{"text":"General","link":"https:\/\/www.flamingspork.com\/blog\/category\/general\/"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":3991,"url":"https:\/\/www.flamingspork.com\/blog\/2015\/08\/28\/running-opal-in-qemu-the-powernv-platform\/","url_meta":{"origin":364,"position":1},"title":"Running OPAL in qemu &#8211; the powernv platform","author":"Stewart Smith","date":"2015-08-28","format":false,"excerpt":"Ben has a qemu tree up with some work-in-progress patches to qemu to support the PowerNV platform. This is the \"bare metal\" platform like you'd get on real POWER8 hardware running OPAL, and it allows us to use qemu like my previous post used the POWER8 Functional Simulator - to\u2026","rel":"","context":"In &quot;IBM&quot;","block_context":{"text":"IBM","link":"https:\/\/www.flamingspork.com\/blog\/category\/work-et-al\/ibm-work-et-al\/"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":1405,"url":"https:\/\/www.flamingspork.com\/blog\/2009\/02\/18\/fun-with-387\/","url_meta":{"origin":364,"position":2},"title":"Fun with the 387","author":"Stewart Smith","date":"2009-02-18","format":false,"excerpt":"Filed\u00c2\u00a0 GCC bug 39228: #include <stdio.h> #include <math.h> int main() { \u00c2\u00a0\u00c2\u00a0\u00c2\u00a0\u00c2\u00a0\u00c2\u00a0\u00c2\u00a0\u00c2\u00a0 double a= 10.0; \u00c2\u00a0\u00c2\u00a0\u00c2\u00a0\u00c2\u00a0\u00c2\u00a0\u00c2\u00a0\u00c2\u00a0 double b= 1e+308; \u00c2\u00a0\u00c2\u00a0\u00c2\u00a0\u00c2\u00a0\u00c2\u00a0\u00c2\u00a0\u00c2\u00a0 printf(\"%d %d %dn\", isinf(a*b), __builtin_isinf(a*b), __isinf(a*b)); \u00c2\u00a0\u00c2\u00a0\u00c2\u00a0\u00c2\u00a0\u00c2\u00a0\u00c2\u00a0\u00c2\u00a0 return 0; } mtaylor@drizzle-dev:~$ gcc -o test test.c mtaylor@drizzle-dev:~$ .\/test 0 0 1 mtaylor@drizzle-dev:~$ gcc -o test test.c -std=c99 mtaylor@drizzle-dev:~$ .\/test 1 0\u2026","rel":"","context":"In &quot;code&quot;","block_context":{"text":"code","link":"https:\/\/www.flamingspork.com\/blog\/category\/code\/"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":4266,"url":"https:\/\/www.flamingspork.com\/blog\/2017\/02\/14\/j-core-numato-spartan-6-board-fedora-25\/","url_meta":{"origin":364,"position":3},"title":"j-core + Numato Spartan 6 board + Fedora 25","author":"Stewart Smith","date":"2017-02-14","format":false,"excerpt":"A couple of changes to http:\/\/j-core.org\/#download_bitstream made it easy for me to get going: In order to make ModemManager not try to think it's a \"modem\", create \/etc\/udev\/rules.d\/52-numato.rules with the following content: # Make ModemManager ignore Numato FPGA board ATTRS{idVendor}==\"2a19\", ATTRS{idProduct}==\"1002\", ENV{ID_MM_DEVICE_IGNORE}=\"1\" You will need to install python3-pyserial and minicom\u2026","rel":"","context":"In &quot;General&quot;","block_context":{"text":"General","link":"https:\/\/www.flamingspork.com\/blog\/category\/general\/"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":360,"url":"https:\/\/www.flamingspork.com\/blog\/2005\/02\/15\/software-raid-is-the-suck\/","url_meta":{"origin":364,"position":4},"title":"Software raid is the suck","author":"Stewart Smith","date":"2005-02-15","format":false,"excerpt":"Has anyone actually gotten the Hoary installer to do anything useful with software raid? like, i'd like it to: a) recognise my 200GB \/home raid b) create one for \/","rel":"","context":"In &quot;General&quot;","block_context":{"text":"General","link":"https:\/\/www.flamingspork.com\/blog\/category\/general\/"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":1193,"url":"https:\/\/www.flamingspork.com\/blog\/2008\/09\/05\/openofficeorg-3-dev-release\/","url_meta":{"origin":364,"position":5},"title":"OpenOffice.org 3 dev release","author":"Stewart Smith","date":"2008-09-05","format":false,"excerpt":"So after seeing Paul Fenwick rave about the presenter screen for OO 3, I decided to grab the debs and give it a go. It still is very slow opening large presentations (i.e. mine), but it does look nicer at least... well... at least some of the widgets do. Will\u2026","rel":"","context":"In &quot;sun&quot;","block_context":{"text":"sun","link":"https:\/\/www.flamingspork.com\/blog\/category\/work-et-al\/sun\/"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]}],"jetpack_likes_enabled":true,"_links":{"self":[{"href":"https:\/\/www.flamingspork.com\/blog\/wp-json\/wp\/v2\/posts\/364","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.flamingspork.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.flamingspork.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.flamingspork.com\/blog\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/www.flamingspork.com\/blog\/wp-json\/wp\/v2\/comments?post=364"}],"version-history":[{"count":0,"href":"https:\/\/www.flamingspork.com\/blog\/wp-json\/wp\/v2\/posts\/364\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.flamingspork.com\/blog\/wp-json\/wp\/v2\/media?parent=364"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.flamingspork.com\/blog\/wp-json\/wp\/v2\/categories?post=364"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.flamingspork.com\/blog\/wp-json\/wp\/v2\/tags?post=364"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}