A
A
anton13ms2020-02-01 13:41:00
linux
anton13ms, 2020-02-01 13:41:00

Why does the "not large enough to join array" error occur when trying to attach a disk to an mdadm array?

When you try to connect a new blank disk to the mdadm array? there is an error "not large enough to join array", it is not clear why this happens. After all, I copied the partitions with the sfdisk command, in theory the partitions should be the same...
5e35556de0c68408321204.jpeg5e3555747ddbe994673957.jpeglinu

Disks of different models but the same size...

Answer the question

In order to leave comments, you need to log in

2 answer(s)
R
Radjah, 2020-02-01
@anton13ms

The section is too small. It's clearly written there.
It is possible to connect partitions of different sizes in this way only in JBOD.

Z
zersh, 2020-02-05
@zersh

You can use a disk of a different brand and size, but the sector-by-sector partitioning must match.
Make the partitioning of the disk manually using parted . You
can turn on the sector-by-sector geometry display via unit s.
For example, look at the geometry:

parted /dev/sda
#переключаем в сектора
unit s
#отображаем информацию
p
.....
#выход
quit

open the /dev/sdb disk and create similar partitions
after that, the partitions will be added to the raid without problems
PS - with parted if there was no work experience - carefully - it applies changes on the fly, immediately after entering the command

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question