[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Xen-users] can't mount LVM based vbd for domU
Hello everyone, I'm getting my feet wet with Xen 3.0.1 and I'm having trouble creating a DomU which uses an LVM lv as the vbd. I've had no problems spinning up DomU's based on file images and on actual partitions. I'm hoping I'm just missing something simple. I'm running XEN 3.0.1 -- Debian Stable/backports Error message for 'xm create -c ./centOS-4.2_vm1.cfg Using config file "centOS-4.2_vm1.cfg". Error: Device 2049 (vbd) could not be connected. Device /dev/VG1/vmvol1 is mounted in a guest domain, and so cannot be mounted now. 'xm list' Name ID Mem(MiB) VCPUs State Time(s) Domain-0 0 512 1 r----- 457.6 CentOS_42_vm1 12 512 1 --p--- 0.0 Config file: 'cat centOS-4.2_vm1.cfg' name = "CentOS_42_vm1" memory = 512 kernel = "/boot/vmlinuz-2.6.12.6-xenU" vif=[ ' ' ] dhcp = "dhcp" disk = [ 'phy:VG1/vmvol1,sda1,w','phy:VG1/vm_swap1,sda2,w' ] root = "/dev/sda1 ro" I don't have /dev/VG1/vmvol1 mounted anywhere results of 'df -h' Filesystem Size Used Avail Use% Mounted on /dev/sda1 7.5G 2.9G 4.7G 39% / tmpfs 257M 0 257M 0% /dev/shm result of 'lvscan' ACTIVE '/dev/VG1/swap' [4.00 GB] inherit ACTIVE '/dev/VG1/vmvol1' [8.00 GB] inherit ACTIVE '/dev/VG1/vm_swap1' [512.00 MB] inherit ACTIVE '/dev/VG1/vm_images' [9.77 GB] inherit ACTIVE '/dev/VG1/space' [9.77 GB] inherit --- Logical volume --- LV Name /dev/VG1/vmvol1 VG Name VG1 LV UUID E9ky1Q-1ErH-Dfdj-XXXX-qDsb-bbPa-XXXXX LV Write Access read/write LV Status available # open 0 LV Size 8.00 GB Current LE 2048 Segments 1 Allocation inherit Read ahead sectors 0 Block device 253:1 --- Logical volume --- LV Name /dev/VG1/vm_swap1 VG Name VG1 LV UUID RZL4zZ-seVf-Gi3u-0l3P-XXXX-6EIq-XXXXX LV Write Access read/write LV Status available # open 0 LV Size 512.00 MB Current LE 128 Segments 1 Allocation inherit Read ahead sectors 0 Block device 253:2 Any help would be appreciated. Thanks, Jim _______________________________________________ Xen-users mailing list Xen-users@xxxxxxxxxxxxxxxxxxx http://lists.xensource.com/xen-users
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |