Re: Re: Where is the LVM config stored?

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




Maybe I should explain exactly what I did because perhaps I am doing it
all wrong and thats why I am having so many issues..

I have a Physical Centos box (we will call it PC) and I want to turn it
into a Virtual Centos box (VC).. I created the virtual machine in the
VMWare server console and then installed VC with a minimum Centos4
install.. I then went to PC and ran rsync with the various switches to
copy the entire filesystem from PC to VC across the network.. I excluded
/dev, /proc and /sys.. I also used the --delete option to remove any
files that exited on VC that were no longer on PC.. Then before
rebooting VC I checked fstab and grub.conf files to make sure they were
correct.. Finally I restarted VC and booted from CD1 in rescue mode to
run grub-install to get the boot sector and start up working right..Then
rebooted VC.. It starts up and then freaks when trying to sort out the
LVM volumes..

The difference between PC and VC is that in VC I have decided to use a
scsi drive (apparently better performance) and in PC its an IDE and I
have made the virtual drive bigger.. I have tried running PC with and
without LVM (in other words using normal formatted partitions) and it
seems to have the same problem.. So even when no LVM volumes exist its
still looking for them..

Obviously I have both systems live an running when I am doing the data
transfer.. There are no errors but would this cause a major issue?

How do you migrate form physical to virtual?

Thanks..
Going from an IDE drive to a SCSI drive means you will have to make an initial
ramdisk on the new system (initrd). The scsi drivers are modules in the
kernel, and without an initrd with the drivers included and enabled, you can't
mount the root to finish booting.
Look here for a fix;
http://kbase.redhat.com/faq/FAQ_80_3902.shtm

I don't see how an emulated scsi drive will perform any better than an
emulated IDE drive, but I suppose it is possible.


Scott, Thanks for the link and the input.. That seems to have solved the problem.. I wasn't aware that scsi needed the initrd generated.. To tell the truth I still don't know exactly what it does (my linux skills are pretty limited) but its working.. :)


_______________________________________________
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