linux-raid.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* extending raid-5 ?
@ 2009-05-10 23:00 Rainer Fuegenstein
  2009-05-11  5:11 ` Redeeman
  0 siblings, 1 reply; 3+ messages in thread
From: Rainer Fuegenstein @ 2009-05-10 23:00 UTC (permalink / raw)
  To: linux-raid

hi,

I'm currently using a 4*750GB SATA RAID-5 under centos 5.2 (mdadm
v2.6.4, kernel 2.6.18-128.1.6.el5) which I need to exend by replacing
the 750GB disks with 1.5TB ones.

since the mainboard has only 4 SATA ports, I need to replace one disk
after the other. I came up with the following plan:

1) fail first disk
  mdadm /dev/md0 -f /dev/sda1

2) remove first disk
  mdadm /dev/md0 -r /dev/sda1

3) shutdown the server, unplug 750GB sda drive, plug in 1.5TB drive

4) create a linux raid autodetect partition on sda which covers the
whole 1.5TB

5) add new device to the raid5 and wait until resync has finished
  mdadm /dev/md0 -a /dev/sda1
  
... repeat steps 1 tp 5 for sdb to sdd

6) grow the raid
  mdadm --grow /dev/md0

7) resize the xfs filesystem
   xfs_growfs /md0-mount-point
   
is this the proper way to do it, are there any issues I should know
about ?

thnx in advance.


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2009-05-16 21:07 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-05-10 23:00 extending raid-5 ? Rainer Fuegenstein
2009-05-11  5:11 ` Redeeman
2009-05-16 21:07   ` Jeff Rippy

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).