Hi,

> Hi all,
> 
> I got a 250 GB IDE HDD, and my current SL 4.4 x86 installation is on 
> an 80 GB one. Is there any easy way to "clone" the installation to 
> the new one? The current installation includes a standard lvm2 volume.

I have performed this process many times. The way I do it is:

* image the drive with G4L (Ghost for Linux). It's available on freshmeat.net

* redploy the image onto the new drive

* create a new partition using fdisk for the extra space

* use vgextend to add the new partition

* use lvextend to add that extra space to where I want it

* use ext2online to extend the filesystem(s) I've extended the LV's on.

It's that easy.

Michael.

> [EMAIL PROTECTED] download]# df -h
> Filesystem            Size  Used Avail Use% Mounted on
> /dev/mapper/VolGroup00-LogVol00
>                         71G   22G   48G  31% /
> /dev/hdh1              99M   14M   80M  15% /boot
> none                  506M     0  506M   0% /dev/shm
> 
> [EMAIL PROTECTED] download]#
> 
> /dev/hdh is the current 80 GB HDD.
> 
> [EMAIL PROTECTED] download]# fdisk /dev/hdh
> 
> The number of cylinders for this disk is set to 9729.
> There is nothing wrong with that, but this is larger than 1024,
> and could in certain setups cause problems with:
> 1) software that runs at boot time (e.g., old versions of LILO)
> 2) booting and partitioning software from other OSs
>     (e.g., DOS FDISK, OS/2 FDISK)
> 
> Command (m for help): p
> 
> Disk /dev/hdh: 80.0 GB, 80026361856 bytes
> 255 heads, 63 sectors/track, 9729 cylinders
> Units = cylinders of 16065 * 512 = 8225280 bytes
> 
>     Device Boot      Start         End      Blocks   Id  System
> /dev/hdh1   *           1          13      104391   83  Linux
> /dev/hdh2              14        9729    78043770   8e  Linux LVM
> 
> Command (m for help):
> 
> Thanks in advance.
------- End of Original Message -------

Reply via email to