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;
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
add a comment |
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
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
add a comment |
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
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
raid lsi megaraid
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
add a comment |
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
add a comment |
1 Answer
1
active
oldest
votes
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
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
add a comment |
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
);
);
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
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
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
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
add a comment |
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
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
add a comment |
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
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
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
add a comment |
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
add a comment |
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.
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
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
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
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
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