Convert single disk raid0 to raid1 on an LSI megaraid controllerDrive is failing but LSI MegaRAID controller does not detect itConfiguring RAID 10 using MegaRAID Storage Manager on an LSI 9260 RAID cardLSI MegaRAID SAS 9261-8i: Disk isn't recognized after replacementLSI MegaRAID - Recreate missing RAID 1 arrayMeasuring SSD wear out behind LSI MegaRAID controller?How does LSI MegaRAID actually lay out RAID10 sets?Linux- Convert 2 disk raid1 to raid0lsi megaraid 9260 single raid0 disk went unconfigured bad, please help recover datalsi megaraid convert raid 0 to raid 10 without data loss?lsi megaraid migrate raid 6 to raid 5 without data loss?

How did they achieve the Gunslinger's shining eye effect in Westworld?

How powerful is a "Breathe Air" spell?

How to tell your grandparent to not come to fetch you with their car?

Why doesn’t a normal window produce an apparent rainbow?

Do the English have an ancient (obsolete) verb for the action of the book opening?

Comparing and find out which feature has highest shape area in QGIS?

Do simulator games use a realistic trajectory to get into orbit?

Argon vs nitrogen for preserving wine

How much salt (or any other substance one can find in a kitchen) do I need to add to make water boil at 104 °C?

How did students remember what to practise between lessons without any sheet music?

Inconsistent behavior of compiler optimization of unused string

PhD - Well known professor or well known school?

Why only the fundamental frequency component is said to give useful power?

How does a transformer increase voltage while decreasing the current?

Russian equivalents of "no love lost"

How water is heavier than petrol eventhough its molecular weight less than petrol?

Can a user sell my software (MIT license) without modification?

Question about Jech's proof of V = L implies GCH

Is open-sourcing the code of a webapp not recommended?

How does an ordinary object become radioactive?

How would a aircraft visually signal in distress?

Why was the calendar not arranged so that Yom Kippur never falls on Shabbat?

Should I give professor gift at the beginning of my PhD?

How to retract an idea already pitched to an employer?



Convert single disk raid0 to raid1 on an LSI megaraid controller


Drive is failing but LSI MegaRAID controller does not detect itConfiguring RAID 10 using MegaRAID Storage Manager on an LSI 9260 RAID cardLSI MegaRAID SAS 9261-8i: Disk isn't recognized after replacementLSI MegaRAID - Recreate missing RAID 1 arrayMeasuring SSD wear out behind LSI MegaRAID controller?How does LSI MegaRAID actually lay out RAID10 sets?Linux- Convert 2 disk raid1 to raid0lsi megaraid 9260 single raid0 disk went unconfigured bad, please help recover datalsi megaraid convert raid 0 to raid 10 without data loss?lsi megaraid migrate raid 6 to raid 5 without data loss?






.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty height:90px;width:728px;box-sizing:border-box;








2















I have a server with an LSI Megaraid raid controller which has a single disk for the OS configured in raid0



What i want to do, is add a second brand new disk for redundancy and convert the raid0 to raid1 without losing the data on the first disk



Is it possible to do this with the Megaraid Controller ? If yes, is it maybe possible to do it without downtime as well ?



Could someone provide me with the megacli commands involved to achieve this?










share|improve this question

















  • 1





    Whether you can do it automatically via the controller or now I think everyone on this site would recommend backing up the server, rebuilding the array and restoring anyway - it's the only way to be sure it'll function as you wish.

    – Chopper3
    Apr 25 '16 at 8:42






  • 1





    @Chopper3 Why? The whole point with hardware RAID controllers is that they can do exactly these sorts of things. Yes, have a backup, but no need to rebuild and restore unless things go wrong.

    – Colin 't Hart
    Mar 21 '18 at 20:35











  • @Colin'tHart - because after over thirty years of doing this kind of work I've seen many 'RAID conversions' go badly wrong, and the problem isn not always immediately apparent. The user needs to act professionally so needs to backup the system anyway before trying this conversion - at which point there's only two ways forward - try the conversion or create the new R1 and restore. The only way to be absolutely sure that the new array is in a known good state is the latter option as your conversion may have introduced lost data without you knowing.

    – Chopper3
    Mar 22 '18 at 9:34

















2















I have a server with an LSI Megaraid raid controller which has a single disk for the OS configured in raid0



What i want to do, is add a second brand new disk for redundancy and convert the raid0 to raid1 without losing the data on the first disk



Is it possible to do this with the Megaraid Controller ? If yes, is it maybe possible to do it without downtime as well ?



Could someone provide me with the megacli commands involved to achieve this?










share|improve this question

















  • 1





    Whether you can do it automatically via the controller or now I think everyone on this site would recommend backing up the server, rebuilding the array and restoring anyway - it's the only way to be sure it'll function as you wish.

    – Chopper3
    Apr 25 '16 at 8:42






  • 1





    @Chopper3 Why? The whole point with hardware RAID controllers is that they can do exactly these sorts of things. Yes, have a backup, but no need to rebuild and restore unless things go wrong.

    – Colin 't Hart
    Mar 21 '18 at 20:35











  • @Colin'tHart - because after over thirty years of doing this kind of work I've seen many 'RAID conversions' go badly wrong, and the problem isn not always immediately apparent. The user needs to act professionally so needs to backup the system anyway before trying this conversion - at which point there's only two ways forward - try the conversion or create the new R1 and restore. The only way to be absolutely sure that the new array is in a known good state is the latter option as your conversion may have introduced lost data without you knowing.

    – Chopper3
    Mar 22 '18 at 9:34













2












2








2


1






I have a server with an LSI Megaraid raid controller which has a single disk for the OS configured in raid0



What i want to do, is add a second brand new disk for redundancy and convert the raid0 to raid1 without losing the data on the first disk



Is it possible to do this with the Megaraid Controller ? If yes, is it maybe possible to do it without downtime as well ?



Could someone provide me with the megacli commands involved to achieve this?










share|improve this question














I have a server with an LSI Megaraid raid controller which has a single disk for the OS configured in raid0



What i want to do, is add a second brand new disk for redundancy and convert the raid0 to raid1 without losing the data on the first disk



Is it possible to do this with the Megaraid Controller ? If yes, is it maybe possible to do it without downtime as well ?



Could someone provide me with the megacli commands involved to achieve this?







raid lsi megaraid






share|improve this question













share|improve this question











share|improve this question




share|improve this question










asked Apr 25 '16 at 8:15









Antony MatsoukasAntony Matsoukas

5115




5115







  • 1





    Whether you can do it automatically via the controller or now I think everyone on this site would recommend backing up the server, rebuilding the array and restoring anyway - it's the only way to be sure it'll function as you wish.

    – Chopper3
    Apr 25 '16 at 8:42






  • 1





    @Chopper3 Why? The whole point with hardware RAID controllers is that they can do exactly these sorts of things. Yes, have a backup, but no need to rebuild and restore unless things go wrong.

    – Colin 't Hart
    Mar 21 '18 at 20:35











  • @Colin'tHart - because after over thirty years of doing this kind of work I've seen many 'RAID conversions' go badly wrong, and the problem isn not always immediately apparent. The user needs to act professionally so needs to backup the system anyway before trying this conversion - at which point there's only two ways forward - try the conversion or create the new R1 and restore. The only way to be absolutely sure that the new array is in a known good state is the latter option as your conversion may have introduced lost data without you knowing.

    – Chopper3
    Mar 22 '18 at 9:34












  • 1





    Whether you can do it automatically via the controller or now I think everyone on this site would recommend backing up the server, rebuilding the array and restoring anyway - it's the only way to be sure it'll function as you wish.

    – Chopper3
    Apr 25 '16 at 8:42






  • 1





    @Chopper3 Why? The whole point with hardware RAID controllers is that they can do exactly these sorts of things. Yes, have a backup, but no need to rebuild and restore unless things go wrong.

    – Colin 't Hart
    Mar 21 '18 at 20:35











  • @Colin'tHart - because after over thirty years of doing this kind of work I've seen many 'RAID conversions' go badly wrong, and the problem isn not always immediately apparent. The user needs to act professionally so needs to backup the system anyway before trying this conversion - at which point there's only two ways forward - try the conversion or create the new R1 and restore. The only way to be absolutely sure that the new array is in a known good state is the latter option as your conversion may have introduced lost data without you knowing.

    – Chopper3
    Mar 22 '18 at 9:34







1




1





Whether you can do it automatically via the controller or now I think everyone on this site would recommend backing up the server, rebuilding the array and restoring anyway - it's the only way to be sure it'll function as you wish.

– Chopper3
Apr 25 '16 at 8:42





Whether you can do it automatically via the controller or now I think everyone on this site would recommend backing up the server, rebuilding the array and restoring anyway - it's the only way to be sure it'll function as you wish.

– Chopper3
Apr 25 '16 at 8:42




1




1





@Chopper3 Why? The whole point with hardware RAID controllers is that they can do exactly these sorts of things. Yes, have a backup, but no need to rebuild and restore unless things go wrong.

– Colin 't Hart
Mar 21 '18 at 20:35





@Chopper3 Why? The whole point with hardware RAID controllers is that they can do exactly these sorts of things. Yes, have a backup, but no need to rebuild and restore unless things go wrong.

– Colin 't Hart
Mar 21 '18 at 20:35













@Colin'tHart - because after over thirty years of doing this kind of work I've seen many 'RAID conversions' go badly wrong, and the problem isn not always immediately apparent. The user needs to act professionally so needs to backup the system anyway before trying this conversion - at which point there's only two ways forward - try the conversion or create the new R1 and restore. The only way to be absolutely sure that the new array is in a known good state is the latter option as your conversion may have introduced lost data without you knowing.

– Chopper3
Mar 22 '18 at 9:34





@Colin'tHart - because after over thirty years of doing this kind of work I've seen many 'RAID conversions' go badly wrong, and the problem isn not always immediately apparent. The user needs to act professionally so needs to backup the system anyway before trying this conversion - at which point there's only two ways forward - try the conversion or create the new R1 and restore. The only way to be absolutely sure that the new array is in a known good state is the latter option as your conversion may have introduced lost data without you knowing.

– Chopper3
Mar 22 '18 at 9:34










1 Answer
1






active

oldest

votes


















4














To answer my own question, it is infact possible to migrate live from a single drive raid0 to raid1 (providing an extra disk) with Megaraid cards



The megacli command is as follows (it can also be done from within the WebBios configuration utility of the raid controller):



megacli -ldrecon -start -r1 -add -physdrv[e:s] -l0 -a0


where [e:s] is the enclosure:slot_number of the extra disk and -l0 is the logical disk ID of the raid0 disk.



Someone can monitor the progress of the reconstruction by issuing the command:



megacli -ldrecon -showprog -l0 -a0





share|improve this answer

























  • I ended up with exactly same solution, but... Run "megacli -adpgetprop ReconRate -a0" and notice that you are doing a reshape at 30% speed. Sooo slooow. So I set the limit into 100% (the reshape was scheduled to a least-loaded time).

    – Nikita Kipriyanov
    Oct 3 '17 at 9:44











Your Answer








StackExchange.ready(function()
var channelOptions =
tags: "".split(" "),
id: "2"
;
initTagRenderer("".split(" "), "".split(" "), channelOptions);

StackExchange.using("externalEditor", function()
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled)
StackExchange.using("snippets", function()
createEditor();
);

else
createEditor();

);

function createEditor()
StackExchange.prepareEditor(
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
imageUploader:
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
,
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
);



);













draft saved

draft discarded


















StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fserverfault.com%2fquestions%2f772693%2fconvert-single-disk-raid0-to-raid1-on-an-lsi-megaraid-controller%23new-answer', 'question_page');

);

Post as a guest















Required, but never shown

























1 Answer
1






active

oldest

votes








1 Answer
1






active

oldest

votes









active

oldest

votes






active

oldest

votes









4














To answer my own question, it is infact possible to migrate live from a single drive raid0 to raid1 (providing an extra disk) with Megaraid cards



The megacli command is as follows (it can also be done from within the WebBios configuration utility of the raid controller):



megacli -ldrecon -start -r1 -add -physdrv[e:s] -l0 -a0


where [e:s] is the enclosure:slot_number of the extra disk and -l0 is the logical disk ID of the raid0 disk.



Someone can monitor the progress of the reconstruction by issuing the command:



megacli -ldrecon -showprog -l0 -a0





share|improve this answer

























  • I ended up with exactly same solution, but... Run "megacli -adpgetprop ReconRate -a0" and notice that you are doing a reshape at 30% speed. Sooo slooow. So I set the limit into 100% (the reshape was scheduled to a least-loaded time).

    – Nikita Kipriyanov
    Oct 3 '17 at 9:44















4














To answer my own question, it is infact possible to migrate live from a single drive raid0 to raid1 (providing an extra disk) with Megaraid cards



The megacli command is as follows (it can also be done from within the WebBios configuration utility of the raid controller):



megacli -ldrecon -start -r1 -add -physdrv[e:s] -l0 -a0


where [e:s] is the enclosure:slot_number of the extra disk and -l0 is the logical disk ID of the raid0 disk.



Someone can monitor the progress of the reconstruction by issuing the command:



megacli -ldrecon -showprog -l0 -a0





share|improve this answer

























  • I ended up with exactly same solution, but... Run "megacli -adpgetprop ReconRate -a0" and notice that you are doing a reshape at 30% speed. Sooo slooow. So I set the limit into 100% (the reshape was scheduled to a least-loaded time).

    – Nikita Kipriyanov
    Oct 3 '17 at 9:44













4












4








4







To answer my own question, it is infact possible to migrate live from a single drive raid0 to raid1 (providing an extra disk) with Megaraid cards



The megacli command is as follows (it can also be done from within the WebBios configuration utility of the raid controller):



megacli -ldrecon -start -r1 -add -physdrv[e:s] -l0 -a0


where [e:s] is the enclosure:slot_number of the extra disk and -l0 is the logical disk ID of the raid0 disk.



Someone can monitor the progress of the reconstruction by issuing the command:



megacli -ldrecon -showprog -l0 -a0





share|improve this answer















To answer my own question, it is infact possible to migrate live from a single drive raid0 to raid1 (providing an extra disk) with Megaraid cards



The megacli command is as follows (it can also be done from within the WebBios configuration utility of the raid controller):



megacli -ldrecon -start -r1 -add -physdrv[e:s] -l0 -a0


where [e:s] is the enclosure:slot_number of the extra disk and -l0 is the logical disk ID of the raid0 disk.



Someone can monitor the progress of the reconstruction by issuing the command:



megacli -ldrecon -showprog -l0 -a0






share|improve this answer














share|improve this answer



share|improve this answer








edited Apr 25 '16 at 12:40

























answered Apr 25 '16 at 11:26









Antony MatsoukasAntony Matsoukas

5115




5115












  • I ended up with exactly same solution, but... Run "megacli -adpgetprop ReconRate -a0" and notice that you are doing a reshape at 30% speed. Sooo slooow. So I set the limit into 100% (the reshape was scheduled to a least-loaded time).

    – Nikita Kipriyanov
    Oct 3 '17 at 9:44

















  • I ended up with exactly same solution, but... Run "megacli -adpgetprop ReconRate -a0" and notice that you are doing a reshape at 30% speed. Sooo slooow. So I set the limit into 100% (the reshape was scheduled to a least-loaded time).

    – Nikita Kipriyanov
    Oct 3 '17 at 9:44
















I ended up with exactly same solution, but... Run "megacli -adpgetprop ReconRate -a0" and notice that you are doing a reshape at 30% speed. Sooo slooow. So I set the limit into 100% (the reshape was scheduled to a least-loaded time).

– Nikita Kipriyanov
Oct 3 '17 at 9:44





I ended up with exactly same solution, but... Run "megacli -adpgetprop ReconRate -a0" and notice that you are doing a reshape at 30% speed. Sooo slooow. So I set the limit into 100% (the reshape was scheduled to a least-loaded time).

– Nikita Kipriyanov
Oct 3 '17 at 9:44

















draft saved

draft discarded
















































Thanks for contributing an answer to Server Fault!


  • Please be sure to answer the question. Provide details and share your research!

But avoid


  • Asking for help, clarification, or responding to other answers.

  • Making statements based on opinion; back them up with references or personal experience.

To learn more, see our tips on writing great answers.




draft saved


draft discarded














StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fserverfault.com%2fquestions%2f772693%2fconvert-single-disk-raid0-to-raid1-on-an-lsi-megaraid-controller%23new-answer', 'question_page');

);

Post as a guest















Required, but never shown





















































Required, but never shown














Required, but never shown












Required, but never shown







Required, but never shown

































Required, but never shown














Required, but never shown












Required, but never shown







Required, but never shown







Popular posts from this blog

How to write a 12-bar blues melodyI-IV-V blues progressionHow to play the bridges in a standard blues progressionHow does Gdim7 fit in C# minor?question on a certain chord progressionMusicology of Melody12 bar blues, spread rhythm: alternative to 6th chord to avoid finger stretchChord progressions/ Root key/ MelodiesHow to put chords (POP-EDM) under a given lead vocal melody (starting from a good knowledge in music theory)Are there “rules” for improvising with the minor pentatonic scale over 12-bar shuffle?Confusion about blues scale and chords

Esgonzo ibérico Índice Descrición Distribución Hábitat Ameazas Notas Véxase tamén "Acerca dos nomes dos anfibios e réptiles galegos""Chalcides bedriagai"Chalcides bedriagai en Carrascal, L. M. Salvador, A. (Eds). Enciclopedia virtual de los vertebrados españoles. Museo Nacional de Ciencias Naturales, Madrid. España.Fotos

Cegueira Índice Epidemioloxía | Deficiencia visual | Tipos de cegueira | Principais causas de cegueira | Tratamento | Técnicas de adaptación e axudas | Vida dos cegos | Primeiros auxilios | Crenzas respecto das persoas cegas | Crenzas das persoas cegas | O neno deficiente visual | Aspectos psicolóxicos da cegueira | Notas | Véxase tamén | Menú de navegación54.054.154.436928256blindnessDicionario da Real Academia GalegaPortal das Palabras"International Standards: Visual Standards — Aspects and Ranges of Vision Loss with Emphasis on Population Surveys.""Visual impairment and blindness""Presentan un plan para previr a cegueira"o orixinalACCDV Associació Catalana de Cecs i Disminuïts Visuals - PMFTrachoma"Effect of gene therapy on visual function in Leber's congenital amaurosis"1844137110.1056/NEJMoa0802268Cans guía - os mellores amigos dos cegosArquivadoEscola de cans guía para cegos en Mortágua, PortugalArquivado"Tecnología para ciegos y deficientes visuales. Recopilación de recursos gratuitos en la Red""Colorino""‘COL.diesis’, escuchar los sonidos del color""COL.diesis: Transforming Colour into Melody and Implementing the Result in a Colour Sensor Device"o orixinal"Sistema de desarrollo de sinestesia color-sonido para invidentes utilizando un protocolo de audio""Enseñanza táctil - geometría y color. Juegos didácticos para niños ciegos y videntes""Sistema Constanz"L'ocupació laboral dels cecs a l'Estat espanyol està pràcticament equiparada a la de les persones amb visió, entrevista amb Pedro ZuritaONCE (Organización Nacional de Cegos de España)Prevención da cegueiraDescrición de deficiencias visuais (Disc@pnet)Braillín, un boneco atractivo para calquera neno, con ou sen discapacidade, que permite familiarizarse co sistema de escritura e lectura brailleAxudas Técnicas36838ID00897494007150-90057129528256DOID:1432HP:0000618D001766C10.597.751.941.162C97109C0155020