[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] Re: [Xen-users] Questions on qcow, qcow2 versus LVM
On Mon, January 4, 2010 12:37 pm, Fajar A. Nugraha wrote: > udev should create the partition block device file (i.e /dev/xvda1) as > necessary. Try doing "fdisk -l" and "ls -la /dev/xvda1". > If that doesn't work, you could always try mapping it as hda/sda > instead of xvda. It should work with 2.6.18 kernel. fdisk -l Disk /dev/xvda: 42.9 GB, 42949672960 bytes 255 heads, 63 sectors/track, 5221 cylinders Units = cylinders of 16065 * 512 = 8225280 bytes Disk identifier: 0x00000000 Disk /dev/xvda doesn't contain a valid partition table Here are the exact commands I ran to create and partition the LV, based on your previous suggestions: lvcreate -C y -L 40G -n testvm VolGroupVM echo \"1,,L,*\" | sfdisk /dev/VolGroupVM/testvm mkfs.ext3 /dev/mapper/VolGroupVM-testvm Have I missed something? Thanks again, Matt. _______________________________________________ Xen-users mailing list Xen-users@xxxxxxxxxxxxxxxxxxx http://lists.xensource.com/xen-users
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |