| [Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
 Re: [Xen-devel] Re: [Xen-users] XCP/XenServer Migration utility now 	available at xen.org
 If you change xvda1 to xvda, change xvda2 to xvdb it will work fine.
 
 Change references in /boot/grub/menu.lst of xvda1 to xvda 
 Change references in /etc/fstab of xvda1 to xvda, and xvda2 to xvdb. 
 
 Understand? 2010/3/15 Martinx - ジェームズ <thiagocmartinsc@xxxxxxxxx> Exactly!
 The first one is for my domU hosted at my open source Xen (powered by Debian), the second fstab, is the new one, used for my guests hosted at my XenServers.
 
Thanks! Thiago 
2010/3/15 David Markey <admin@xxxxxxxxxxx> 
I'm confused, 
 You supply 2 fstabs there, one using LVM, one without. Which one is it? 
 
 2010/3/15 Martinx - ジェームズ <thiagocmartinsc@xxxxxxxxx> 
Hi David!
 My Xen domU in my open source dom0 (Debian) have this configuration file:
 
 ----
 bootloader  = '/usr/bin/pygrub'
 extra       = 'console=hvc0'
 memory      = '64'
 disk        = [
 'phy:/dev/HyperVG01/guest01-root,xvda1,w',
 'phy:/dev/HyperVG01/guest01-swap,xvda2,w',
 ]
 name        = 'guest01'
 vif         = [ 'mac=00:01:64:4b:0d:2e, vifname=guest01-eth0, bridge=eth0' ]
 >on_reboot   = 'restart'
 on_crash    = 'restart'
 ----
 
 My guest01 /etc/fstab file:
 
 proc            /proc           proc    defaults        0       0
 /dev/xvda1      /               ext3    relatime,errors=remount-ro 0       1
 /dev/xvda2      none            swap    sw              0       0
 
 BUT, this is for open source Xen domU, within the XenServer, the guest01 should be:
 
 proc            /proc           proc    defaults        0       0
 /dev/xvda1      /boot           ext2    defaults        0       2
 /dev/mapper/vdwuaf1-root /               ext3    errors=remount-ro 
0       1
 /dev/mapper/vdwuaf1-swap_1 none            swap    sw              0       0
 
 And the partition table of the guest01:
 
 guest01:~# fdisk -lu /dev/xvda
 
 Disk /dev/xvda: 8589 MB, 8589934592 bytes
 255 heads, 63 sectors/track, 1044 cylinders, total 16777216 sectors
 Units = sectors of 1 * 512 = 512 bytes
 Disk identifier: 0x0009c181
 
 Device Boot      Start         End      Blocks   Id  System
 /dev/xvda1   *          63      498014      248976   83  Linux
 /dev/xvda2          498015    16771859     8136922+  8e  Linux LVM
 
 You tool can recreate the partition scheme? Or it just copy the domU as is?
 I have many others domU like this to copy...
 
 Thanks!
 Thiago
 
 
 2010/3/15 David Markey <admin@xxxxxxxxxxx> 
If anyone has feature requests, direct them here.
 The next feature i'll be working on is supporting kernels loaded from the Dom0. The kernel images will have to be copied to the XenServer/XCP Dom0. 
 
 
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel
 
 |