Re: [CentOS] Upgrading drives in raid 1

2009-07-06 Thread Gordon Messmer
On 07/02/2009 09:52 AM, Bob Hoffman wrote: > > I am thinking I would next forget about md0 (the boot part) and concentrate > on the md1, where the whole system lies. Don't completely forget about it. You'll probably need to reinstall grub when you replace each disk. _

Re: [CentOS] Upgrading drives in raid 1

2009-07-03 Thread Bob Hoffman
> > I have md0 as the boot, md1 as the rest. Inside md1 are all my lvm > > partitons. > > The grow command is supposed to expand the size of that md1 > from its > > current > > 200+GB to fill the rest of the 500gb drive. > > > > I thought you could then expand the lvm partions inside of that. >

Re: [CentOS] Upgrading drives in raid 1

2009-07-02 Thread Robert Heller
At Thu, 2 Jul 2009 13:26:11 -0400 CentOS mailing list wrote: > > Hi Bob, > > On Thu, Jul 2, 2009 at 13:18, Bob Hoffman wrote: > >>If /dev/md1 is made out of /dev/sda2 and /dev/sdb2, it will not work, > >>as those partitions will still be the same size as they were before... > > > > The grow com

Re: [CentOS] Upgrading drives in raid 1

2009-07-02 Thread Robert Heller
At Thu, 2 Jul 2009 13:18:43 -0400 CentOS mailing list wrote: > > >If /dev/md1 is made out of /dev/sda2 and /dev/sdb2, it will not work, > >as those partitions will still be the same size as they were before... > > > I have md0 as the boot, md1 as the rest. Inside md1 are all my lvm > partitons

Re: [CentOS] Upgrading drives in raid 1

2009-07-02 Thread Filipe Brandenburger
Hi Bob, On Thu, Jul 2, 2009 at 13:18, Bob Hoffman wrote: >>If /dev/md1 is made out of /dev/sda2 and /dev/sdb2, it will not work, >>as those partitions will still be the same size as they were before... > > The grow command is supposed to expand the size of that md1 from its current > 200+GB to fil

Re: [CentOS] Upgrading drives in raid 1

2009-07-02 Thread Bob Hoffman
>If /dev/md1 is made out of /dev/sda2 and /dev/sdb2, it will not work, >as those partitions will still be the same size as they were before... I have md0 as the boot, md1 as the rest. Inside md1 are all my lvm partitons. The grow command is supposed to expand the size of that md1 from its current

Re: [CentOS] Upgrading drives in raid 1

2009-07-02 Thread Filipe Brandenburger
Hi, On Thu, Jul 2, 2009 at 12:52, Bob Hoffman wrote: > # mdadm --grow /dev/md1 --size=max If /dev/md1 is made out of /dev/sda2 and /dev/sdb2, it will not work, as those partitions will still be the same size as they were before... I think it would be easier to just create new partitions /dev/sda

[CentOS] Upgrading drives in raid 1

2009-07-02 Thread Bob Hoffman
I think I have solved my issue and would like some input from anyone who has done this for pitfalls, errors, or if I am just wrong. Centos 5.x, software raid, 250gb drives. 2 drives in mirror, one spare. All same size. 2 devices in the mirror, one boot (about 100MB), one that fills the rest of di