You are not logged in.

#1 2009-08-12 05:41:01

sand_man
Member
From: Australia
Registered: 2008-06-10
Posts: 2,164

[solved] LVM extend over multiple hard drives

I have a 500GB hard drive with several  LVM logical volumes on it.

A couple of these partitions are getting full and I want to know if I bought another hard drive can I extend a partition across from one hard drive to another?

I hope that makes sense.

edit:
Even if that's not possible, I suppose I can just move the whole partition over to the new hard drive and extend one of the other volumes on the old one to fill up the rest of the space.


edit again:
Sorry I just answered my own question.

# pvcreate /dev/sdb1
# vgextend VolGroup00 /dev/sdb1

Last edited by sand_man (2009-08-12 05:43:21)


neutral

Offline

#2 2009-08-12 07:15:49

fukawi2
Ex-Administratorino
From: .vic.au
Registered: 2007-09-28
Posts: 6,224
Website

Re: [solved] LVM extend over multiple hard drives

Yay for self-solving! big_smile

cat /dev/taco | sand_man

tongue

(sorry, couldn't leave it as a 0-reply thread. That and I'm bored at work!)

Last edited by fukawi2 (2009-08-12 07:16:01)

Offline

#3 2009-08-12 09:53:29

sand_man
Member
From: Australia
Registered: 2008-06-10
Posts: 2,164

Re: [solved] LVM extend over multiple hard drives

Thanks mate big_smile


neutral

Offline

Board footer

Powered by FluxBB