S
S
Sam Stay2015-01-10 13:48:56
linux
Sam Stay, 2015-01-10 13:48:56

How to add a new HDD to RAID1?

Please tell me how to add a new HDD to an existing raid1. Now there are 2 x 2TB, we added another 4TB HDD to the server. How can it be inserted into what is already there?

Answer the question

In order to leave comments, you need to log in

4 answer(s)
M
Melkij, 2015-01-10
@melkij

What do you want to get as a result?

A
anton1234, 2015-01-10
@anton1234

To get the maximum volume, you will have to rebuild the raid.
Break the current one. Do two new raids. Something like this:
sda and sdb are your old disks of 2tb, sdc is new for 4
md1 from sda1(2tb) and sdc1(2tb), md2 from sdb1(2tb) and sdc2(2tb).
The scheme is conditional, if you have a system on one of the disks, then there will be more partitions.
But I don't see much point in that. This will definitely not add speed, in some situations it will be even slower. If you are so concerned about the safety of data, it is better to think over a backup scheme.

O
oia, 2015-01-10
@oia

if there are screws of 2tb each, then put 1 screw 2tb + the second screw on 4tb we get an array of 2tb

M
Maxim, 2015-01-10
@Maxim_ka

At best, get a spare drive for an existing Raid 1. Since Raid 1 needs and suffices 2 disks, if you are building a more complex configuration, then you need 4 hard disks, and depending on the layout, you will get raid 1 + 0 or raid 0 + 1 .
If performance is not particularly important to you, but only space is needed, then you can build Raid 5 from 3 disks, but that's a completely different story.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question