Skip to contentSkip to conversation

Can't grow raid5 size

DISCUSSION NeilBrown 1 participant 1 message Mar 31, 2008 1 message not in the archive MD RAID

lore
Share & tools
lore

A message that is not in the archive (sent off-list or not yet received): [email protected]

NeilBrown

author
#1 lore raw
Quoted 5 lines · Shane W

Hello all,

I had a three drive raid5 array of 750GB drives. Added a fourth drive and grew the array but the actual size didn't change.

The size wont change until it finishes restriping. All the data needs to be relocated before the new space is available.

What does "cat /proc/mdstat" show ??

Quoted 4 lines

Now when I do a mdadm --grow --size max /dev/md0,
I get:
mdadm: Cannot set device size/shape for /dev/md0: Device or resource busy

That is expected. The array is busy restriping (aka reshaping). You cannot change the size of individual devices at this time, not that you really want to.

Quoted 2 lines

Is there anything I can do to get the array to 2tb or do I need to recreate with a 1.x superblock format?

Using a different superblock format wouldn't help.

What is the current state of the array from /proc/mdstat?

NeilBrown