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

Re: Migrate to XEN and LVM



On Mon, Apr 16, 2007 at 03:09:02PM +0200, Marco Mandl wrote:
> Gal,
> 
> thank you very much for your answer.
> 
> On Mon, 16 Apr 2007 14:29:27 +0200, galevsky wrote:
> 
> >> 1. Convert the raw partion to LVM
> >>    How can I do this? It is the root partition of the only installed
> >>    system on that box.
> > 
> > Well, do you have free space ? If not, the best way would be a fresh
> > install, after back-uping your data... If you have, set-up your LVM
> > partitions, then move your files from your old partitions to the LVM
> > ones, then delete old partitions to enlarge your vg. Don't forget to
> > change your /etc/fstab conf file to mount your brand new LVM system
> > instead.
> > But before going ahead, you must know what is LVM by reading
> > http://tldp.org/HOWTO/LVM-HOWTO/
> 
> After deleting the old partition is it possible to enlarge the physical
> volume or can I only create a new physical volume and add it to the volume
> group?
> 

man pvresize. 

this works if you've resized the partition that is being used as a pv
in the vg. or make it a new seperate partition and turn that into a pv
in the vg. 

A

Attachment: signature.asc
Description: Digital signature


Reply to: