{"id":789,"date":"2007-02-12T11:41:06","date_gmt":"2007-02-12T01:41:06","guid":{"rendered":"http:\/\/www.flamingspork.com\/blog\/2007\/02\/12\/raid-lvm2-on-usb-disks-with-ubuntu-makes-me-a-sad-panda\/"},"modified":"2007-02-12T11:41:06","modified_gmt":"2007-02-12T01:41:06","slug":"raid-lvm2-on-usb-disks-with-ubuntu-makes-me-a-sad-panda","status":"publish","type":"post","link":"https:\/\/www.flamingspork.com\/blog\/2007\/02\/12\/raid-lvm2-on-usb-disks-with-ubuntu-makes-me-a-sad-panda\/","title":{"rendered":"RAID, LVM2 on USB disks with Ubuntu makes me a sad panda"},"content":{"rendered":"<p>Talk about a total pain to operate. After a reboot, the following is needed:<\/p>\n<ol>\n<li>modprobe dm_snapshot (if you don&#8217;t do this, you get &#8220;device-mapper: reload ioctl failed: Invalid argument&#8221; in step 6 &#8211; a <strong>really<\/strong> helpful error message. no dmesg or verbose things gets you any closer)<\/li>\n<li>some magic foo to scan the md array back<\/li>\n<li>pvscan<\/li>\n<li>vgscan<\/li>\n<li>lvscan<\/li>\n<li>lvchange -ay FooVG\/barLV<\/li>\n<li>mount<\/li>\n<li>urgh.<\/li>\n<\/ol>\n<p>Why this doesn&#8217;t just all detect itself on boot who knows. I&#8217;m surely not the only one doing this&#8230;.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Talk about a total pain to operate. After a reboot, the following is needed: modprobe dm_snapshot (if you don&#8217;t do this, you get &#8220;device-mapper: reload ioctl failed: Invalid argument&#8221; in step 6 &#8211; a really helpful error message. no dmesg &hellip; <a href=\"https:\/\/www.flamingspork.com\/blog\/2007\/02\/12\/raid-lvm2-on-usb-disks-with-ubuntu-makes-me-a-sad-panda\/\">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_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":"","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}},"categories":[1],"tags":[],"class_list":["post-789","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-cJ","jetpack-related-posts":[],"jetpack_likes_enabled":true,"_links":{"self":[{"href":"https:\/\/www.flamingspork.com\/blog\/wp-json\/wp\/v2\/posts\/789","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=789"}],"version-history":[{"count":1,"href":"https:\/\/www.flamingspork.com\/blog\/wp-json\/wp\/v2\/posts\/789\/revisions"}],"predecessor-version":[{"id":1699,"href":"https:\/\/www.flamingspork.com\/blog\/wp-json\/wp\/v2\/posts\/789\/revisions\/1699"}],"wp:attachment":[{"href":"https:\/\/www.flamingspork.com\/blog\/wp-json\/wp\/v2\/media?parent=789"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.flamingspork.com\/blog\/wp-json\/wp\/v2\/categories?post=789"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.flamingspork.com\/blog\/wp-json\/wp\/v2\/tags?post=789"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}