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

Wikipedia:Vital articles Мазмуну Biography - Өмүр баян Philosophy and psychology - Философия жана психология Religion - Дин Social sciences - Коомдук илимдер Language and literature - Тил жана адабият Science - Илим Technology - Технология Arts and recreation - Искусство жана эс алуу History and geography - Тарых жана география Навигация менюсу

Bruxelas-Capital Índice Historia | Composición | Situación lingüística | Clima | Cidades irmandadas | Notas | Véxase tamén | Menú de navegacióneO uso das linguas en Bruxelas e a situación do neerlandés"Rexión de Bruxelas Capital"o orixinalSitio da rexiónPáxina de Bruselas no sitio da Oficina de Promoción Turística de Valonia e BruxelasMapa Interactivo da Rexión de Bruxelas-CapitaleeWorldCat332144929079854441105155190212ID28008674080552-90000 0001 0666 3698n94104302ID540940339365017018237

What should I write in an apology letter, since I have decided not to join a company after accepting an offer letterShould I keep looking after accepting a job offer?What should I do when I've been verbally told I would get an offer letter, but still haven't gotten one after 4 weeks?Do I accept an offer from a company that I am not likely to join?New job hasn't confirmed starting date and I want to give current employer as much notice as possibleHow should I address my manager in my resignation letter?HR delayed background verification, now jobless as resignedNo email communication after accepting a formal written offer. How should I phrase the call?What should I do if after receiving a verbal offer letter I am informed that my written job offer is put on hold due to some internal issues?Should I inform the current employer that I am about to resign within 1-2 weeks since I have signed the offer letter and waiting for visa?What company will do, if I send their offer letter to another company