You are not logged in.

#1 2009-03-06 12:44:47

maz
Member
Registered: 2006-05-05
Posts: 38

Growing RAID5. mdadm: /dev/sd* not large enough to join array

Hi, I have a raid5 with 6 drives all 1TB.
Now Ive bought 4 more drives which is the same model and size as the current raid5 drives. However when trying to hotadd the drives to the raid5 it wont let me even though its the same size as the current ones.

root@BOLL:~/startup# mdadm /dev/md0 --add /dev/sdh
mdadm: /dev/sdh not large enough to join array

Should I reshape the raid5 to allow more devices before I hotadd or is it supposed to work as it is?

Offline

#2 2009-05-09 13:52:13

nogoma
Member
From: Cranston, RI
Registered: 2006-03-01
Posts: 217

Re: Growing RAID5. mdadm: /dev/sd* not large enough to join array

This sounds vaguely familiar from some googling I did a few months ago when I was adding a hot spare to my raid array; I did another quick google and I think it may be related to this: http://www.opensubscriber.com/message/l … 54655.html Basically, if you created the RAID array under an older version of mdadm, it may be using a different metadata size for the new disk. That thread's pretty old, and I've never had the problem myself, but the --metadata= option might be what you need here.


-nogoma
---
Code Happy, Code Ruby!
http://www.last.fm/user/nogoma/

Offline

Board footer

Powered by FluxBB