{"id":283,"date":"2025-10-10T11:15:30","date_gmt":"2025-10-10T11:15:30","guid":{"rendered":"https:\/\/raidzfscalculator.com\/?page_id=283"},"modified":"2025-11-30T19:12:20","modified_gmt":"2025-11-30T19:12:20","slug":"rebuild-time-calculator","status":"publish","type":"page","link":"https:\/\/raidzfscalculator.com\/en\/rebuild-time-calculator\/","title":{"rendered":"Rebuild time calculator"},"content":{"rendered":"\n[et_pb_section fb_built=&#8221;1&#8243; _builder_version=&#8221;4.27.4&#8243; _module_preset=&#8221;default&#8221; global_colors_info=&#8221;{}&#8221;][et_pb_row column_structure=&#8221;1_2,1_2&#8243; _builder_version=&#8221;4.27.4&#8243; _module_preset=&#8221;default&#8221; global_colors_info=&#8221;{}&#8221; theme_builder_area=&#8221;post_content&#8221;][et_pb_column type=&#8221;1_2&#8243; _builder_version=&#8221;4.27.4&#8243; _module_preset=&#8221;default&#8221; global_colors_info=&#8221;{}&#8221; theme_builder_area=&#8221;post_content&#8221;][et_pb_blurb url=&#8221;https:\/\/raidzfscalculator.com\/&#8221; image=&#8221;https:\/\/www.raidzfscalculator.com\/en\/wp-content\/uploads\/2025\/11\/icons8-la-france-48.png&#8221; alt=&#8221;RAID ZFS CALCULATOR FIO  RESULT VIEWER&#8221; _builder_version=&#8221;4.27.4&#8243; _module_preset=&#8221;default&#8221; global_colors_info=&#8221;{}&#8221; theme_builder_area=&#8221;post_content&#8221;]<p style=\"text-align: center;\"><strong>Site en Fran\u00e7ais<\/strong><\/p>[\/et_pb_blurb][\/et_pb_column][et_pb_column type=&#8221;1_2&#8243; _builder_version=&#8221;4.27.4&#8243; _module_preset=&#8221;default&#8221; global_colors_info=&#8221;{}&#8221; theme_builder_area=&#8221;post_content&#8221;][et_pb_blurb url=&#8221;https:\/\/www.raidzfscalculator.com\/en\/&#8221; image=&#8221;https:\/\/www.raidzfscalculator.com\/en\/wp-content\/uploads\/2025\/11\/icons8-grande-bretagne-48.png&#8221; alt=&#8221;RAID ZFS CALCULATOR FIO RESULT VIEWER&#8221; _builder_version=&#8221;4.27.4&#8243; _module_preset=&#8221;default&#8221; global_colors_info=&#8221;{}&#8221; theme_builder_area=&#8221;post_content&#8221;]<p style=\"text-align: center;\"><strong>Website in english<\/strong><\/p>[\/et_pb_blurb][\/et_pb_column][\/et_pb_row][et_pb_row _builder_version=&#8221;4.16&#8243; global_colors_info=&#8221;{}&#8221;][et_pb_column type=&#8221;4_4&#8243; _builder_version=&#8221;4.16&#8243; custom_padding=&#8221;|||&#8221; global_colors_info=&#8221;{}&#8221; parallax__hover=&#8221;off&#8221; parallax_method__hover=&#8221;on&#8221; custom_padding__hover=&#8221;|||&#8221;][et_pb_divider color=&#8221;#1ca5ff&#8221; divider_weight=&#8221;16px&#8221; _builder_version=&#8221;4.16&#8243; max_width=&#8221;48px&#8221; locked=&#8221;off&#8221; global_colors_info=&#8221;{}&#8221;][\/et_pb_divider][et_pb_text _builder_version=&#8221;4.16&#8243; text_font=&#8221;||||||||&#8221; text_line_height=&#8221;2em&#8221; header_font=&#8221;Poppins|600|||||||&#8221; header_font_size=&#8221;50px&#8221; header_line_height=&#8221;1.3em&#8221; header_font_size_tablet=&#8221;30px&#8221; header_font_size_phone=&#8221;24px&#8221; header_font_size_last_edited=&#8221;on|phone&#8221; global_colors_info=&#8221;{}&#8221;]<h1>Rebuild time calculator<\/h1>[\/et_pb_text][\/et_pb_column][\/et_pb_row][et_pb_row _builder_version=&#8221;4.27.4&#8243; _module_preset=&#8221;default&#8221; global_colors_info=&#8221;{}&#8221;][et_pb_column type=&#8221;4_4&#8243; _builder_version=&#8221;4.27.4&#8243; _module_preset=&#8221;default&#8221; global_colors_info=&#8221;{}&#8221;][et_pb_text _builder_version=&#8221;4.27.4&#8243; _module_preset=&#8221;default&#8221; global_colors_info=&#8221;{}&#8221;]<h2>Rebuild Time Calculator: Control the Risk of RAID Double Failure<\/h2>\n<p>&nbsp;<\/p>\n<p>The moment a RAID disk fails is critical. The time it takes to rebuild onto a new spare disk is the most dangerous period for your data. If a second disk fails during this phase, data loss is guaranteed (except in RAID 6\/Z2).<\/p>\n<p>Our Reconstruction Time Calculator gives you a critical estimate in hours and minutes, allowing you to plan for risk windows and ensure the reliability of your infrastructure.<\/p>\n<p>&nbsp;<\/p>\n<h3>Why is Rebuild Time Crucial?<\/h3>\n<p>&nbsp;<\/p>\n<ul>\n<li>Vulnerability Window (MTTR): The longer the rebuild takes, the higher the probability of a second failure (known as a &#8220;double failure&#8221;). This tool quantifies this risk.<\/li>\n<li>Disk Performance: Rebuild speed is limited by the sequential read throughput of the smaller capacity disk and not by the theoretical speed of the controller.<\/li>\n<li>Planning: Determine if you need faster spare drives (Hot Spares SSD or Fast Cold Spares HDD) to reduce this risk window.<\/li>\n<\/ul>\n<p>&nbsp;<\/p>\n<h3>How does the calculation work?<\/h3>\n<p>&nbsp;<\/p>\n<p>The calculation is simple yet powerful: it divides the capacity of the failed disk (in GB) by the effective read speed (in MB\/s) of the other disks, applying a load factor to simulate system slowdown during the operation.<\/p>\n<p>Enter your disk size, RAID level (for context), and your hardware&#8217;s read speed to get an accurate, quantifiable estimate. Plan for resilience, not failure.<\/p>[\/et_pb_text][\/et_pb_column][\/et_pb_row][et_pb_row _builder_version=&#8221;4.27.4&#8243; _module_preset=&#8221;default&#8221; global_colors_info=&#8221;{}&#8221;][et_pb_column type=&#8221;4_4&#8243; _builder_version=&#8221;4.27.4&#8243; _module_preset=&#8221;default&#8221; global_colors_info=&#8221;{}&#8221;][et_pb_code _builder_version=&#8221;4.27.4&#8243; _module_preset=&#8221;default&#8221; global_colors_info=&#8221;{}&#8221;]        <style>\n        \/* Styles coh\u00e9rents *\/\n        .rebuild-calc{max-width:800px;margin:0 auto;font-family:-apple-system,BlinkMacSystemFont,'Segoe UI',Roboto,sans-serif}\n        .calc-container{background:#fff;border-radius:12px;box-shadow:0 4px 20px rgba(0,0,0,.1);padding:30px;margin:20px 0}\n        .calc-title{font-size:2rem;font-weight:700;color:#1a202c;margin-bottom:20px;text-align:center}\n        .section h3{font-size:1.5rem;font-weight:600;color:#1e293b;margin-bottom:20px;border-bottom:2px solid #e2e8f0;padding-bottom:10px}\n        .config-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(250px,1fr));gap:25px;margin-bottom:30px}\n        .input-group{display:flex;flex-direction:column;gap:8px}\n        .input-group label{font-weight:600;color:#374151;font-size:14px}\n        .input-group input,.input-group select{padding:12px 16px;border:2px solid #d1d5db;border-radius:8px;font-size:15px;transition:all .3s ease}\n        .input-group input:focus,.input-group select:focus{outline:none;border-color:#3b82f6;box-shadow:0 0 0 3px rgba(59,130,246,.1)}\n        .action-btn{background:linear-gradient(135deg,#10b981 0%,#059669 100%);color:#fff;border:none;padding:12px 24px;border-radius:8px;font-weight:600;cursor:pointer;transition:all .3s ease;font-size:15px;margin-top:8px}\n        .action-btn:hover{background:linear-gradient(135deg,#059669 0%,#047857 100%);transform:translateY(-2px);box-shadow:0 4px 12px rgba(16,185,129,.4)}\n        .results{background:linear-gradient(135deg,#f8fafc 0%,#f1f5f9 100%);border-radius:12px;padding:30px;border:2px solid #e2e8f0;display:none;margin-top:30px;text-align:center}\n        .results.show{display:block}\n        .result-value{font-size:3rem;font-weight:700;color:#dc2626;margin-bottom:8px}\n        .result-label{font-size:16px;color:#64748b;font-weight:500}\n        .note{font-size:14px; color:#9a3412; background:#fff7ed; border-left:4px solid #f97316; padding:15px; border-radius:8px; margin-top: 20px;}\n        <\/style>\n\n        <div class=\"rebuild-calc\">\n            <div class=\"calc-container\">\n                <h1 class=\"calc-title\">\u23f1\ufe0fRAID Rebuild Time Calculator<\/h1>\n                \n                <div class=\"section\">\n                    <h3>Reconstruction Settings<\/h3>\n                    <div class=\"config-grid\">\n                        <div class=\"input-group\">\n                            <label>RAID level concerned<\/label>\n                            <select id=\"raidLevelSelect\" onchange=\"Calculator.calculate()\" style=\"padding:12px 16px;border:2px solid #d1d5db;border-radius:8px;font-size:15px;\">\n                                <option value=\"RAID 5\">RAID 5 \/ RAIDZ1<\/option>\n                                <option value=\"RAID 6\">RAID 6 \/ RAIDZ2<\/option>\n                                <option value=\"RAID 10\">RAID 10<\/option>\n                                <option value=\"RAID 1\">RAID 1<\/option>\n                            <\/select>\n                        <\/div>\n                        <div class=\"input-group\">\n                            <label>Failing disk capacity (GB)<\/label>\n                            <input type=\"number\" id=\"diskCapacity\" placeholder=\"Ex: 20000\" value=\"20000\" min=\"100\">\n                        <\/div>\n                        <div class=\"input-group\">\n                            <label>Sequential reading speed (Mo\/s)<\/label>\n                            <input type=\"number\" id=\"driveReadSpeed\" placeholder=\"Ex: 285 (HDD) ou 500 (SSD)\" value=\"285\" min=\"10\">\n                        <\/div>\n                        <div class=\"input-group\">\n                            <label>System Load Factor (%)<\/label>\n                            <input type=\"number\" id=\"loadFactor\" placeholder=\"Ex: 75\" value=\"75\" min=\"1\" max=\"100\">\n                            <small>Estimated RAID load during rebuild (affects speed).<\/small>\n                        <\/div>\n                    <\/div>\n                <\/div>\n\n                <div class=\"section\">\n                    <button class=\"action-btn\" onclick=\"Calculator.calculate()\">\ud83e\uddee Calculate Time<\/button>\n                <\/div>\n                \n                <div class=\"results\" id=\"rebuildResults\">\n                    <div class=\"result-value\" id=\"rebuildTimeDisplay\">0h 0min<\/div>\n                    <div class=\"result-label\">Estimated time to rebuild the disk<\/div>\n                    <div class=\"note\">\n                        <span id=\"raidContext\"><\/span>\n                        This estimation assumes that the spare disk is immediately available. The speed is limited by the read speed of the other disks in the RAID group.\n                    <\/div>\n                <\/div>\n            <\/div>\n        <\/div>\n\n        <script>\n        const Calculator = {\n\n            \/\/ Calcul du Temps de Reconstruction (Rebuild Time) en heures\n            calculateRebuildTime: function(capacityGB, driveReadSpeed, loadFactorPercent) {\n                if (capacityGB <= 0 || driveReadSpeed <= 0 || loadFactorPercent <= 0) return Infinity;\n\n                \/\/ 1. D\u00e9bit effectif\n                \/\/ Le d\u00e9bit est r\u00e9duit par la charge du syst\u00e8me. \n                const loadFactor = loadFactorPercent \/ 100;\n                const effectiveSpeedMBps = driveReadSpeed * loadFactor;\n                \n                if (effectiveSpeedMBps <= 0) return Infinity;\n\n                \/\/ 2. Capacit\u00e9 totale \u00e0 copier\/reconstruire\n                const capacityMB = capacityGB * 1024; \/\/ Convertir GB en MB\n\n                \/\/ 3. Temps en secondes = Capacit\u00e9MB \/ VitesseEffectiveMBps\n                const timeInSeconds = capacityMB \/ effectiveSpeedMBps;\n                \n                \/\/ 4. Temps en heures\n                return timeInSeconds \/ 3600; \n            },\n\n            \/\/ Fonction principale appel\u00e9e par le bouton\n            calculate: function() {\n                const raidLevel = document.getElementById('raidLevelSelect').value;\n                const capacity = parseInt(document.getElementById('diskCapacity').value);\n                const speed = parseInt(document.getElementById('driveReadSpeed').value);\n                const loadFactor = parseInt(document.getElementById('loadFactor').value);\n\n                \/\/ Mettre \u00e0 jour le contexte RAID\n                document.getElementById('raidContext').innerHTML = `**Contexte RAID :** ${raidLevel}.`;\n\n                if (capacity < 100 || speed < 10 || loadFactor < 1 || loadFactor > 100) {\n                    document.getElementById('rebuildTimeDisplay').textContent = 'Erreur de Saisie';\n                    document.getElementById('rebuildResults').classList.add('show');\n                    return;\n                }\n\n                const timeHours = this.calculateRebuildTime(capacity, speed, loadFactor);\n                \n                \/\/ Formatage de l'affichage\n                const h = Math.floor(timeHours);\n                const min = Math.round((timeHours - h) * 60);\n                \n                let timeString = '';\n                if (h > 0) {\n                     timeString += `${h}h `;\n                }\n                timeString += `${min}min`;\n\n                document.getElementById('rebuildTimeDisplay').textContent = timeString;\n                document.getElementById('rebuildResults').classList.add('show');\n            }\n        };\n        \n        \/\/ D\u00e9marrer l'application une fois le DOM charg\u00e9\n        document.addEventListener('DOMContentLoaded', function() {\n            \/\/ Lier le calcul aux entr\u00e9es pour un rafra\u00eechissement rapide\n            ['diskCapacity', 'driveReadSpeed', 'loadFactor', 'raidLevelSelect'].forEach(id => {\n                document.getElementById(id).addEventListener('input', Calculator.calculate);\n            });\n            \/\/ Calcul initial\n            Calculator.calculate();\n        });\n        <\/script>\n        [\/et_pb_code][\/et_pb_column][\/et_pb_row][\/et_pb_section]\n","protected":false},"excerpt":{"rendered":"<p>Site en Fran\u00e7aisWebsite in englishRebuild time calculatorRebuild Time Calculator: Control the Risk of RAID Double Failure &nbsp; The moment a RAID disk fails is critical. The time it takes to rebuild onto a new spare disk is the most dangerous period for your data. If a second disk fails during this phase, data loss is [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":382,"parent":0,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"_et_pb_use_builder":"on","_et_pb_old_content":"","_et_gb_content_width":"","footnotes":""},"class_list":["post-283","page","type-page","status-publish","has-post-thumbnail","hentry"],"_links":{"self":[{"href":"https:\/\/raidzfscalculator.com\/en\/wp-json\/wp\/v2\/pages\/283","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/raidzfscalculator.com\/en\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/raidzfscalculator.com\/en\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/raidzfscalculator.com\/en\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/raidzfscalculator.com\/en\/wp-json\/wp\/v2\/comments?post=283"}],"version-history":[{"count":3,"href":"https:\/\/raidzfscalculator.com\/en\/wp-json\/wp\/v2\/pages\/283\/revisions"}],"predecessor-version":[{"id":560,"href":"https:\/\/raidzfscalculator.com\/en\/wp-json\/wp\/v2\/pages\/283\/revisions\/560"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/raidzfscalculator.com\/en\/wp-json\/wp\/v2\/media\/382"}],"wp:attachment":[{"href":"https:\/\/raidzfscalculator.com\/en\/wp-json\/wp\/v2\/media?parent=283"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}