Dave spake the following on 4/16/2007 6:25 PM: > Hi, > So, i plug in the drive, it's /dev/hdb the original is /dev/hda, i > add /dev/hdb to my existing lvm setup. Does adding that move the data or > do i have to dump partitions? Then i remove the original drive, > shutdown, switch drives, and boot, and all is well. Did i miss a step? > Thanks. > Dave. You will need to do some partitioning. If the original drive had a /boot partition and the rest of the space as LVM, then you would need to make a /boot partition of the same or similar size on the new drive, and the rest as a second partition of type LVM. Then you copy over the stuff from the boot part in hda to the boot part in hdb. Then you can add the lvm partition on hdb to the volume group with vgextend. Then you pvmove the volumes from hda to hdb. After that is done, you can vgreduce hda from the group. At this time your data should all be on the new drive. You can shut down and remove hda, and set hdb as the master and reboot with a rescue disk to make sure grub is properly installed if you didn't already do this. This part of the LVM howto should help explain it in more detail; http://www.tldp.org/HOWTO/LVM-HOWTO/removeadisk.html -- MailScanner is like deodorant... You hope everybody uses it, and you notice quickly if they don't!!!! _______________________________________________ CentOS mailing list CentOS@xxxxxxxxxx http://lists.centos.org/mailman/listinfo/centos