Skip to contentSkip to conversation

Filesystem did not grow with my RAID 5 array

DISCUSSION Jonas Nickel 2 participants 3 messages Oct 22, 2002 MD RAID

lore
Share & tools
lore
#0 lore raw

Hello,

I used raidreconf to expand a RAID 5 array with three disks (no spares) to one with four disks (no spares). The tool seemed to work fine, a check with

e2fsck -f /dev/md0

showed no errors. However, a

df .

in the directory of the array still shows the old size. Did I miss anything obvious and how do I expand the filesystem to the whole array?

Thanks in advance,

Jonas Nickel

---------------------------------------------------
TU Berlin
Fachgebiet Verbrennungskraftmaschinen
Carnotstr. 1A
10587 Berlin

Tel.: +49 (0) 30 314-22607
Fax.: +49 (0) 30 314-26105
Web: http://www.vkm.tu-berlin.de
---------------------------------------------------

#1 lore raw

You need to use a e2fs resize program in addition to the raid reconf program. The latter only changed the size of the device (i.e. /dev/md0), and the former will change the size of the filesystem -on- the device to fill the new size.

-Gryn (Adam Luter)

Quoted 17 lines · Jonas Nickel

Hello,

I used raidreconf to expand a RAID 5 array with three disks (no spares) to one with four disks (no spares). The tool seemed to work fine, a check with

e2fsck -f /dev/md0

showed no errors. However, a

df .

in the directory of the array still shows the old size. Did I miss anything obvious and how do I expand the filesystem to the whole array?

Thanks in advance,

Jonas Nickel

#2 lore raw
Quoted 6 lines · On Tuesday, 22. Oktober 2002 16:46 Adam Luter wrote:

You need to use a e2fs resize program in addition to the raid reconf program. The latter only changed the size of the device (i.e. /dev/md0), and the former will change the size of the filesystem -on- the device to fill the new size.

-Gryn (Adam Luter)

Thanks, that did the job.

Jonas