CINXE.COM
Oneiric/SoftwareRaid - Ubuntu Wiki
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd"> <html> <head> <meta http-equiv="Content-Type" content="text/html;charset=utf-8"> <meta name="robots" content="index,nofollow"> <title>Oneiric/SoftwareRaid - Ubuntu Wiki</title> <script type="text/javascript" src="/moin_static198/common/js/common.js"></script> <script type="text/javascript"> <!-- var search_hint = "Search"; //--> </script> <link rel="stylesheet" type="text/css" charset="utf-8" media="all" href="/moin_static198/light/css/common.css"> <link rel="stylesheet" type="text/css" charset="utf-8" media="screen" href="/moin_static198/light/css/screen.css"> <link rel="stylesheet" type="text/css" charset="utf-8" media="print" href="/moin_static198/light/css/print.css"> <link rel="stylesheet" type="text/css" charset="utf-8" media="projection" href="/moin_static198/light/css/projection.css"> <!-- css only for MS IE6/IE7 browsers --> <!--[if lt IE 8]> <link rel="stylesheet" type="text/css" charset="utf-8" media="all" href="/moin_static198/light/css/msie.css"> <![endif]--> <link rel="alternate" title="Ubuntu Wiki: Oneiric/SoftwareRaid" href="/Oneiric/SoftwareRaid?diffs=1&show_att=1&action=rss_rc&unique=0&page=Oneiric%2FSoftwareRaid&ddiffs=1" type="application/rss+xml"> <link rel="Start" href="/Home"> <link rel="Alternate" title="Wiki Markup" href="/Oneiric/SoftwareRaid?action=raw"> <link rel="Alternate" media="print" title="Print View" href="/Oneiric/SoftwareRaid?action=print"> <link rel="Search" href="/FindPage"> <link rel="Index" href="/TitleIndex"> <link rel="Glossary" href="/WordIndex"> <link rel="Help" href="/HelpOnFormatting"> </head> <body lang="en" dir="ltr"> <!-- BEGIN HEADER --> <div id="wrapper" class="hfeed"> <div id="header"> <ul id="mothership"> <li> <a href="http://www.ubuntu.com/partners">Partners</a> </li> <li> <a href="http://www.ubuntu.com/support">Support</a> </li> <li> <a href="http://www.ubuntu.com/community">Community</a> </li> <li> <a href="http://www.ubuntu.com">Ubuntu.com</a> </li> </ul> <div id="orangeHeader"> <h1> <a href="/" title="Ubuntu Wiki"><span>Ubuntu Wiki</span></a> </h1> <div id="search-box"> <form id="searchform" method="get" action="/Oneiric/SoftwareRaid"> <div> <input type="hidden" name="action" value="fullsearch"> <input type="hidden" name="context" value="180"> <label for="searchinput">Search:</label> <input id="searchinput" type="text" name="value" value="" size="20" onfocus="searchFocus(this)" onblur="searchBlur(this)" onkeyup="searchChange(this)" onchange="searchChange(this)" alt="Search"> <input id="titlesearch" name="titlesearch" type="submit" value="Titles" alt="Search Titles"> <input id="fullsearch" name="fullsearch" type="submit" value="Text" alt="Search Full Text"> </div> </form> <script type="text/javascript"> <!--// Initialize search form var f = document.getElementById('searchform'); f.getElementsByTagName('label')[0].style.display = 'none'; var e = document.getElementById('searchinput'); searchChange(e); searchBlur(e); //--> </script> </div> </div> </div> <div id="wikinav"> <ul class="editbar"><li><span class="disabled">Immutable Page</span></li><li><a class="nbinfo" href="/Oneiric/SoftwareRaid?action=info" rel="nofollow">Info</a></li><li><a class="nbattachments" href="/Oneiric/SoftwareRaid?action=AttachFile" rel="nofollow">Attachments</a></li><li> <form class="actionsmenu" method="GET" action="/Oneiric/SoftwareRaid"> <div> <label>More Actions:</label> <select name="action" onchange="if ((this.selectedIndex != 0) && (this.options[this.selectedIndex].disabled == false)) { this.form.submit(); } this.selectedIndex = 0;"> <option value="raw">Raw Text</option> <option value="print">Print View</option> <option value="RenderAsDocbook">Render as Docbook</option> <option value="refresh">Delete Cache</option> <option value="show" disabled class="disabled">------------------------</option> <option value="SpellCheck">Check Spelling</option> <option value="LikePages">Like Pages</option> <option value="LocalSiteMap">Local Site Map</option> <option value="show" disabled class="disabled">------------------------</option> <option value="RenamePage" disabled class="disabled">Rename Page</option> <option value="CopyPage">Copy Page</option> <option value="DeletePage" disabled class="disabled">Delete Page</option> <option value="show" disabled class="disabled">------------------------</option> <option value="show" disabled class="disabled">Subscribe User</option> <option value="show" disabled class="disabled">------------------------</option> <option value="show" disabled class="disabled">Remove Spam</option> <option value="show" disabled class="disabled">Revert to this revision</option> <option value="PackagePages">Package Pages</option> <option value="SyncPages">Sync Pages</option> <option value="show" disabled class="disabled">------------------------</option> <option value="Load">Load</option> <option value="Save">Save</option> <option value="SlideShow">SlideShow</option> </select> <input type="submit" value="Do"> </div> <script type="text/javascript"> <!--// Init menu actionsMenuInit('More Actions:'); //--> </script> </form> </li></ul> <ul id="username"> <li><a href="/Home">Ubuntu Wiki</a></li> <li><a href="?action=login">Login</a></li> <li><a href="/HelpContents">Help</a></li> </ul> <hr class="clearBoth" /> </div> <div id="main"> <div id="container"> <div id="content"> <h2 class="entry-title"> <span><a href="/Oneiric/SoftwareRaid">SoftwareRaid</a></span> </h2> <div class="hentry post"> <div id="page" lang="en" dir="ltr"> <!-- END HEADER --><div dir="ltr" id="content" lang="en"><span class="anchor" id="top"></span> <span class="anchor" id="line-1"></span><span class="anchor" id="line-2"></span><span class="anchor" id="line-3"></span><ul><li><p class="line891"><strong>Launchpad Entry</strong>: <a class="interwiki" href="https://blueprints.launchpad.net/ubuntu/+spec/foundations-o-software-raid" title="UbuntuSpec">foundations-o-software-raid</a> <span class="anchor" id="line-4"></span></li><li><p class="line891"><strong>Created</strong>: 2011-05-19 <span class="anchor" id="line-5"></span></li><li><p class="line891"><strong>Contributors</strong>: <a href="/ClintByrum">ClintByrum</a> <span class="anchor" id="line-6"></span></li><li><p class="line891"><strong>Packages affected</strong>: mdadm <span class="anchor" id="line-7"></span><span class="anchor" id="line-8"></span></li></ul><p class="line867"> <h2 id="Summary">Summary</h2> <span class="anchor" id="line-9"></span><span class="anchor" id="line-10"></span><p class="line862">mdadm currently has a gaggle of open bugs, and every cycle the RAID ISO tests produce new and interesting bugs. It seems like we're doing something a bit wrong with Software RAID. There are some valid solutions here: <a class="https" href="https://wiki.ubuntu.com/ReliableRaid">https://wiki.ubuntu.com/ReliableRaid</a> which should be discussed and either refuted or implemented. <span class="anchor" id="line-11"></span><span class="anchor" id="line-12"></span><p class="line867"> <h2 id="Release_Note">Release Note</h2> <span class="anchor" id="line-13"></span><span class="anchor" id="line-14"></span><p class="line874">A number of long standing bugs in software RAID have been fixed, and a clear specification for how mdadm should work in Ubuntu has been written. <span class="anchor" id="line-15"></span><span class="anchor" id="line-16"></span><p class="line867"> <h2 id="Rationale">Rationale</h2> <span class="anchor" id="line-17"></span><span class="anchor" id="line-18"></span><p class="line874">mdadm, and the kernel's MD driver, are responsible for users' data storage. It must be as reliable as possible and the ways in which it works or does not work should be well known and documented. <span class="anchor" id="line-19"></span><span class="anchor" id="line-20"></span><p class="line874">Currently there are conflicting bug reports for mdadm in Ubuntu, and they all seem like potential bugs. This blueprint will attempt to remove any of the ambiguity of how mdadm is expected to work in Ubuntu. We also intend to assert the intentions of the upstream (mdadm and kernel md) authors' whenever possible. <span class="anchor" id="line-21"></span><span class="anchor" id="line-22"></span><p class="line867"> <h2 id="User_stories">User stories</h2> <span class="anchor" id="line-23"></span><span class="anchor" id="line-24"></span><p class="line874">As a system administrator, I want to have confidence that data stored on software RAID arrays will not be lost or corrupted on boot, and if there is a problem, I expect to be informed of it and for my configuration decisions to be respected. <span class="anchor" id="line-25"></span><span class="anchor" id="line-26"></span><p class="line867"> <h2 id="Assumptions">Assumptions</h2> <span class="anchor" id="line-27"></span><span class="anchor" id="line-28"></span><p class="line867"> <h2 id="Design">Design</h2> <span class="anchor" id="line-29"></span><span class="anchor" id="line-30"></span><p class="line874">The design is a large part of the work that needs to be done, as it involves reviewing existing reports and known fail modes and outlining how the system should handle them. <span class="anchor" id="line-31"></span><span class="anchor" id="line-32"></span><p class="line862">Note that this will incorporate elements from previous efforts to improve the RAID system, such as <a href="/ReliableRaid">ReliableRaid</a>, where possible. <span class="anchor" id="line-33"></span><span class="anchor" id="line-34"></span><p class="line867"> <h2 id="Implementation">Implementation</h2> <span class="anchor" id="line-35"></span><span class="anchor" id="line-36"></span><p class="line874">Pending Design section. <span class="anchor" id="line-37"></span><span class="anchor" id="line-38"></span><p class="line867"> <h2 id="Test.2FDemo_Plan">Test/Demo Plan</h2> <span class="anchor" id="line-39"></span><span class="anchor" id="line-40"></span><p class="line874">Testing will continue with the existing ISO testing for RAID 1, though other automated tests will be added if possible using the new automated server install testing suite. <span class="anchor" id="line-41"></span><span class="anchor" id="line-42"></span><p class="line867"> <h2 id="Unresolved_issues">Unresolved issues</h2> <span class="anchor" id="line-43"></span><span class="anchor" id="line-44"></span><p class="line867"><hr /><p class="line874"> <span class="anchor" id="line-45"></span><a href="/CategorySpec">CategorySpec</a> <span class="anchor" id="line-46"></span><span class="anchor" id="bottom"></span></div> <!-- BEGIN FOOTER --> <div id="pagebottom"></div> </div> <div class="entry-utility"> <span class="cat-links"> <p id="pageinfo" class="info" lang="en" dir="ltr">Oneiric/SoftwareRaid (last edited 2011-05-19 22:45:15 by <span title="??? @ cpe-76-94-215-209.socal.res.rr.com[76.94.215.209]">cpe-76-94-215-209</span>)</p> </span> </div> </div><!-- .post --> </div><!-- #content --> </div><!-- #container --> <div class="clearBoth"></div> </div><!-- #main --> </div><!-- #wrapper .hfeed --> <div id="footer"> <div id="siteinfo"> <p> The material on this wiki is available under a free license, see <a href="https://help.ubuntu.com/community/License">Copyright / License</a> for details. </p> </div><!-- #siteinfo --> </div><!-- #footer --> <script> (function(i,s,o,g,r,a,m){ i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){(i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m) })(window,document,'script','//www.google-analytics.com/analytics.js','ga'); ga('create', 'UA-1018242-7', 'auto'); ga('send', 'pageview'); </script></body> </html>