{"id":36,"date":"2006-05-12T11:43:16","date_gmt":"2006-05-12T11:43:16","guid":{"rendered":"https:\/\/www.bishnet.net\/tim\/blog\/2006\/05\/12\/erm-whoops\/"},"modified":"2010-11-11T13:01:57","modified_gmt":"2010-11-11T13:01:57","slug":"erm-whoops","status":"publish","type":"post","link":"https:\/\/www.bishnet.net\/tim\/blog\/2006\/05\/12\/erm-whoops\/","title":{"rendered":"Erm, whoops?"},"content":{"rendered":"<p>I&#8217;d finally finished migrating everything off the old myrtle disk arrays, so I was feeling quite pleased. I&#8217;d just unplugged the last array from myrtle and plugged\u00c2\u00a0it in to the test machine for wiping. Then I tried to log in to the machine room SunRay, but strangely it didn&#8217;t work.<\/p>\n<p>I checked the console logs for myrtle and was surprised to see it counting &#8220;12%&#8230; 13%&#8230; 14%&#8221;. I glanced up and saw my colleagues attempting to come in to the machine room and tell me something, but for some reason were unable to open the door. Scrolling\u00c2\u00a0back\u00c2\u00a0over the console logs I\u00c2\u00a0saw what it was up to:<\/p>\n<blockquote><p>panic[cpu2]\/thread=2a100105d40: md: Panic due to lack of DiskSuite state\u00c2\u00a0database replicas. Fewer than 50% of the total were available,\u00c2\u00a0so panic to ensure data integrity.<\/p><\/blockquote>\n<p>That made immediate sense to me, and I gave myself a bit of a kick. The RAID system we use for internal disks, DiskSuite (actually Volume Manager now, but it seems they haven&#8217;t updated this error message), has state databases stored on every disk. On myrtle we had 6 &#8211; two on the internal disks, and one on each of the four disk arrays. You need <em>at least<\/em> 50% for things to work.<\/p>\n<p>A\u00c2\u00a0week or so ago I removed the first pair of arrays without any problems. At that point we had 4 out of 6 databases. Today I removed the last 2 giving us only 2 remaining, which is less than 50%, and the machine dutifully paniced itself.<\/p>\n<p>Fixing it was made tricky by the fact that it could no longer mount the root filesystem because the RAID wouldn&#8217;t start. Thankfully the arrays were still to hand, so I just plugged them back in. After booting I removed the databases from the arrays, and added an additional one on each of the internal disks &#8211; this gives us 4 in total, 2 on each disk, which is what we normally do.<\/p>\n<p>I also used the handy opportunity to mount the new filestore directly on \/home and \/proj, rather than using symlinks.<\/p>\n<p>I&#8217;ll end this post with a bit of a rant. I can understand why the system won&#8217;t boot with less than 50% of the state databases &#8211; it has no way of knowing if they represent the correct state of things. But, what I don&#8217;t understand is why it needs to panic the system when it has less than 50%. It knows the remaining ones are\u00c2\u00a0valid because they&#8217;re currently in use. In fact panicing just makes it harder for the sysadmin to deal with the problem. Or am I missing something?<\/p>\n","protected":false},"excerpt":{"rendered":"<p>I&#8217;d finally finished migrating everything off the old myrtle disk arrays, so I was feeling quite pleased. I&#8217;d just unplugged the last array from myrtle and plugged\u00c2\u00a0it in to the test machine for wiping. Then I tried to log in to the machine room SunRay, but strangely it didn&#8217;t work. I checked the console logs for myrtle and was surprised &hellip;<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[2],"tags":[],"class_list":["post-36","post","type-post","status-publish","format-standard","hentry","category-work"],"aioseo_notices":[],"aioseo_head":"\n\t\t<!-- All in One SEO 5.0.0.1 - aioseo.com -->\n\t<meta name=\"description\" content=\"I&#039;d finally finished migrating everything off the old myrtle disk arrays, so I was feeling quite pleased. I&#039;d just unplugged the last array from myrtle and plugged\u00c2 it in to the test machine for wiping. Then I tried to log in to the machine room SunRay, but strangely it didn&#039;t work. I checked the console logs\" \/>\n\t<meta name=\"robots\" content=\"max-image-preview:large\" \/>\n\t<meta name=\"author\" content=\"Tim Bishop\"\/>\n\t<link rel=\"canonical\" href=\"https:\/\/www.bishnet.net\/tim\/blog\/2006\/05\/12\/erm-whoops\/\" \/>\n\t<meta name=\"generator\" content=\"All in One SEO (AIOSEO) 5.0.0.1\" \/>\n\t\t<meta property=\"og:locale\" content=\"en_GB\" \/>\n\t\t<meta property=\"og:site_name\" content=\"Tim Bishop |\" \/>\n\t\t<meta property=\"og:type\" content=\"article\" \/>\n\t\t<meta property=\"og:title\" content=\"Erm, whoops? | Tim Bishop\" \/>\n\t\t<meta property=\"og:description\" content=\"I&#039;d finally finished migrating everything off the old myrtle disk arrays, so I was feeling quite pleased. I&#039;d just unplugged the last array from myrtle and plugged\u00c2 it in to the test machine for wiping. Then I tried to log in to the machine room SunRay, but strangely it didn&#039;t work. I checked the console logs\" \/>\n\t\t<meta property=\"og:url\" content=\"https:\/\/www.bishnet.net\/tim\/blog\/2006\/05\/12\/erm-whoops\/\" \/>\n\t\t<meta property=\"article:published_time\" content=\"2006-05-12T11:43:16+00:00\" \/>\n\t\t<meta property=\"article:modified_time\" content=\"2010-11-11T13:01:57+00:00\" \/>\n\t\t<meta name=\"twitter:card\" content=\"summary\" \/>\n\t\t<meta name=\"twitter:title\" content=\"Erm, whoops? | Tim Bishop\" \/>\n\t\t<meta name=\"twitter:description\" content=\"I&#039;d finally finished migrating everything off the old myrtle disk arrays, so I was feeling quite pleased. I&#039;d just unplugged the last array from myrtle and plugged\u00c2 it in to the test machine for wiping. Then I tried to log in to the machine room SunRay, but strangely it didn&#039;t work. I checked the console logs\" \/>\n\t\t<script type=\"application\/ld+json\" class=\"aioseo-schema\">\n\t\t\t{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/www.bishnet.net\\\/tim\\\/blog\\\/2006\\\/05\\\/12\\\/erm-whoops\\\/#article\",\"name\":\"Erm, whoops? | Tim Bishop\",\"headline\":\"Erm, whoops?\",\"author\":{\"@id\":\"https:\\\/\\\/www.bishnet.net\\\/tim\\\/blog\\\/author\\\/admin\\\/#author\"},\"publisher\":{\"@id\":\"https:\\\/\\\/www.bishnet.net\\\/tim\\\/blog\\\/#person\"},\"image\":{\"@type\":\"ImageObject\",\"@id\":\"https:\\\/\\\/www.bishnet.net\\\/tim\\\/blog\\\/2006\\\/05\\\/12\\\/erm-whoops\\\/#articleImage\",\"url\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/e954b8a434eb09bf9aeb19e62dee801380a15d8eb88101a8ac5d5d6b52184a10?s=96&d=mm&r=g\",\"width\":96,\"height\":96,\"caption\":\"Tim Bishop\"},\"datePublished\":\"2006-05-12T11:43:16+01:00\",\"dateModified\":\"2010-11-11T13:01:57+00:00\",\"inLanguage\":\"en-GB\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/www.bishnet.net\\\/tim\\\/blog\\\/2006\\\/05\\\/12\\\/erm-whoops\\\/#webpage\"},\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.bishnet.net\\\/tim\\\/blog\\\/2006\\\/05\\\/12\\\/erm-whoops\\\/#webpage\"},\"articleSection\":\"Work\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/www.bishnet.net\\\/tim\\\/blog\\\/2006\\\/05\\\/12\\\/erm-whoops\\\/#breadcrumblist\",\"itemListElement\":[{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/www.bishnet.net\\\/tim\\\/blog#listItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/www.bishnet.net\\\/tim\\\/blog\",\"nextItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/www.bishnet.net\\\/tim\\\/blog\\\/category\\\/work\\\/#listItem\",\"name\":\"Work\"}},{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/www.bishnet.net\\\/tim\\\/blog\\\/category\\\/work\\\/#listItem\",\"position\":2,\"name\":\"Work\",\"item\":\"https:\\\/\\\/www.bishnet.net\\\/tim\\\/blog\\\/category\\\/work\\\/\",\"nextItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/www.bishnet.net\\\/tim\\\/blog\\\/2006\\\/05\\\/12\\\/erm-whoops\\\/#listItem\",\"name\":\"Erm, whoops?\"},\"previousItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/www.bishnet.net\\\/tim\\\/blog#listItem\",\"name\":\"Home\"}},{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/www.bishnet.net\\\/tim\\\/blog\\\/2006\\\/05\\\/12\\\/erm-whoops\\\/#listItem\",\"position\":3,\"name\":\"Erm, whoops?\",\"previousItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/www.bishnet.net\\\/tim\\\/blog\\\/category\\\/work\\\/#listItem\",\"name\":\"Work\"}}]},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/www.bishnet.net\\\/tim\\\/blog\\\/#person\",\"name\":\"Tim Bishop\"},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/www.bishnet.net\\\/tim\\\/blog\\\/author\\\/admin\\\/#author\",\"url\":\"https:\\\/\\\/www.bishnet.net\\\/tim\\\/blog\\\/author\\\/admin\\\/\",\"name\":\"Tim Bishop\",\"image\":{\"@type\":\"ImageObject\",\"@id\":\"https:\\\/\\\/www.bishnet.net\\\/tim\\\/blog\\\/2006\\\/05\\\/12\\\/erm-whoops\\\/#authorImage\",\"url\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/e954b8a434eb09bf9aeb19e62dee801380a15d8eb88101a8ac5d5d6b52184a10?s=96&d=mm&r=g\",\"width\":96,\"height\":96,\"caption\":\"Tim Bishop\"}},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/www.bishnet.net\\\/tim\\\/blog\\\/2006\\\/05\\\/12\\\/erm-whoops\\\/#webpage\",\"url\":\"https:\\\/\\\/www.bishnet.net\\\/tim\\\/blog\\\/2006\\\/05\\\/12\\\/erm-whoops\\\/\",\"name\":\"Erm, whoops? | Tim Bishop\",\"description\":\"I'd finally finished migrating everything off the old myrtle disk arrays, so I was feeling quite pleased. I'd just unplugged the last array from myrtle and plugged\\u00c2 it in to the test machine for wiping. Then I tried to log in to the machine room SunRay, but strangely it didn't work. I checked the console logs\",\"inLanguage\":\"en-GB\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.bishnet.net\\\/tim\\\/blog\\\/#website\"},\"breadcrumb\":{\"@id\":\"https:\\\/\\\/www.bishnet.net\\\/tim\\\/blog\\\/2006\\\/05\\\/12\\\/erm-whoops\\\/#breadcrumblist\"},\"author\":{\"@id\":\"https:\\\/\\\/www.bishnet.net\\\/tim\\\/blog\\\/author\\\/admin\\\/#author\"},\"creator\":{\"@id\":\"https:\\\/\\\/www.bishnet.net\\\/tim\\\/blog\\\/author\\\/admin\\\/#author\"},\"datePublished\":\"2006-05-12T11:43:16+01:00\",\"dateModified\":\"2010-11-11T13:01:57+00:00\"},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/www.bishnet.net\\\/tim\\\/blog\\\/#website\",\"url\":\"https:\\\/\\\/www.bishnet.net\\\/tim\\\/blog\\\/\",\"name\":\"Tim Bishop\",\"inLanguage\":\"en-GB\",\"publisher\":{\"@id\":\"https:\\\/\\\/www.bishnet.net\\\/tim\\\/blog\\\/#person\"}}]}\n\t\t<\/script>\n\t\t<!-- All in One SEO -->\n\n","aioseo_head_json":{"title":"Erm, whoops? | Tim Bishop","description":"I'd finally finished migrating everything off the old myrtle disk arrays, so I was feeling quite pleased. I'd just unplugged the last array from myrtle and plugged\u00c2 it in to the test machine for wiping. Then I tried to log in to the machine room SunRay, but strangely it didn't work. I checked the console logs","canonical_url":"https:\/\/www.bishnet.net\/tim\/blog\/2006\/05\/12\/erm-whoops\/","robots":"max-image-preview:large","keywords":"","webmasterTools":{"miscellaneous":""},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/www.bishnet.net\/tim\/blog\/2006\/05\/12\/erm-whoops\/#article","name":"Erm, whoops? | Tim Bishop","headline":"Erm, whoops?","author":{"@id":"https:\/\/www.bishnet.net\/tim\/blog\/author\/admin\/#author"},"publisher":{"@id":"https:\/\/www.bishnet.net\/tim\/blog\/#person"},"image":{"@type":"ImageObject","@id":"https:\/\/www.bishnet.net\/tim\/blog\/2006\/05\/12\/erm-whoops\/#articleImage","url":"https:\/\/secure.gravatar.com\/avatar\/e954b8a434eb09bf9aeb19e62dee801380a15d8eb88101a8ac5d5d6b52184a10?s=96&d=mm&r=g","width":96,"height":96,"caption":"Tim Bishop"},"datePublished":"2006-05-12T11:43:16+01:00","dateModified":"2010-11-11T13:01:57+00:00","inLanguage":"en-GB","mainEntityOfPage":{"@id":"https:\/\/www.bishnet.net\/tim\/blog\/2006\/05\/12\/erm-whoops\/#webpage"},"isPartOf":{"@id":"https:\/\/www.bishnet.net\/tim\/blog\/2006\/05\/12\/erm-whoops\/#webpage"},"articleSection":"Work"},{"@type":"BreadcrumbList","@id":"https:\/\/www.bishnet.net\/tim\/blog\/2006\/05\/12\/erm-whoops\/#breadcrumblist","itemListElement":[{"@type":"ListItem","@id":"https:\/\/www.bishnet.net\/tim\/blog#listItem","position":1,"name":"Home","item":"https:\/\/www.bishnet.net\/tim\/blog","nextItem":{"@type":"ListItem","@id":"https:\/\/www.bishnet.net\/tim\/blog\/category\/work\/#listItem","name":"Work"}},{"@type":"ListItem","@id":"https:\/\/www.bishnet.net\/tim\/blog\/category\/work\/#listItem","position":2,"name":"Work","item":"https:\/\/www.bishnet.net\/tim\/blog\/category\/work\/","nextItem":{"@type":"ListItem","@id":"https:\/\/www.bishnet.net\/tim\/blog\/2006\/05\/12\/erm-whoops\/#listItem","name":"Erm, whoops?"},"previousItem":{"@type":"ListItem","@id":"https:\/\/www.bishnet.net\/tim\/blog#listItem","name":"Home"}},{"@type":"ListItem","@id":"https:\/\/www.bishnet.net\/tim\/blog\/2006\/05\/12\/erm-whoops\/#listItem","position":3,"name":"Erm, whoops?","previousItem":{"@type":"ListItem","@id":"https:\/\/www.bishnet.net\/tim\/blog\/category\/work\/#listItem","name":"Work"}}]},{"@type":"Person","@id":"https:\/\/www.bishnet.net\/tim\/blog\/#person","name":"Tim Bishop"},{"@type":"Person","@id":"https:\/\/www.bishnet.net\/tim\/blog\/author\/admin\/#author","url":"https:\/\/www.bishnet.net\/tim\/blog\/author\/admin\/","name":"Tim Bishop","image":{"@type":"ImageObject","@id":"https:\/\/www.bishnet.net\/tim\/blog\/2006\/05\/12\/erm-whoops\/#authorImage","url":"https:\/\/secure.gravatar.com\/avatar\/e954b8a434eb09bf9aeb19e62dee801380a15d8eb88101a8ac5d5d6b52184a10?s=96&d=mm&r=g","width":96,"height":96,"caption":"Tim Bishop"}},{"@type":"WebPage","@id":"https:\/\/www.bishnet.net\/tim\/blog\/2006\/05\/12\/erm-whoops\/#webpage","url":"https:\/\/www.bishnet.net\/tim\/blog\/2006\/05\/12\/erm-whoops\/","name":"Erm, whoops? | Tim Bishop","description":"I'd finally finished migrating everything off the old myrtle disk arrays, so I was feeling quite pleased. I'd just unplugged the last array from myrtle and plugged\u00c2 it in to the test machine for wiping. Then I tried to log in to the machine room SunRay, but strangely it didn't work. I checked the console logs","inLanguage":"en-GB","isPartOf":{"@id":"https:\/\/www.bishnet.net\/tim\/blog\/#website"},"breadcrumb":{"@id":"https:\/\/www.bishnet.net\/tim\/blog\/2006\/05\/12\/erm-whoops\/#breadcrumblist"},"author":{"@id":"https:\/\/www.bishnet.net\/tim\/blog\/author\/admin\/#author"},"creator":{"@id":"https:\/\/www.bishnet.net\/tim\/blog\/author\/admin\/#author"},"datePublished":"2006-05-12T11:43:16+01:00","dateModified":"2010-11-11T13:01:57+00:00"},{"@type":"WebSite","@id":"https:\/\/www.bishnet.net\/tim\/blog\/#website","url":"https:\/\/www.bishnet.net\/tim\/blog\/","name":"Tim Bishop","inLanguage":"en-GB","publisher":{"@id":"https:\/\/www.bishnet.net\/tim\/blog\/#person"}}]},"og:locale":"en_GB","og:site_name":"Tim Bishop |","og:type":"article","og:title":"Erm, whoops? | Tim Bishop","og:description":"I'd finally finished migrating everything off the old myrtle disk arrays, so I was feeling quite pleased. I'd just unplugged the last array from myrtle and plugged\u00c2 it in to the test machine for wiping. Then I tried to log in to the machine room SunRay, but strangely it didn't work. I checked the console logs","og:url":"https:\/\/www.bishnet.net\/tim\/blog\/2006\/05\/12\/erm-whoops\/","article:published_time":"2006-05-12T11:43:16+00:00","article:modified_time":"2010-11-11T13:01:57+00:00","twitter:card":"summary","twitter:title":"Erm, whoops? | Tim Bishop","twitter:description":"I'd finally finished migrating everything off the old myrtle disk arrays, so I was feeling quite pleased. I'd just unplugged the last array from myrtle and plugged\u00c2 it in to the test machine for wiping. Then I tried to log in to the machine room SunRay, but strangely it didn't work. I checked the console logs"},"aioseo_meta_data":{"post_id":"36","title":null,"description":null,"keywords":null,"keyphrases":null,"primary_term":null,"canonical_url":null,"og_title":null,"og_description":null,"og_object_type":"default","og_image_type":"default","og_image_url":null,"og_image_width":null,"og_image_height":null,"og_image_custom_url":null,"og_image_custom_fields":null,"og_video":null,"og_custom_url":null,"og_article_section":null,"og_article_tags":null,"twitter_use_og":false,"twitter_card":"default","twitter_image_type":"default","twitter_image_url":null,"twitter_image_custom_url":null,"twitter_image_custom_fields":null,"twitter_title":null,"twitter_description":null,"schema":{"blockGraphs":[],"customGraphs":[],"default":{"data":{"Article":[],"Course":[],"Dataset":[],"FAQPage":[],"Movie":[],"Person":[],"Product":[],"ProductReview":[],"Car":[],"Recipe":[],"Service":[],"SoftwareApplication":[],"WebPage":[]},"graphName":"Article","isEnabled":true},"graphs":[]},"schema_type":"default","schema_type_options":null,"pillar_content":false,"robots_default":true,"robots_noindex":false,"robots_noarchive":false,"robots_nosnippet":false,"robots_nofollow":false,"robots_noimageindex":false,"robots_noodp":false,"robots_notranslate":false,"robots_max_snippet":null,"robots_max_videopreview":null,"robots_max_imagepreview":"large","priority":null,"frequency":null,"local_seo":null,"breadcrumb_settings":null,"limit_modified_date":false,"ai":null,"created":"2021-11-11 09:58:24","updated":"2025-07-14 14:56:37","focus_keyword":null,"additional_keywords":null,"truseo_locale":null,"seo_analyzer_scan_date":null},"aioseo_breadcrumb":"<div class=\"aioseo-breadcrumbs\"><span class=\"aioseo-breadcrumb\">\n\t\t\t<a href=\"https:\/\/www.bishnet.net\/tim\/blog\" title=\"Home\">Home<\/a>\n\t\t<\/span><span class=\"aioseo-breadcrumb-separator\">&raquo;<\/span><span class=\"aioseo-breadcrumb\">\n\t\t\t<a href=\"https:\/\/www.bishnet.net\/tim\/blog\/category\/work\/\" title=\"Work\">Work<\/a>\n\t\t<\/span><span class=\"aioseo-breadcrumb-separator\">&raquo;<\/span><span class=\"aioseo-breadcrumb\">\n\t\t\tErm, whoops?\n\t\t<\/span><\/div>","aioseo_breadcrumb_json":[{"label":"Home","link":"https:\/\/www.bishnet.net\/tim\/blog"},{"label":"Work","link":"https:\/\/www.bishnet.net\/tim\/blog\/category\/work\/"},{"label":"Erm, whoops?","link":"https:\/\/www.bishnet.net\/tim\/blog\/2006\/05\/12\/erm-whoops\/"}],"_links":{"self":[{"href":"https:\/\/www.bishnet.net\/tim\/blog\/wp-json\/wp\/v2\/posts\/36","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.bishnet.net\/tim\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.bishnet.net\/tim\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.bishnet.net\/tim\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.bishnet.net\/tim\/blog\/wp-json\/wp\/v2\/comments?post=36"}],"version-history":[{"count":1,"href":"https:\/\/www.bishnet.net\/tim\/blog\/wp-json\/wp\/v2\/posts\/36\/revisions"}],"predecessor-version":[{"id":377,"href":"https:\/\/www.bishnet.net\/tim\/blog\/wp-json\/wp\/v2\/posts\/36\/revisions\/377"}],"wp:attachment":[{"href":"https:\/\/www.bishnet.net\/tim\/blog\/wp-json\/wp\/v2\/media?parent=36"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.bishnet.net\/tim\/blog\/wp-json\/wp\/v2\/categories?post=36"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.bishnet.net\/tim\/blog\/wp-json\/wp\/v2\/tags?post=36"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}