[CentOS] Shrinking a volume group

Tue Sep 12 19:41:33 UTC 2006
Steve Bergman <steve at rueb.com>

I did something stupid when setting up a server which is now live.  I
think I'm stuck.

I set up swap on Raid1 which is decidedly non-optimal.  I'd prefer 2
independent swap partitions at the same priority.

Here is the set up:

/dev/sda1 + /dev/sdb1 -> md0 (raid1)

md0 -> VolGroup00 

VolGroup00 -> VG00LV00(/), VG00LV01(/home), VG00LV02(swap)

I've gotten as far as :

Turning off swap and removing LV02.

Next step would be to shrink VG00.  But it looks like you can only
shrink a volume group by removing entire PV's.  I only have 1 PV.

So I think I'm stuck.

Any ideas?

Thanks,
Steve