Author Topic: expanding array size  (Read 561 times)

dbconz

  • Calf
  • *
  • Posts: 5
expanding array size
« on: November 05, 2019, 10:06:32 am »
i replaced my failing 4tb drives with 6tb drives.  after recovering the array, it's still showing 4tb.  how do i expand without losing my data?

LS420D
Version 1.85-0.01

1000001101000

  • Debian Wizard
  • Big Bull
  • *****
  • Posts: 737
  • There's no problem so bad you cannot make it worse
Re: expanding array size
« Reply #1 on: November 05, 2019, 10:56:06 am »
I don't think the Buffalo firmware has a way to expand arrays in that way.

There is a guide to doing so manually but I think it relies on newer versions of mdadm using the latest metadata format:
https://raid.wiki.kernel.org/index.php/Growing#Extending_an_existing_RAID_array

The examples are all ext4 specific and would be different for the xfs filesystem even if it did work.

I think it would be much safer to create the new array and copy the data over to it.

dbconz

  • Calf
  • *
  • Posts: 5
Re: expanding array size
« Reply #2 on: November 05, 2019, 11:10:49 am »
so this model will support a 6tb drive i assume?

you're saying i should copy the data off the array to something external, delete the 4tb array, and see if i can build a new 6tb array?

Texturtle

  • Administrator
  • *****
  • Posts: 838
  • RAID is NOT a substitute for a good backup
Re: expanding array size
« Reply #3 on: November 05, 2019, 11:15:19 am »
so this model will support a 6tb drive i assume?

you're saying i should copy the data off the array to something external, delete the 4tb array, and see if i can build a new 6tb array?

That's correct, you'll have to delete the existing array and create a new one.

dbconz

  • Calf
  • *
  • Posts: 5
Re: expanding array size
« Reply #4 on: November 05, 2019, 11:18:26 am »
so back to back 36 hour waits to rebuild the array was a waste of time!

guess i know what i'm doing next time i have a disk failure or run out of space.