Skip to contentSkip to conversation

reconf raid

DISCUSSION Magnus Månsson 2 participants 3 messages May 20, 2004 MD RAID

lore
Share & tools
lore
#0 lore raw

Hello, I have just joined this list and made some reading. What I am looking for is a way to add new hard drives to my raid5 made with mdadm. If have got it right it's not supported, and it's taking some time though people wants to do it in the kernel and not the way raidtools-reconf does it, fully understandable (even though I would like to do it offline).

So my question is, is there any timeplan for this functionallity? Can I expect to be able to resize my raid5 before winter?

My idea was to build a lot of raid5 (like 5 of them) to match that my hard drives have different sizes, and after that use lvm to get one big partition that I can add new drives to and just enlarge.

This leads to that I also have to be able to convert raid1 to raid5, if I do not want to move the data on that little part to a temporary disk, that would be possible today, it would be only 70G to move around.

Signature · 5 lines
Magnus Månsson <[email protected]>
-
To unsubscribe from this list: send the line "unsubscribe linux-raid" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
#1 lore raw
Quoted 6 lines · On Thursday May 20, [email protected] wrote:

Hello, I have just joined this list and made some reading. What I am looking for is a way to add new hard drives to my raid5 made with mdadm. If have got it right it's not supported, and it's taking some time though people wants to do it in the kernel and not the way raidtools-reconf does it, fully understandable (even though I would like to do it offline).

You can use raidreconfig (or whatever it is called) from raidtools to reconfigure an array built with mdadm. The arrays built by mdadm are just the same as those built by mkraid - it is just a different tool with a different interface.

Quoted 3 lines

So my question is, is there any timeplan for this functionallity? Can I expect to be able to resize my raid5 before winter?

There is no timeplan for anything. It gets done when it gets done, depending entirely on who is motivated, how much, how clever they are, how busy they are, and things like that.

NeilBrown

Quoted 15 lines

My idea was to build a lot of raid5 (like 5 of them) to match that my hard drives have different sizes, and after that use lvm to get one big partition that I can add new drives to and just enlarge.

This leads to that I also have to be able to convert raid1 to raid5, if I do not want to move the data on that little part to a temporary disk, that would be possible today, it would be only 70G to move around.

Signature · 5 lines
Magnus Månsson <[email protected]>
-
To unsubscribe from this list: send the line "unsubscribe linux-raid" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

-
To unsubscribe from this list: send the line "unsubscribe linux-raid" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html

#2 lore raw
Quoted 8 lines · Neil Brown
Quoted 6 lines · On Thursday May 20, [email protected] wrote:

Hello, I have just joined this list and made some reading. What I am looking for is a way to add new hard drives to my raid5 made with mdadm. If have got it right it's not supported, and it's taking some time though people wants to do it in the kernel and not the way raidtools-reconf does it, fully understandable (even though I would like to do it offline).

Quoted 4 lines

You can use raidreconfig (or whatever it is called) from raidtools to reconfigure an array built with mdadm. The arrays built by mdadm are just the same as those built by mkraid - it is just a different tool with a different interface.

Ah, ok, thanks for the answer, had no idea reconf worked with it. Is there any way to build the raidtab from my existing configuration, or do I have to build it manually? I guess to build it automatically would be better though a wrongly build raidtab might fuck everything up?

Quoted 30 lines
Quoted 3 lines

So my question is, is there any timeplan for this functionallity? Can I expect to be able to resize my raid5 before winter?

There is no timeplan for anything. It gets done when it gets done, depending entirely on who is motivated, how much, how clever they are, how busy they are, and things like that.

NeilBrown

Quoted 15 lines

My idea was to build a lot of raid5 (like 5 of them) to match that my hard drives have different sizes, and after that use lvm to get one big partition that I can add new drives to and just enlarge.

This leads to that I also have to be able to convert raid1 to raid5, if I do not want to move the data on that little part to a temporary disk, that would be possible today, it would be only 70G to move around.

Signature · 5 lines
Magnus Månsson <[email protected]>
-
To unsubscribe from this list: send the line "unsubscribe linux-raid" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

-
To unsubscribe from this list: send the line "unsubscribe linux-raid" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html

Signature · 5 lines
Magnus Månsson <[email protected]>
-
To unsubscribe from this list: send the line "unsubscribe linux-raid" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html