Re: [CentOS] Shrinking a volume group

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



On Tue, Sep 12, 2006 at 02:41:33PM -0500, Steve Bergman enlightened us:
> 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?

Yes, leave it as a mirrored partition so when memory is swapped out to a
disk that dies, your server does not panic.

Matt

-- 
Matt Hyclak
Department of Mathematics 
Department of Social Work
Ohio University
(740) 593-1263
_______________________________________________
CentOS mailing list
CentOS@xxxxxxxxxx
http://lists.centos.org/mailman/listinfo/centos

[Index of Archives]     [CentOS]     [CentOS Announce]     [CentOS Development]     [CentOS ARM Devel]     [CentOS Docs]     [CentOS Virtualization]     [Carrier Grade Linux]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Linux USB]
  Powered by Linux