Re: Xen to KVM Migration - How to resize LVM Partisions using KVM

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

 



Thanks for your valuable suggestions.

>> Apparently you are not using LVM inside the guest. I would do so for
flexibility.

I have tried to create LVM while installing FC10 using Virt-install. When I select Disk Format as LVM,
mount point got disable, which simply means we cant install / or /var or swap on LVM.

we tried another way to use LVM. we created 3 lvm /dev/VolgroupVoo/vm2.root,
/dev/VolgroupVoo/vm2.var,/dev/VolgroupVoo/vm2.swap and install fedora with following command

virt-install -n kvm-vm -r 200 -w bridge:br0 -l /fc/Fedora-10-i386-DVD.iso --accelerate --os-type=linux -f /dev/VolgroupV00
/vm2.root -f /dev/VolgroupV00/vm2.var -f /dev/VolgroupV00/vm2.swap --force -x console=ttyS0 --nographics --hvm

Installation got successfull but VM refused to start giving following error in log

----------------------------------------------------------------------------------
LC_ALL=C PATH=/sbin:/usr/sbin:/bin:/usr/bin /usr/bin/qemu-kvm -S -M pc -m 200 -smp 1 -name kvm-vm -nographic -monitor pty -boot c -drive file=/dev/vmdata/vm2.root,if=ide,index=0,boot=on -drive file=/dev/vmdata/vm2.var,if=ide,index=1 -drive file=/home/mmaeasam/Fedora-10-i386-DVD.iso,if=ide,index=2 -drive file=/dev/vmdata/vm2.swap,if=ide,index=3 -net nic,macaddr=54:52:00:0a:12:4d,vlan=0 -net tap,fd=16,script=,vlan=0,ifname=vnet2 -serial pty -parallel none -usb
char device redirected to /dev/pts/2
char device redirected to /dev/pts/5
info cpus
exception 13 (0)
rax 0000000000000000 rbx 0000000000000000 rcx 0000000000000000 rdx 0000000000000000
rsi 0000000000000000 rdi 0000000000000000 rsp 000000000000ffea rbp 000000000000ffee
r8 0000000000000000 r9 0000000000000000 r10 0000000000000000 r11 0000000000000000
r12 0000000000000000 r13 0000000000000000 r14 0000000000000000 r15 0000000000000000
rip 000000000001fe05 rflags 00033086
cs 1020 (00010200/0000ffff p 1 dpl 3 db 0 s 1 type 3 l 0 g 0 avl 0)
ds 1000 (00010000/0000ffff p 1 dpl 3 db 0 s 1 type 3 l 0 g 0 avl 0)
es 1000 (00010000/0000ffff p 1 dpl 3 db 0 s 1 type 3 l 0 g 0 avl 0)
ss 1000 (00010000/0000ffff p 1 dpl 3 db 0 s 1 type 3 l 0 g 0 avl 0)
fs 1000 (00010000/0000ffff p 1 dpl 3 db 0 s 1 type 3 l 0 g 0 avl 0)
gs 0000 (00000000/0000ffff p 1 dpl 3 db 0 s 1 type 3 l 0 g 0 avl 0)
tr 0000 (fffbd000/00002088 p 1 dpl 0 db 0 s 0 type b l 0 g 0 avl 0)
ldt 0000 (00000000/0000ffff p 1 dpl 0 db 0 s 0 type 2 l 0 g 0 avl 0)
gdt fb562/30
idt 0/3ff
cr0 10 cr2 0 cr3 0 cr4 0 cr8 0 efer 0
code: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 55 89 e5 50 51 --> 06 57 8b 4e 0a 85 c9 74 10 8b 46 04 8e c0 8b 46 06 89 c7 8a 46 08 fc f3 aa 5f 07 59 58] 5d
-----------------------------------------------------------------------------------------

I am not installing any graphical console for VM. Any idea, whats going wrong ? or
Any other way to use LVM for Files system ????



Regards, Mateen


Express your personality in color! Preview and select themes for Hotmail®. See how.
--
Fedora-xen mailing list
Fedora-xen@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/fedora-xen

[Index of Archives]     [Fedora General]     [Fedora Music]     [Linux Kernel]     [Fedora Desktop]     [Fedora Directory]     [PAM]     [Big List of Linux Books]     [Gimp]     [Yosemite News]

  Powered by Linux