Philippe Trolliet
2007-May-22 12:41 UTC
[Xen-users] installing fc6 as domU directly on lv´s
hi, since 2 days i´m trying to install fedora core 6 directly on logical volumes. my host system is FC6 too. i want to have following layout in my domU: /dev/group/ServerRoot mounted in domU as / /dev/group/ServerVar mounted in domU as /var /dev/group/ServerSwap mounted in domU as swap device for the server my xen-config looks like this: name = "mailserver-FC6" kernel = "/boot/vmlinuz-2.6.20-1.2948.fc6xen" memory = 512 disk = [''phy:VolGroup00/MailserverRoot,sda1,w'', ''phy:VolGroup00/MailserverVar,sda2,w'', ''phy:VolGroup00/MailserverSwap,sda3,w''] #vif = [ '''' ] root = "/dev/sda1" extra = "ro selinux=0 3" vcpus = 1 vif = [ ''mac=00:16:3e:1a:c5:ad, bridge=xenbr0'', ] nographic=1 i followed an older howto for FC4 and changed the necessary options and settings that it fits for FC6. but it doesn´t work too. the domU doesn´t boot and crashes. here the log after i executed "xm create fc6-domU" (sorry, it´s a very long snippet but it´s "just" the logging of one single try to start the domU): [2007-05-22 16:31:08 xend.XendDomainInfo 2900] DEBUG (XendDomainInfo:190) XendDomainInfo.create([''vm'', [''name'', ''mailserver-FC6''], [''memory'', 512], [''vcpus'', 1], [''image'', [''linux'', [''kernel'', ''/boot/vmlinuz-2.6.20-1.2948.fc6xen''], [''root'', ''/dev/sda1''], [''args'', ''ro selinux=0 3'']]], [''device'', [''vbd'', [''uname'', ''phy:VolGroup00/MailserverRoot''], [''dev'', ''sda1''], [''mode'', ''w'']]], [''device'', [''vbd'', [''uname'', ''phy:VolGroup00/MailserverVar''], [''dev'', ''sda2''], [''mode'', ''w'']]], [''device'', [''vbd'', [''uname'', ''phy:VolGroup00/MailserverSwap''], [''dev'', ''sda3''], [''mode'', ''w'']]], [''device'', [''vif'', [''bridge'', ''xenbr0''], [''mac'', ''00:16:3e:1a:c5:ad'']]]]) [2007-05-22 16:31:08 xend.XendDomainInfo 2900] DEBUG (XendDomainInfo:296) parseConfig: config is [''vm'', [''name'', ''mailserver-FC6''], [''memory'', 512], [''vcpus'', 1], [''image'', [''linux'', [''kernel'', ''/boot/vmlinuz-2.6.20-1.2948.fc6xen''], [''root'', ''/dev/sda1''], [''args'', ''ro selinux=0 3'']]], [''device'', [''vbd'', [''uname'', ''phy:VolGroup00/MailserverRoot''], [''dev'', ''sda1''], [''mode'', ''w'']]], [''device'', [''vbd'', [''uname'', ''phy:VolGroup00/MailserverVar''], [''dev'', ''sda2''], [''mode'', ''w'']]], [''device'', [''vbd'', [''uname'', ''phy:VolGroup00/MailserverSwap''], [''dev'', ''sda3''], [''mode'', ''w'']]], [''device'', [''vif'', [''bridge'', ''xenbr0''], [''mac'', ''00:16:3e:1a:c5:ad'']]]] [2007-05-22 16:31:08 xend.XendDomainInfo 2900] DEBUG (XendDomainInfo:397) parseConfig: result is {''shadow_memory'': None, ''start_time'': None, ''uuid'': None, ''on_crash'': None, ''on_reboot'': None, ''localtime'': None, ''image'': [''linux'', [''kernel'', ''/boot/vmlinuz-2.6.20-1.2948.fc6xen''], [''root'', ''/dev/sda1''], [''args'', ''ro selinux=0 3'']], ''on_poweroff'': None, ''bootloader_args'': None, ''cpus'': None, ''name'': ''mailserver-FC6'', ''backend'': [], ''vcpus'': 1, ''cpu_weight'': None, ''features'': None, ''vcpu_avail'': None, ''memory'': 512, ''device'': [(''vbd'', [''vbd'', [''uname'', ''phy:VolGroup00/MailserverRoot''], [''dev'', ''sda1''], [''mode'', ''w'']]), (''vbd'', [''vbd'', [''uname'', ''phy:VolGroup00/MailserverVar''], [''dev'', ''sda2''], [''mode'', ''w'']]), (''vbd'', [''vbd'', [''uname'', ''phy:VolGroup00/MailserverSwap''], [''dev'', ''sda3''], [''mode'', ''w'']]), (''vif'', [''vif'', [''bridge'', ''xenbr0''], [''mac'', ''00:16:3e:1a:c5:ad'']])], ''bootloader'': None, ''cpu'': None, ''maxmem'': None} [2007-05-22 16:31:08 xend.XendDomainInfo 2900] DEBUG (XendDomainInfo:1264) XendDomainInfo.construct: None [2007-05-22 16:31:08 xend.XendDomainInfo 2900] DEBUG (XendDomainInfo:1296) XendDomainInfo.initDomain: 1 1.0 [2007-05-22 16:31:08 xend 2900] DEBUG (balloon:127) Balloon: 1559228 KiB free; need 524288; done. [2007-05-22 16:31:08 xend 2900] INFO (image:136) buildDomain os=linux dom=1 vcpus=1 [2007-05-22 16:31:08 xend 2900] DEBUG (image:199) dom = 1 [2007-05-22 16:31:08 xend 2900] DEBUG (image:200) image /boot/vmlinuz-2.6.20-1.2948.fc6xen [2007-05-22 16:31:08 xend 2900] DEBUG (image:201) store_evtchn = 1 [2007-05-22 16:31:08 xend 2900] DEBUG (image:202) console_evtchn = 2 [2007-05-22 16:31:08 xend 2900] DEBUG (image:203) cmdline root=/dev/sda1 ro selinux=0 3 [2007-05-22 16:31:08 xend 2900] DEBUG (image:204) ramdisk [2007-05-22 16:31:08 xend 2900] DEBUG (image:205) vcpus = 1 [2007-05-22 16:31:08 xend 2900] DEBUG (image:206) features [2007-05-22 16:31:08 xend 2900] DEBUG (DevController:110) DevController: writing {''backend-id'': ''0'', ''virtual-device'': ''2049'', ''device-type'': ''disk'', ''state'': ''1'', ''backend'': ''/local/domain/0/backend/vbd/1/2049''} to /local/domain/1/device/vbd/2049. [2007-05-22 16:31:08 xend 2900] DEBUG (DevController:112) DevController: writing {''domain'': ''mailserver-FC6'', ''frontend'': ''/local/domain/1/device/vbd/2049'', ''dev'': ''sda1'', ''state'': ''1'', ''params'': ''VolGroup00/MailserverRoot'', ''mode'': ''w'', ''online'': ''1'', ''frontend-id'': ''1'', ''type'': ''phy''} to /local/domain/0/backend/vbd/1/2049. [2007-05-22 16:31:08 xend 2900] DEBUG (DevController:110) DevController: writing {''backend-id'': ''0'', ''virtual-device'': ''2050'', ''device-type'': ''disk'', ''state'': ''1'', ''backend'': ''/local/domain/0/backend/vbd/1/2050''} to /local/domain/1/device/vbd/2050. [2007-05-22 16:31:08 xend 2900] DEBUG (DevController:112) DevController: writing {''domain'': ''mailserver-FC6'', ''frontend'': ''/local/domain/1/device/vbd/2050'', ''dev'': ''sda2'', ''state'': ''1'', ''params'': ''VolGroup00/MailserverVar'', ''mode'': ''w'', ''online'': ''1'', ''frontend-id'': ''1'', ''type'': ''phy''} to /local/domain/0/backend/vbd/1/2050. [2007-05-22 16:31:08 xend 2900] DEBUG (blkif:24) exception looking up device number for sda3: [Errno 2] No such file or directory: ''/dev/sda3'' [2007-05-22 16:31:08 xend 2900] DEBUG (DevController:110) DevController: writing {''backend-id'': ''0'', ''virtual-device'': ''2051'', ''device-type'': ''disk'', ''state'': ''1'', ''backend'': ''/local/domain/0/backend/vbd/1/2051''} to /local/domain/1/device/vbd/2051. [2007-05-22 16:31:08 xend 2900] DEBUG (DevController:112) DevController: writing {''domain'': ''mailserver-FC6'', ''frontend'': ''/local/domain/1/device/vbd/2051'', ''dev'': ''sda3'', ''state'': ''1'', ''params'': ''VolGroup00/MailserverSwap'', ''mode'': ''w'', ''online'': ''1'', ''frontend-id'': ''1'', ''type'': ''phy''} to /local/domain/0/backend/vbd/1/2051. [2007-05-22 16:31:08 xend 2900] DEBUG (DevController:110) DevController: writing {''backend-id'': ''0'', ''mac'': ''00:16:3e:1a:c5:ad'', ''handle'': ''0'', ''state'': ''1'', ''backend'': ''/local/domain/0/backend/vif/1/0''} to /local/domain/1/device/vif/0. [2007-05-22 16:31:08 xend 2900] DEBUG (DevController:112) DevController: writing {''bridge'': ''xenbr0'', ''domain'': ''mailserver-FC6'', ''handle'': ''0'', ''script'': ''/etc/xen/scripts/vif-bridge'', ''state'': ''1'', ''frontend'': ''/local/domain/1/device/vif/0'', ''mac'': ''00:16:3e:1a:c5:ad'', ''online'': ''1'', ''frontend-id'': ''1''} to /local/domain/0/backend/vif/1/0. [2007-05-22 16:31:08 xend.XendDomainInfo 2900] DEBUG (XendDomainInfo:715) Storing VM details: {''shadow_memory'': ''0'', ''uuid'': ''e7bc2b19-a377-a892-3ad6-f67b2424ab31'', ''on_reboot'': ''restart'', ''start_time'': ''1179844268.38'', ''on_poweroff'': ''destroy'', ''name'': ''mailserver-FC6'', ''xend/restart_count'': ''0'', ''vcpus'': ''1'', ''vcpu_avail'': ''1'', ''memory'': ''512'', ''on_crash'': ''restart'', ''image'': "(linux (kernel /boot/vmlinuz-2.6.20-1.2948.fc6xen) (root /dev/sda1) (args ''ro selinux=0 3''))", ''maxmem'': ''512''} [2007-05-22 16:31:08 xend.XendDomainInfo 2900] DEBUG (XendDomainInfo:750) Storing domain details: {''console/ring-ref'': ''397919'', ''console/port'': ''2'', ''name'': ''mailserver-FC6'', ''console/limit'': ''1048576'', ''vm'': ''/vm/e7bc2b19-a377-a892-3ad6-f67b2424ab31'', ''domid'': ''1'', ''cpu/0/availability'': ''online'', ''memory/target'': ''524288'', ''store/ring-ref'': ''397920'', ''store/port'': ''1''} [2007-05-22 16:31:08 xend.XendDomainInfo 2900] DEBUG (XendDomainInfo:940) XendDomainInfo.handleShutdownWatch [2007-05-22 16:31:08 xend 2900] DEBUG (DevController:143) Waiting for devices vif. [2007-05-22 16:31:08 xend 2900] DEBUG (DevController:149) Waiting for 0. [2007-05-22 16:31:08 xend 2900] DEBUG (DevController:472) hotplugStatusCallback /local/domain/0/backend/vif/1/0/hotplug-status. [2007-05-22 16:31:09 xend 2900] DEBUG (DevController:472) hotplugStatusCallback /local/domain/0/backend/vif/1/0/hotplug-status. [2007-05-22 16:31:09 xend 2900] DEBUG (DevController:486) hotplugStatusCallback 1. [2007-05-22 16:31:09 xend 2900] DEBUG (DevController:143) Waiting for devices usb. [2007-05-22 16:31:09 xend 2900] DEBUG (DevController:143) Waiting for devices vbd. [2007-05-22 16:31:09 xend 2900] DEBUG (DevController:149) Waiting for 2049. [2007-05-22 16:31:09 xend 2900] DEBUG (DevController:472) hotplugStatusCallback /local/domain/0/backend/vbd/1/2049/hotplug-status. [2007-05-22 16:31:10 xend 2900] DEBUG (DevController:472) hotplugStatusCallback /local/domain/0/backend/vbd/1/2049/hotplug-status. [2007-05-22 16:31:10 xend 2900] DEBUG (DevController:486) hotplugStatusCallback 1. [2007-05-22 16:31:10 xend 2900] DEBUG (DevController:149) Waiting for 2050. [2007-05-22 16:31:10 xend 2900] DEBUG (DevController:472) hotplugStatusCallback /local/domain/0/backend/vbd/1/2050/hotplug-status. [2007-05-22 16:31:11 xend 2900] DEBUG (DevController:472) hotplugStatusCallback /local/domain/0/backend/vbd/1/2050/hotplug-status. [2007-05-22 16:31:11 xend 2900] DEBUG (DevController:486) hotplugStatusCallback 1. [2007-05-22 16:31:11 xend 2900] DEBUG (DevController:149) Waiting for 2051. [2007-05-22 16:31:11 xend 2900] DEBUG (DevController:472) hotplugStatusCallback /local/domain/0/backend/vbd/1/2051/hotplug-status. [2007-05-22 16:31:11 xend 2900] DEBUG (DevController:486) hotplugStatusCallback 1. [2007-05-22 16:31:11 xend 2900] DEBUG (DevController:143) Waiting for devices irq. [2007-05-22 16:31:11 xend 2900] DEBUG (DevController:143) Waiting for devices vkbd. [2007-05-22 16:31:11 xend 2900] DEBUG (DevController:143) Waiting for devices vfb. [2007-05-22 16:31:11 xend 2900] DEBUG (DevController:143) Waiting for devices pci. [2007-05-22 16:31:11 xend 2900] DEBUG (DevController:143) Waiting for devices ioports. [2007-05-22 16:31:11 xend 2900] DEBUG (DevController:143) Waiting for devices tap. [2007-05-22 16:31:11 xend 2900] DEBUG (DevController:143) Waiting for devices vtpm. [2007-05-22 16:31:11 xend 2900] INFO (XendDomain:370) Domain mailserver-FC6 (1) unpaused. [2007-05-22 16:31:15 xend.XendDomainInfo 2900] WARNING (XendDomainInfo:882) Domain has crashed: name=mailserver-FC6 id=1. [2007-05-22 16:31:15 xend.XendDomainInfo 2900] DEBUG (XendDomainInfo:1471) XendDomainInfo.destroyDomain(1) [2007-05-22 16:31:15 xend.XendDomainInfo 2900] DEBUG (XendDomainInfo:190) XendDomainInfo.create([''domain'', [''domid'', 1], [''uuid'', ''e7bc2b19-a377-a892-3ad6-f67b2424ab31''], [''vcpus'', 1], [''vcpu_avail'', 1], [''cpu_weight'', 1.0], [''memory'', 512], [''shadow_memory'', 0], [''maxmem'', 512], [''features'', ''''], [''name'', ''mailserver-FC6''], [''on_poweroff'', ''destroy''], [''on_reboot'', ''restart''], [''on_crash'', ''restart''], [''image'', [''linux'', [''kernel'', ''/boot/vmlinuz-2.6.20-1.2948.fc6xen''], [''root'', ''/dev/sda1''], [''args'', ''ro selinux=0 3'']]], [''device'', [''vif'', [''backend'', 0], [''script'', ''vif-bridge''], [''bridge'', ''xenbr0''], [''mac'', ''00:16:3e:1a:c5:ad'']]], [''device'', [''vbd'', [''backend'', 0], [''dev'', ''sda1:disk''], [''uname'', ''phy:VolGroup00/MailserverRoot''], [''mode'', ''w'']]], [''device'', [''vbd'', [''backend'', 0], [''dev'', ''sda2:disk''], [''uname'', ''phy:VolGroup00/MailserverVar''], [''mode'', ''w'']]], [''device'', [''vbd'', [''backend'', 0], [''dev'', ''sda3:disk''], [''uname'', ''phy:VolGroup00/MailserverSwap''], [''mode'', ''w'']]], [''state'', ''----c-''], [''shutdown_reason'', ''crash''], [''cpu_time'', 0.46822134300000001], [''online_vcpus'', 1], [''up_time'', ''6.71757888794''], [''start_time'', ''1179844268.38''], [''store_mfn'', 397920], [''console_mfn'', 397919]]) [2007-05-22 16:31:15 xend.XendDomainInfo 2900] DEBUG (XendDomainInfo:296) parseConfig: config is [''domain'', [''domid'', 1], [''uuid'', ''e7bc2b19-a377-a892-3ad6-f67b2424ab31''], [''vcpus'', 1], [''vcpu_avail'', 1], [''cpu_weight'', 1.0], [''memory'', 512], [''shadow_memory'', 0], [''maxmem'', 512], [''features'', ''''], [''name'', ''mailserver-FC6''], [''on_poweroff'', ''destroy''], [''on_reboot'', ''restart''], [''on_crash'', ''restart''], [''image'', [''linux'', [''kernel'', ''/boot/vmlinuz-2.6.20-1.2948.fc6xen''], [''root'', ''/dev/sda1''], [''args'', ''ro selinux=0 3'']]], [''device'', [''vif'', [''backend'', 0], [''script'', ''vif-bridge''], [''bridge'', ''xenbr0''], [''mac'', ''00:16:3e:1a:c5:ad'']]], [''device'', [''vbd'', [''backend'', 0], [''dev'', ''sda1:disk''], [''uname'', ''phy:VolGroup00/MailserverRoot''], [''mode'', ''w'']]], [''device'', [''vbd'', [''backend'', 0], [''dev'', ''sda2:disk''], [''uname'', ''phy:VolGroup00/MailserverVar''], [''mode'', ''w'']]], [''device'', [''vbd'', [''backend'', 0], [''dev'', ''sda3:disk''], [''uname'', ''phy:VolGroup00/MailserverSwap''], [''mode'', ''w'']]], [''state'', ''----c-''], [''shutdown_reason'', ''crash''], [''cpu_time'', 0.46822134300000001], [''online_vcpus'', 1], [''up_time'', ''6.71757888794''], [''start_time'', ''1179844268.38''], [''store_mfn'', 397920], [''console_mfn'', 397919]] [2007-05-22 16:31:15 xend.XendDomainInfo 2900] DEBUG (XendDomainInfo:397) parseConfig: result is {''shadow_memory'': 0, ''start_time'': 1179844268.3800001, ''uuid'': ''e7bc2b19-a377-a892-3ad6-f67b2424ab31'', ''on_crash'': ''restart'', ''on_reboot'': ''restart'', ''localtime'': None, ''image'': [''linux'', [''kernel'', ''/boot/vmlinuz-2.6.20-1.2948.fc6xen''], [''root'', ''/dev/sda1''], [''args'', ''ro selinux=0 3'']], ''on_poweroff'': ''destroy'', ''bootloader_args'': None, ''cpus'': None, ''name'': ''mailserver-FC6'', ''backend'': [], ''vcpus'': 1, ''cpu_weight'': 1.0, ''features'': '''', ''vcpu_avail'': 1, ''memory'': 512, ''device'': [(''vif'', [''vif'', [''backend'', 0], [''script'', ''vif-bridge''], [''bridge'', ''xenbr0''], [''mac'', ''00:16:3e:1a:c5:ad'']]), (''vbd'', [''vbd'', [''backend'', 0], [''dev'', ''sda1:disk''], [''uname'', ''phy:VolGroup00/MailserverRoot''], [''mode'', ''w'']]), (''vbd'', [''vbd'', [''backend'', 0], [''dev'', ''sda2:disk''], [''uname'', ''phy:VolGroup00/MailserverVar''], [''mode'', ''w'']]), (''vbd'', [''vbd'', [''backend'', 0], [''dev'', ''sda3:disk''], [''uname'', ''phy:VolGroup00/MailserverSwap''], [''mode'', ''w'']])], ''bootloader'': None, ''cpu'': None, ''maxmem'': 512} [2007-05-22 16:31:15 xend.XendDomainInfo 2900] DEBUG (XendDomainInfo:1264) XendDomainInfo.construct: None [2007-05-22 16:31:15 xend.XendDomainInfo 2900] DEBUG (XendDomainInfo:1296) XendDomainInfo.initDomain: 2 1.0 [2007-05-22 16:31:15 xend 2900] DEBUG (balloon:127) Balloon: 1363164 KiB free; need 524288; done. [2007-05-22 16:31:15 xend 2900] INFO (image:136) buildDomain os=linux dom=2 vcpus=1 [2007-05-22 16:31:15 xend 2900] DEBUG (image:199) dom = 2 [2007-05-22 16:31:15 xend 2900] DEBUG (image:200) image /boot/vmlinuz-2.6.20-1.2948.fc6xen [2007-05-22 16:31:15 xend 2900] DEBUG (image:201) store_evtchn = 1 [2007-05-22 16:31:15 xend 2900] DEBUG (image:202) console_evtchn = 2 [2007-05-22 16:31:15 xend 2900] DEBUG (image:203) cmdline root=/dev/sda1 ro selinux=0 3 [2007-05-22 16:31:15 xend 2900] DEBUG (image:204) ramdisk [2007-05-22 16:31:15 xend 2900] DEBUG (image:205) vcpus = 1 [2007-05-22 16:31:15 xend 2900] DEBUG (image:206) features [2007-05-22 16:31:15 xend 2900] DEBUG (DevController:110) DevController: writing {''backend-id'': ''0'', ''mac'': ''00:16:3e:1a:c5:ad'', ''handle'': ''0'', ''state'': ''1'', ''backend'': ''/local/domain/0/backend/vif/2/0''} to /local/domain/2/device/vif/0. [2007-05-22 16:31:15 xend 2900] DEBUG (DevController:112) DevController: writing {''bridge'': ''xenbr0'', ''domain'': ''mailserver-FC6'', ''handle'': ''0'', ''script'': ''/etc/xen/scripts/vif-bridge'', ''state'': ''1'', ''frontend'': ''/local/domain/2/device/vif/0'', ''mac'': ''00:16:3e:1a:c5:ad'', ''online'': ''1'', ''frontend-id'': ''2''} to /local/domain/0/backend/vif/2/0. [2007-05-22 16:31:15 xend 2900] DEBUG (DevController:110) DevController: writing {''backend-id'': ''0'', ''virtual-device'': ''2049'', ''device-type'': ''disk'', ''state'': ''1'', ''backend'': ''/local/domain/0/backend/vbd/2/2049''} to /local/domain/2/device/vbd/2049. [2007-05-22 16:31:15 xend 2900] DEBUG (DevController:112) DevController: writing {''domain'': ''mailserver-FC6'', ''frontend'': ''/local/domain/2/device/vbd/2049'', ''dev'': ''sda1'', ''state'': ''1'', ''params'': ''VolGroup00/MailserverRoot'', ''mode'': ''w'', ''online'': ''1'', ''frontend-id'': ''2'', ''type'': ''phy''} to /local/domain/0/backend/vbd/2/2049. [2007-05-22 16:31:15 xend 2900] DEBUG (DevController:110) DevController: writing {''backend-id'': ''0'', ''virtual-device'': ''2050'', ''device-type'': ''disk'', ''state'': ''1'', ''backend'': ''/local/domain/0/backend/vbd/2/2050''} to /local/domain/2/device/vbd/2050. [2007-05-22 16:31:15 xend 2900] DEBUG (DevController:112) DevController: writing {''domain'': ''mailserver-FC6'', ''frontend'': ''/local/domain/2/device/vbd/2050'', ''dev'': ''sda2'', ''state'': ''1'', ''params'': ''VolGroup00/MailserverVar'', ''mode'': ''w'', ''online'': ''1'', ''frontend-id'': ''2'', ''type'': ''phy''} to /local/domain/0/backend/vbd/2/2050. [2007-05-22 16:31:15 xend 2900] DEBUG (blkif:24) exception looking up device number for sda3: [Errno 2] No such file or directory: ''/dev/sda3'' [2007-05-22 16:31:15 xend 2900] DEBUG (DevController:110) DevController: writing {''backend-id'': ''0'', ''virtual-device'': ''2051'', ''device-type'': ''disk'', ''state'': ''1'', ''backend'': ''/local/domain/0/backend/vbd/2/2051''} to /local/domain/2/device/vbd/2051. [2007-05-22 16:31:15 xend 2900] DEBUG (DevController:112) DevController: writing {''domain'': ''mailserver-FC6'', ''frontend'': ''/local/domain/2/device/vbd/2051'', ''dev'': ''sda3'', ''state'': ''1'', ''params'': ''VolGroup00/MailserverSwap'', ''mode'': ''w'', ''online'': ''1'', ''frontend-id'': ''2'', ''type'': ''phy''} to /local/domain/0/backend/vbd/2/2051. [2007-05-22 16:31:15 xend.XendDomainInfo 2900] DEBUG (XendDomainInfo:715) Storing VM details: {''shadow_memory'': ''0'', ''uuid'': ''e7bc2b19-a377-a892-3ad6-f67b2424ab31'', ''on_reboot'': ''restart'', ''start_time'': ''1179844275.89'', ''on_poweroff'': ''destroy'', ''name'': ''mailserver-FC6'', ''vcpus'': ''1'', ''vcpu_avail'': ''1'', ''memory'': ''512'', ''on_crash'': ''restart'', ''image'': "(linux (kernel /boot/vmlinuz-2.6.20-1.2948.fc6xen) (root /dev/sda1) (args ''ro selinux=0 3''))", ''maxmem'': ''512''} [2007-05-22 16:31:15 xend.XendDomainInfo 2900] DEBUG (XendDomainInfo:750) Storing domain details: {''console/ring-ref'': ''364002'', ''console/port'': ''2'', ''name'': ''mailserver-FC6'', ''console/limit'': ''1048576'', ''vm'': ''/vm/e7bc2b19-a377-a892-3ad6-f67b2424ab31'', ''domid'': ''2'', ''cpu/0/availability'': ''online'', ''memory/target'': ''524288'', ''store/ring-ref'': ''364003'', ''store/port'': ''1''} [2007-05-22 16:31:15 xend.XendDomainInfo 2900] DEBUG (XendDomainInfo:940) XendDomainInfo.handleShutdownWatch [2007-05-22 16:31:20 xend.XendDomainInfo 2900] WARNING (XendDomainInfo:882) Domain has crashed: name=mailserver-FC6 id=2. [2007-05-22 16:31:20 xend.XendDomainInfo 2900] ERROR (XendDomainInfo:1675) VM mailserver-FC6 restarting too fast (4.943719 seconds since the last restart). Refusing to restart to avoid loops. [2007-05-22 16:31:20 xend.XendDomainInfo 2900] DEBUG (XendDomainInfo:1463) XendDomainInfo.destroy: domid=2 [2007-05-22 16:31:20 xend.XendDomainInfo 2900] DEBUG (XendDomainInfo:1471) XendDomainInfo.destroyDomain(2) does anybody know where the problem is? are there any good howtos out there on howto install FC6 as domU? i don´t want to use virt-install because it can´t use the logical volumes directly and it wants to partition the logical volume itself again. regards philippe -- I am using the free version of SPAMfighter for private users. It has removed 6509 spam emails to date. Paying users do not have this message in their emails. Get the free SPAMfighter here: http://www.spamfighter.com/len _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Petersson, Mats
2007-May-22 12:45 UTC
RE: [Xen-users] installing fc6 as domU directly on lv´s
> -----Original Message----- > From: xen-users-bounces@lists.xensource.com > [mailto:xen-users-bounces@lists.xensource.com] On Behalf Of > Philippe Trolliet > Sent: 22 May 2007 13:41 > To: Xen-Users > Subject: [Xen-users] installing fc6 as domU directly on lv´s > > hi, > since 2 days i´m trying to install fedora core 6 directly on logical > volumes. my host system is FC6 too. > i want to have following layout in my domU: > /dev/group/ServerRoot mounted in domU as / > /dev/group/ServerVar mounted in domU as /var > /dev/group/ServerSwap mounted in domU as swap device > for the server > > my xen-config looks like this: > > name = "mailserver-FC6" > kernel = "/boot/vmlinuz-2.6.20-1.2948.fc6xen" > memory = 512 > disk = [''phy:VolGroup00/MailserverRoot,sda1,w'', > ''phy:VolGroup00/MailserverVar,sda2,w'', > ''phy:VolGroup00/MailserverSwap,sda3,w''] > #vif = [ '''' ] > root = "/dev/sda1" > extra = "ro selinux=0 3" > vcpus = 1 > vif = [ ''mac=00:16:3e:1a:c5:ad, bridge=xenbr0'', ] > nographic=1[snip] It seems like your domain dies early during boot - perhaps because you don''t have an initrd for your guest? Extract from your log-file: [2007-05-22 16:31:15 xend.XendDomainInfo 2900] WARNING (XendDomainInfo:882) Domain has crashed: name=mailserver-FC6 id=1. -- Mats _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Daniel P. Berrange
2007-May-22 12:54 UTC
Re: [Xen-users] installing fc6 as domU directly on lv´s
On Tue, May 22, 2007 at 02:41:06PM +0200, Philippe Trolliet wrote:> hi, > since 2 days i´m trying to install fedora core 6 directly on logical > volumes. my host system is FC6 too. > i want to have following layout in my domU: > /dev/group/ServerRoot mounted in domU as / > /dev/group/ServerVar mounted in domU as /var > /dev/group/ServerSwap mounted in domU as swap device for the server > > my xen-config looks like this: > > name = "mailserver-FC6" > kernel = "/boot/vmlinuz-2.6.20-1.2948.fc6xen" > memory = 512 > disk = [''phy:VolGroup00/MailserverRoot,sda1,w'', > ''phy:VolGroup00/MailserverVar,sda2,w'', > ''phy:VolGroup00/MailserverSwap,sda3,w'']That isn''t going to work - the Anaconda installer will only look for block devices, not partitions. Having partitions which are not a part of a block device is a Xen driver hack which is not supportable. If you want to have 3 completely separate volumes in the host be visible as 3 separate volumes inside the guest, then you can export them as individual devices ''xdva'', ''xvdb'', ''xvdc''. Then in Anaconda create a single partition on each one, eg xvda1, xvdb1, xvdc1 which you can then map to /, /var and swap respectively. Regards, Dan. -- |=- Red Hat, Engineering, Emerging Technologies, Boston. +1 978 392 2496 -=| |=- Perl modules: http://search.cpan.org/~danberr/ -=| |=- Projects: http://freshmeat.net/~danielpb/ -=| |=- GnuPG: 7D3B9505 F3C9 553F A1DA 4AC2 5648 23C1 B3DF F742 7D3B 9505 -=| _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Philippe Trolliet
2007-May-22 13:13 UTC
RE: [Xen-users] installing fc6 as domU directly on lv´s
Geert Janssens
2007-May-22 13:14 UTC
Re: [Xen-users] installing fc6 as domU directly on lv´s
Hi, I''m not an expert here by any means, but I''ll share my experience here as I have had similar problems with CentOS (which does things similarly as Fedora). As far as I understand, the problem isn''t getting LVM partitions recognised by xen, but Anaconda not being capable of installing directly on partitions. Anaconda seems to insist on using complete block devices. So each partition you specify in the domU config will be interpreted by Anaconda as an unformatted block device. It will insist on adding a partition map and partitions. I didn''t find a way to tell Anaconda to interpret the partitions as partitions. I suspect Red Hat only adapted Anaconda as much as to work with their prefered usage of Xen (working with full block devices, or device files), not for the full capabilities of Xen (passing partitions only). For my setup, I ended up with some sort of compromise: * Create a relatively small LVM partition which will be passed as virtual block device to the domU guest for Anaconda to play with * Create a domU config and install CentOS-5 on this partition. Note that Anaconda will turn it into a virtual block device and adds a partition table and several partitions (I limited it to two: /boot and /) * After successful installation, I added several LVM partitions to the domU configuration as partitions this time * Inside the domU, I altered fstab to use these LVM partitions for /home and /var and swap. * So I can use LVM snapshotting for my data at least. If you get to setup fc6 fully on LVM, I''d love to hear how you did that. I may redo my setup as well then. Regards, Geert On Tuesday 22 May 2007 14:41, Philippe Trolliet wrote:> hi, > since 2 days i´m trying to install fedora core 6 directly on logical > volumes. my host system is FC6 too. > i want to have following layout in my domU: > /dev/group/ServerRoot mounted in domU as / > /dev/group/ServerVar mounted in domU as /var > /dev/group/ServerSwap mounted in domU as swap device for the server > > my xen-config looks like this: > > name = "mailserver-FC6" > kernel = "/boot/vmlinuz-2.6.20-1.2948.fc6xen" > memory = 512 > disk = [''phy:VolGroup00/MailserverRoot,sda1,w'', > ''phy:VolGroup00/MailserverVar,sda2,w'', > ''phy:VolGroup00/MailserverSwap,sda3,w''] > #vif = [ '''' ] > root = "/dev/sda1" > extra = "ro selinux=0 3" > vcpus = 1 > vif = [ ''mac=00:16:3e:1a:c5:ad, bridge=xenbr0'', ] > nographic=1 > > i followed an older howto for FC4 and changed the necessary options and > settings that it fits for FC6. but it doesn´t work too. the domU doesn´t > boot and crashes. > > here the log after i executed "xm create fc6-domU" (sorry, it´s a very long > snippet but it´s "just" the logging of one single try to start the domU): > > [2007-05-22 16:31:08 xend.XendDomainInfo 2900] DEBUG (XendDomainInfo:190) > XendDomainInfo.create([''vm'', [''name'', ''mailserver-FC6''], [''memory'', 512], > [''vcpus'', 1], [''image'', [''linux'', [''kernel'', > ''/boot/vmlinuz-2.6.20-1.2948.fc6xen''], [''root'', ''/dev/sda1''], [''args'', ''ro > selinux=0 3'']]], [''device'', [''vbd'', [''uname'', > ''phy:VolGroup00/MailserverRoot''], [''dev'', ''sda1''], [''mode'', ''w'']]], > [''device'', [''vbd'', [''uname'', ''phy:VolGroup00/MailserverVar''], [''dev'', > ''sda2''], [''mode'', ''w'']]], [''device'', [''vbd'', [''uname'', > ''phy:VolGroup00/MailserverSwap''], [''dev'', ''sda3''], [''mode'', ''w'']]], > [''device'', [''vif'', [''bridge'', ''xenbr0''], [''mac'', ''00:16:3e:1a:c5:ad'']]]]) > [2007-05-22 16:31:08 xend.XendDomainInfo 2900] DEBUG (XendDomainInfo:296) > parseConfig: config is [''vm'', [''name'', ''mailserver-FC6''], [''memory'', 512], > [''vcpus'', 1], [''image'', [''linux'', [''kernel'', > ''/boot/vmlinuz-2.6.20-1.2948.fc6xen''], [''root'', ''/dev/sda1''], [''args'', ''ro > selinux=0 3'']]], [''device'', [''vbd'', [''uname'', > ''phy:VolGroup00/MailserverRoot''], [''dev'', ''sda1''], [''mode'', ''w'']]], > [''device'', [''vbd'', [''uname'', ''phy:VolGroup00/MailserverVar''], [''dev'', > ''sda2''], [''mode'', ''w'']]], [''device'', [''vbd'', [''uname'', > ''phy:VolGroup00/MailserverSwap''], [''dev'', ''sda3''], [''mode'', ''w'']]], > [''device'', [''vif'', [''bridge'', ''xenbr0''], [''mac'', ''00:16:3e:1a:c5:ad'']]]] > [2007-05-22 16:31:08 xend.XendDomainInfo 2900] DEBUG (XendDomainInfo:397) > parseConfig: result is {''shadow_memory'': None, ''start_time'': None, ''uuid'': > None, ''on_crash'': None, ''on_reboot'': None, ''localtime'': None, ''image'': > [''linux'', [''kernel'', ''/boot/vmlinuz-2.6.20-1.2948.fc6xen''], [''root'', > ''/dev/sda1''], [''args'', ''ro selinux=0 3'']], ''on_poweroff'': None, > ''bootloader_args'': None, ''cpus'': None, ''name'': ''mailserver-FC6'', ''backend'': > [], ''vcpus'': 1, ''cpu_weight'': None, ''features'': None, ''vcpu_avail'': None, > ''memory'': 512, ''device'': [(''vbd'', [''vbd'', [''uname'', > ''phy:VolGroup00/MailserverRoot''], [''dev'', ''sda1''], [''mode'', ''w'']]), (''vbd'', > [''vbd'', [''uname'', ''phy:VolGroup00/MailserverVar''], [''dev'', ''sda2''], > [''mode'', ''w'']]), (''vbd'', [''vbd'', [''uname'', > ''phy:VolGroup00/MailserverSwap''], [''dev'', ''sda3''], [''mode'', ''w'']]), (''vif'', > [''vif'', [''bridge'', ''xenbr0''], [''mac'', ''00:16:3e:1a:c5:ad'']])], > ''bootloader'': None, ''cpu'': None, ''maxmem'': None} [2007-05-22 16:31:08 > xend.XendDomainInfo 2900] DEBUG (XendDomainInfo:1264) > XendDomainInfo.construct: None > [2007-05-22 16:31:08 xend.XendDomainInfo 2900] DEBUG (XendDomainInfo:1296) > XendDomainInfo.initDomain: 1 1.0 > [2007-05-22 16:31:08 xend 2900] DEBUG (balloon:127) Balloon: 1559228 KiB > free; need 524288; done. > [2007-05-22 16:31:08 xend 2900] INFO (image:136) buildDomain os=linux dom=1 > vcpus=1 > [2007-05-22 16:31:08 xend 2900] DEBUG (image:199) dom = 1 > [2007-05-22 16:31:08 xend 2900] DEBUG (image:200) image > /boot/vmlinuz-2.6.20-1.2948.fc6xen > [2007-05-22 16:31:08 xend 2900] DEBUG (image:201) store_evtchn = 1 > [2007-05-22 16:31:08 xend 2900] DEBUG (image:202) console_evtchn = 2 > [2007-05-22 16:31:08 xend 2900] DEBUG (image:203) cmdline > root=/dev/sda1 ro selinux=0 3 > [2007-05-22 16:31:08 xend 2900] DEBUG (image:204) ramdisk > [2007-05-22 16:31:08 xend 2900] DEBUG (image:205) vcpus = 1 > [2007-05-22 16:31:08 xend 2900] DEBUG (image:206) features > [2007-05-22 16:31:08 xend 2900] DEBUG (DevController:110) DevController: > writing {''backend-id'': ''0'', ''virtual-device'': ''2049'', ''device-type'': > ''disk'', ''state'': ''1'', ''backend'': ''/local/domain/0/backend/vbd/1/2049''} to > /local/domain/1/device/vbd/2049. > [2007-05-22 16:31:08 xend 2900] DEBUG (DevController:112) DevController: > writing {''domain'': ''mailserver-FC6'', ''frontend'': > ''/local/domain/1/device/vbd/2049'', ''dev'': ''sda1'', ''state'': ''1'', ''params'': > ''VolGroup00/MailserverRoot'', ''mode'': ''w'', ''online'': ''1'', ''frontend-id'': > ''1'', ''type'': ''phy''} to /local/domain/0/backend/vbd/1/2049. > [2007-05-22 16:31:08 xend 2900] DEBUG (DevController:110) DevController: > writing {''backend-id'': ''0'', ''virtual-device'': ''2050'', ''device-type'': > ''disk'', ''state'': ''1'', ''backend'': ''/local/domain/0/backend/vbd/1/2050''} to > /local/domain/1/device/vbd/2050. > [2007-05-22 16:31:08 xend 2900] DEBUG (DevController:112) DevController: > writing {''domain'': ''mailserver-FC6'', ''frontend'': > ''/local/domain/1/device/vbd/2050'', ''dev'': ''sda2'', ''state'': ''1'', ''params'': > ''VolGroup00/MailserverVar'', ''mode'': ''w'', ''online'': ''1'', ''frontend-id'': ''1'', > ''type'': ''phy''} to /local/domain/0/backend/vbd/1/2050. > [2007-05-22 16:31:08 xend 2900] DEBUG (blkif:24) exception looking up > device number for sda3: [Errno 2] No such file or directory: ''/dev/sda3'' > [2007-05-22 16:31:08 xend 2900] DEBUG (DevController:110) DevController: > writing {''backend-id'': ''0'', ''virtual-device'': ''2051'', ''device-type'': > ''disk'', ''state'': ''1'', ''backend'': ''/local/domain/0/backend/vbd/1/2051''} to > /local/domain/1/device/vbd/2051. > [2007-05-22 16:31:08 xend 2900] DEBUG (DevController:112) DevController: > writing {''domain'': ''mailserver-FC6'', ''frontend'': > ''/local/domain/1/device/vbd/2051'', ''dev'': ''sda3'', ''state'': ''1'', ''params'': > ''VolGroup00/MailserverSwap'', ''mode'': ''w'', ''online'': ''1'', ''frontend-id'': > ''1'', ''type'': ''phy''} to /local/domain/0/backend/vbd/1/2051. > [2007-05-22 16:31:08 xend 2900] DEBUG (DevController:110) DevController: > writing {''backend-id'': ''0'', ''mac'': ''00:16:3e:1a:c5:ad'', ''handle'': ''0'', > ''state'': ''1'', ''backend'': ''/local/domain/0/backend/vif/1/0''} to > /local/domain/1/device/vif/0. > [2007-05-22 16:31:08 xend 2900] DEBUG (DevController:112) DevController: > writing {''bridge'': ''xenbr0'', ''domain'': ''mailserver-FC6'', ''handle'': ''0'', > ''script'': ''/etc/xen/scripts/vif-bridge'', ''state'': ''1'', ''frontend'': > ''/local/domain/1/device/vif/0'', ''mac'': ''00:16:3e:1a:c5:ad'', ''online'': ''1'', > ''frontend-id'': ''1''} to /local/domain/0/backend/vif/1/0. > [2007-05-22 16:31:08 xend.XendDomainInfo 2900] DEBUG (XendDomainInfo:715) > Storing VM details: {''shadow_memory'': ''0'', ''uuid'': > ''e7bc2b19-a377-a892-3ad6-f67b2424ab31'', ''on_reboot'': ''restart'', > ''start_time'': ''1179844268.38'', ''on_poweroff'': ''destroy'', ''name'': > ''mailserver-FC6'', ''xend/restart_count'': ''0'', ''vcpus'': ''1'', ''vcpu_avail'': > ''1'', ''memory'': ''512'', ''on_crash'': ''restart'', ''image'': "(linux (kernel > /boot/vmlinuz-2.6.20-1.2948.fc6xen) (root /dev/sda1) (args ''ro selinux=0 > 3''))", ''maxmem'': ''512''} > [2007-05-22 16:31:08 xend.XendDomainInfo 2900] DEBUG (XendDomainInfo:750) > Storing domain details: {''console/ring-ref'': ''397919'', ''console/port'': ''2'', > ''name'': ''mailserver-FC6'', ''console/limit'': ''1048576'', ''vm'': > ''/vm/e7bc2b19-a377-a892-3ad6-f67b2424ab31'', ''domid'': ''1'', > ''cpu/0/availability'': ''online'', ''memory/target'': ''524288'', > ''store/ring-ref'': ''397920'', ''store/port'': ''1''} > [2007-05-22 16:31:08 xend.XendDomainInfo 2900] DEBUG (XendDomainInfo:940) > XendDomainInfo.handleShutdownWatch > [2007-05-22 16:31:08 xend 2900] DEBUG (DevController:143) Waiting for > devices vif. > [2007-05-22 16:31:08 xend 2900] DEBUG (DevController:149) Waiting for 0. > [2007-05-22 16:31:08 xend 2900] DEBUG (DevController:472) > hotplugStatusCallback /local/domain/0/backend/vif/1/0/hotplug-status. > [2007-05-22 16:31:09 xend 2900] DEBUG (DevController:472) > hotplugStatusCallback /local/domain/0/backend/vif/1/0/hotplug-status. > [2007-05-22 16:31:09 xend 2900] DEBUG (DevController:486) > hotplugStatusCallback 1. > [2007-05-22 16:31:09 xend 2900] DEBUG (DevController:143) Waiting for > devices usb. > [2007-05-22 16:31:09 xend 2900] DEBUG (DevController:143) Waiting for > devices vbd. > [2007-05-22 16:31:09 xend 2900] DEBUG (DevController:149) Waiting for 2049. > [2007-05-22 16:31:09 xend 2900] DEBUG (DevController:472) > hotplugStatusCallback /local/domain/0/backend/vbd/1/2049/hotplug-status. > [2007-05-22 16:31:10 xend 2900] DEBUG (DevController:472) > hotplugStatusCallback /local/domain/0/backend/vbd/1/2049/hotplug-status. > [2007-05-22 16:31:10 xend 2900] DEBUG (DevController:486) > hotplugStatusCallback 1. > [2007-05-22 16:31:10 xend 2900] DEBUG (DevController:149) Waiting for 2050. > [2007-05-22 16:31:10 xend 2900] DEBUG (DevController:472) > hotplugStatusCallback /local/domain/0/backend/vbd/1/2050/hotplug-status. > [2007-05-22 16:31:11 xend 2900] DEBUG (DevController:472) > hotplugStatusCallback /local/domain/0/backend/vbd/1/2050/hotplug-status. > [2007-05-22 16:31:11 xend 2900] DEBUG (DevController:486) > hotplugStatusCallback 1. > [2007-05-22 16:31:11 xend 2900] DEBUG (DevController:149) Waiting for 2051. > [2007-05-22 16:31:11 xend 2900] DEBUG (DevController:472) > hotplugStatusCallback /local/domain/0/backend/vbd/1/2051/hotplug-status. > [2007-05-22 16:31:11 xend 2900] DEBUG (DevController:486) > hotplugStatusCallback 1. > [2007-05-22 16:31:11 xend 2900] DEBUG (DevController:143) Waiting for > devices irq. > [2007-05-22 16:31:11 xend 2900] DEBUG (DevController:143) Waiting for > devices vkbd. > [2007-05-22 16:31:11 xend 2900] DEBUG (DevController:143) Waiting for > devices vfb. > [2007-05-22 16:31:11 xend 2900] DEBUG (DevController:143) Waiting for > devices pci. > [2007-05-22 16:31:11 xend 2900] DEBUG (DevController:143) Waiting for > devices ioports. > [2007-05-22 16:31:11 xend 2900] DEBUG (DevController:143) Waiting for > devices tap. > [2007-05-22 16:31:11 xend 2900] DEBUG (DevController:143) Waiting for > devices vtpm. > [2007-05-22 16:31:11 xend 2900] INFO (XendDomain:370) Domain mailserver-FC6 > (1) unpaused. > [2007-05-22 16:31:15 xend.XendDomainInfo 2900] WARNING (XendDomainInfo:882) > Domain has crashed: name=mailserver-FC6 id=1. > [2007-05-22 16:31:15 xend.XendDomainInfo 2900] DEBUG (XendDomainInfo:1471) > XendDomainInfo.destroyDomain(1) > [2007-05-22 16:31:15 xend.XendDomainInfo 2900] DEBUG (XendDomainInfo:190) > XendDomainInfo.create([''domain'', [''domid'', 1], [''uuid'', > ''e7bc2b19-a377-a892-3ad6-f67b2424ab31''], [''vcpus'', 1], [''vcpu_avail'', 1], > [''cpu_weight'', 1.0], [''memory'', 512], [''shadow_memory'', 0], [''maxmem'', > 512], [''features'', ''''], [''name'', ''mailserver-FC6''], [''on_poweroff'', > ''destroy''], [''on_reboot'', ''restart''], [''on_crash'', ''restart''], [''image'', > [''linux'', [''kernel'', ''/boot/vmlinuz-2.6.20-1.2948.fc6xen''], [''root'', > ''/dev/sda1''], [''args'', ''ro selinux=0 3'']]], [''device'', [''vif'', [''backend'', > 0], [''script'', ''vif-bridge''], [''bridge'', ''xenbr0''], [''mac'', > ''00:16:3e:1a:c5:ad'']]], [''device'', [''vbd'', [''backend'', 0], [''dev'', > ''sda1:disk''], [''uname'', ''phy:VolGroup00/MailserverRoot''], [''mode'', ''w'']]], > [''device'', [''vbd'', [''backend'', 0], [''dev'', ''sda2:disk''], [''uname'', > ''phy:VolGroup00/MailserverVar''], [''mode'', ''w'']]], [''device'', [''vbd'', > [''backend'', 0], [''dev'', ''sda3:disk''], [''uname'', > ''phy:VolGroup00/MailserverSwap''], [''mode'', ''w'']]], [''state'', ''----c-''], > [''shutdown_reason'', ''crash''], [''cpu_time'', 0.46822134300000001], > [''online_vcpus'', 1], [''up_time'', ''6.71757888794''], [''start_time'', > ''1179844268.38''], [''store_mfn'', 397920], [''console_mfn'', 397919]]) > [2007-05-22 16:31:15 xend.XendDomainInfo 2900] DEBUG (XendDomainInfo:296) > parseConfig: config is [''domain'', [''domid'', 1], [''uuid'', > ''e7bc2b19-a377-a892-3ad6-f67b2424ab31''], [''vcpus'', 1], [''vcpu_avail'', 1], > [''cpu_weight'', 1.0], [''memory'', 512], [''shadow_memory'', 0], [''maxmem'', > 512], [''features'', ''''], [''name'', ''mailserver-FC6''], [''on_poweroff'', > ''destroy''], [''on_reboot'', ''restart''], [''on_crash'', ''restart''], [''image'', > [''linux'', [''kernel'', ''/boot/vmlinuz-2.6.20-1.2948.fc6xen''], [''root'', > ''/dev/sda1''], [''args'', ''ro selinux=0 3'']]], [''device'', [''vif'', [''backend'', > 0], [''script'', ''vif-bridge''], [''bridge'', ''xenbr0''], [''mac'', > ''00:16:3e:1a:c5:ad'']]], [''device'', [''vbd'', [''backend'', 0], [''dev'', > ''sda1:disk''], [''uname'', ''phy:VolGroup00/MailserverRoot''], [''mode'', ''w'']]], > [''device'', [''vbd'', [''backend'', 0], [''dev'', ''sda2:disk''], [''uname'', > ''phy:VolGroup00/MailserverVar''], [''mode'', ''w'']]], [''device'', [''vbd'', > [''backend'', 0], [''dev'', ''sda3:disk''], [''uname'', > ''phy:VolGroup00/MailserverSwap''], [''mode'', ''w'']]], [''state'', ''----c-''], > [''shutdown_reason'', ''crash''], [''cpu_time'', 0.46822134300000001], > [''online_vcpus'', 1], [''up_time'', ''6.71757888794''], [''start_time'', > ''1179844268.38''], [''store_mfn'', 397920], [''console_mfn'', 397919]] > [2007-05-22 16:31:15 xend.XendDomainInfo 2900] DEBUG (XendDomainInfo:397) > parseConfig: result is {''shadow_memory'': 0, ''start_time'': > 1179844268.3800001, ''uuid'': ''e7bc2b19-a377-a892-3ad6-f67b2424ab31'', > ''on_crash'': ''restart'', ''on_reboot'': ''restart'', ''localtime'': None, ''image'': > [''linux'', [''kernel'', ''/boot/vmlinuz-2.6.20-1.2948.fc6xen''], [''root'', > ''/dev/sda1''], [''args'', ''ro selinux=0 3'']], ''on_poweroff'': ''destroy'', > ''bootloader_args'': None, ''cpus'': None, ''name'': ''mailserver-FC6'', ''backend'': > [], ''vcpus'': 1, ''cpu_weight'': 1.0, ''features'': '''', ''vcpu_avail'': 1, > ''memory'': 512, ''device'': [(''vif'', [''vif'', [''backend'', 0], [''script'', > ''vif-bridge''], [''bridge'', ''xenbr0''], [''mac'', ''00:16:3e:1a:c5:ad'']]), > (''vbd'', [''vbd'', [''backend'', 0], [''dev'', ''sda1:disk''], [''uname'', > ''phy:VolGroup00/MailserverRoot''], [''mode'', ''w'']]), (''vbd'', [''vbd'', > [''backend'', 0], [''dev'', ''sda2:disk''], [''uname'', > ''phy:VolGroup00/MailserverVar''], [''mode'', ''w'']]), (''vbd'', [''vbd'', > [''backend'', 0], [''dev'', ''sda3:disk''], [''uname'', > ''phy:VolGroup00/MailserverSwap''], [''mode'', ''w'']])], ''bootloader'': None, > ''cpu'': None, ''maxmem'': 512} > [2007-05-22 16:31:15 xend.XendDomainInfo 2900] DEBUG (XendDomainInfo:1264) > XendDomainInfo.construct: None > [2007-05-22 16:31:15 xend.XendDomainInfo 2900] DEBUG (XendDomainInfo:1296) > XendDomainInfo.initDomain: 2 1.0 > [2007-05-22 16:31:15 xend 2900] DEBUG (balloon:127) Balloon: 1363164 KiB > free; need 524288; done. > [2007-05-22 16:31:15 xend 2900] INFO (image:136) buildDomain os=linux dom=2 > vcpus=1 > [2007-05-22 16:31:15 xend 2900] DEBUG (image:199) dom = 2 > [2007-05-22 16:31:15 xend 2900] DEBUG (image:200) image > /boot/vmlinuz-2.6.20-1.2948.fc6xen > [2007-05-22 16:31:15 xend 2900] DEBUG (image:201) store_evtchn = 1 > [2007-05-22 16:31:15 xend 2900] DEBUG (image:202) console_evtchn = 2 > [2007-05-22 16:31:15 xend 2900] DEBUG (image:203) cmdline > root=/dev/sda1 ro selinux=0 3 > [2007-05-22 16:31:15 xend 2900] DEBUG (image:204) ramdisk > [2007-05-22 16:31:15 xend 2900] DEBUG (image:205) vcpus = 1 > [2007-05-22 16:31:15 xend 2900] DEBUG (image:206) features > [2007-05-22 16:31:15 xend 2900] DEBUG (DevController:110) DevController: > writing {''backend-id'': ''0'', ''mac'': ''00:16:3e:1a:c5:ad'', ''handle'': ''0'', > ''state'': ''1'', ''backend'': ''/local/domain/0/backend/vif/2/0''} to > /local/domain/2/device/vif/0. > [2007-05-22 16:31:15 xend 2900] DEBUG (DevController:112) DevController: > writing {''bridge'': ''xenbr0'', ''domain'': ''mailserver-FC6'', ''handle'': ''0'', > ''script'': ''/etc/xen/scripts/vif-bridge'', ''state'': ''1'', ''frontend'': > ''/local/domain/2/device/vif/0'', ''mac'': ''00:16:3e:1a:c5:ad'', ''online'': ''1'', > ''frontend-id'': ''2''} to /local/domain/0/backend/vif/2/0. > [2007-05-22 16:31:15 xend 2900] DEBUG (DevController:110) DevController: > writing {''backend-id'': ''0'', ''virtual-device'': ''2049'', ''device-type'': > ''disk'', ''state'': ''1'', ''backend'': ''/local/domain/0/backend/vbd/2/2049''} to > /local/domain/2/device/vbd/2049. > [2007-05-22 16:31:15 xend 2900] DEBUG (DevController:112) DevController: > writing {''domain'': ''mailserver-FC6'', ''frontend'': > ''/local/domain/2/device/vbd/2049'', ''dev'': ''sda1'', ''state'': ''1'', ''params'': > ''VolGroup00/MailserverRoot'', ''mode'': ''w'', ''online'': ''1'', ''frontend-id'': > ''2'', ''type'': ''phy''} to /local/domain/0/backend/vbd/2/2049. > [2007-05-22 16:31:15 xend 2900] DEBUG (DevController:110) DevController: > writing {''backend-id'': ''0'', ''virtual-device'': ''2050'', ''device-type'': > ''disk'', ''state'': ''1'', ''backend'': ''/local/domain/0/backend/vbd/2/2050''} to > /local/domain/2/device/vbd/2050. > [2007-05-22 16:31:15 xend 2900] DEBUG (DevController:112) DevController: > writing {''domain'': ''mailserver-FC6'', ''frontend'': > ''/local/domain/2/device/vbd/2050'', ''dev'': ''sda2'', ''state'': ''1'', ''params'': > ''VolGroup00/MailserverVar'', ''mode'': ''w'', ''online'': ''1'', ''frontend-id'': ''2'', > ''type'': ''phy''} to /local/domain/0/backend/vbd/2/2050. > [2007-05-22 16:31:15 xend 2900] DEBUG (blkif:24) exception looking up > device number for sda3: [Errno 2] No such file or directory: ''/dev/sda3'' > [2007-05-22 16:31:15 xend 2900] DEBUG (DevController:110) DevController: > writing {''backend-id'': ''0'', ''virtual-device'': ''2051'', ''device-type'': > ''disk'', ''state'': ''1'', ''backend'': ''/local/domain/0/backend/vbd/2/2051''} to > /local/domain/2/device/vbd/2051. > [2007-05-22 16:31:15 xend 2900] DEBUG (DevController:112) DevController: > writing {''domain'': ''mailserver-FC6'', ''frontend'': > ''/local/domain/2/device/vbd/2051'', ''dev'': ''sda3'', ''state'': ''1'', ''params'': > ''VolGroup00/MailserverSwap'', ''mode'': ''w'', ''online'': ''1'', ''frontend-id'': > ''2'', ''type'': ''phy''} to /local/domain/0/backend/vbd/2/2051. > [2007-05-22 16:31:15 xend.XendDomainInfo 2900] DEBUG (XendDomainInfo:715) > Storing VM details: {''shadow_memory'': ''0'', ''uuid'': > ''e7bc2b19-a377-a892-3ad6-f67b2424ab31'', ''on_reboot'': ''restart'', > ''start_time'': ''1179844275.89'', ''on_poweroff'': ''destroy'', ''name'': > ''mailserver-FC6'', ''vcpus'': ''1'', ''vcpu_avail'': ''1'', ''memory'': ''512'', > ''on_crash'': ''restart'', ''image'': "(linux (kernel > /boot/vmlinuz-2.6.20-1.2948.fc6xen) (root /dev/sda1) (args ''ro selinux=0 > 3''))", ''maxmem'': ''512''} > [2007-05-22 16:31:15 xend.XendDomainInfo 2900] DEBUG (XendDomainInfo:750) > Storing domain details: {''console/ring-ref'': ''364002'', ''console/port'': ''2'', > ''name'': ''mailserver-FC6'', ''console/limit'': ''1048576'', ''vm'': > ''/vm/e7bc2b19-a377-a892-3ad6-f67b2424ab31'', ''domid'': ''2'', > ''cpu/0/availability'': ''online'', ''memory/target'': ''524288'', > ''store/ring-ref'': ''364003'', ''store/port'': ''1''} > [2007-05-22 16:31:15 xend.XendDomainInfo 2900] DEBUG (XendDomainInfo:940) > XendDomainInfo.handleShutdownWatch > [2007-05-22 16:31:20 xend.XendDomainInfo 2900] WARNING (XendDomainInfo:882) > Domain has crashed: name=mailserver-FC6 id=2. > [2007-05-22 16:31:20 xend.XendDomainInfo 2900] ERROR (XendDomainInfo:1675) > VM mailserver-FC6 restarting too fast (4.943719 seconds since the last > restart). Refusing to restart to avoid loops. > [2007-05-22 16:31:20 xend.XendDomainInfo 2900] DEBUG (XendDomainInfo:1463) > XendDomainInfo.destroy: domid=2 > [2007-05-22 16:31:20 xend.XendDomainInfo 2900] DEBUG (XendDomainInfo:1471) > XendDomainInfo.destroyDomain(2) > > > does anybody know where the problem is? are there any good howtos out there > on howto install FC6 as domU? i don´t want to use virt-install because it > can´t use the logical volumes directly and it wants to partition the > logical volume itself again. > > regards > philippe > > -- > I am using the free version of SPAMfighter for private users. > It has removed 6509 spam emails to date. > Paying users do not have this message in their emails. > Get the free SPAMfighter here: http://www.spamfighter.com/len > > > _______________________________________________ > Xen-users mailing list > Xen-users@lists.xensource.com > http://lists.xensource.com/xen-users-- Kobalt W.I.T. Web & Information Technology Brusselsesteenweg 152 1850 Grimbergen Tel : +32 479 339 655 Email: info@kobaltwit.be _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Philippe Trolliet
2007-May-22 13:40 UTC
RE: [Xen-users] installing fc6 as domU directly on lv´s - howto
Philippe Trolliet
2007-May-22 13:46 UTC
RE: [Xen-users] installing fc6 as domU directly onlv´s
When I set up FC6 as a domU, here''s how I did it. It''s pretty different from what you''ve got, but it might shed light on your situation in some way. Create LV on Dom0. Call it /dev/vg/domU. Use pvcreate to use that lv as a pv (sounds wierd, but it works). create a new vg with the domU pv as the only pv. Call it domUvg. Create another lv in Dom0 and call it DomUboot. Create all the Lvs you might want on DomUvg. So, on Dom0 you''ll have something like this: /dev/vg/DomU /dev/vg/DomUboot /dev/DomUvg/root /dev/DomUvg/swap /dev/DomUvg/home etc... Then in your xm config file, you create two disks like this: disk = [ ''phy:vg/DomUboot,hda,w'', ''phy:vg/DomU,hdb,w''] In Anaconda you tell it where to mount each volume. You have to specify that you want to format each one as ext3, swap, whatever. hda must be /boot (because LV can''t be /boot).> ----snip > > > If you get to setup fc6 fully on LVM, I''d love to hear how you > > did that. I may > > redo my setup as well then. > > see my last mail with the addition of " - howto" in the subject. i have > quickly rewritten a fc4 howto. maybe there are some mistakes in my > QUICK-WRITTEN HOWTO. > > my problem is that i don´t know how to setup the root password. > > ----snip > > -- > I am using the free version of SPAMfighter for private users. > It has removed 6509 spam emails to date. > Paying users do not have this message in their emails. > Get the free SPAMfighter here: [1]http://www.spamfighter.com/len > > References > > Visible links > 1. http://www.spamfighter.com/lenContent-Description: ATT377214.txt> _______________________________________________ > Xen-users mailing list > Xen-users@lists.xensource.com > http://lists.xensource.com/xen-users_______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users