Welcome,
Guest
. Please
login
or
register
.
Did you miss your
activation email
?
1 Hour
1 Day
1 Week
1 Month
Forever
November 22, 2024, 09:58:13 AM
News
: LinuxSolved.com Linux Help Community Forum..
Home
Search
Login
Register
Linux Forums - Linux Help,Advice & support community:LinuxSolved.com
»
Linux in General
»
Os Talk
»
growing raid
« previous
next »
Print
Pages: [
1
]
Author
Topic: growing raid (Read 7232 times)
krushna
Linux Noob !
Posts: 4
growing raid
«
on:
April 23, 2010, 10:24:28 AM »
Hi ,
I just want to add a new hdd to a server where already raid 5 configured with three harddisks.each 3 harddisk is 320gb.The current hdd which I want add also 320 hdd.Its a linux file server.I just created a single partion on 4h hdd (/dev/sdd1) and added to raid by invoking the command " #mdada -add /dev/md0 /dev/sdd1 ".It took long time to rebuild .Now the build status is clearn (100%).When I am trying to grow the raid just invoking the command "mdadm --grow /dev/md0 --raid-devices=4" .Its returning with error "mdadm: /dev/md0: Cannot reshape array without increasing size (yet)." .Is there any way to increase the raid.Please advise me.
Logged
gauravbajaj
LST CareTaker
Experienced
Posts: 658
Re: growing raid
«
Reply #1 on:
May 14, 2010, 05:15:54 AM »
Hmm,
Can you try this
mdadm --grow /dev/md0 --size=max ( give the max size here i.e 320*4 = 1280GB and conert it into KB ( 1280*1024*1024) and give the size there )
Once its done try to fsck the file system and resize afterwards.
e2fsck -f /dev/md0
resize2fs /dev/md0
«
Last Edit: May 14, 2010, 05:22:36 AM by gauravbajaj
»
Logged
Print
Pages: [
1
]
« previous
next »
Linux Forums - Linux Help,Advice & support community:LinuxSolved.com
»
Linux in General
»
Os Talk
»
growing raid