Problem creating VM

15 views
Skip to first unread message

Jonathan Bayer

unread,
Sep 28, 2012, 11:52:22 AM9/28/12
to gan...@googlegroups.com
Hi,

Trying to create a new VM using the following command:

[root@node1 ~]#bash a.sh
Fri Sep 28 11:50:16 2012 * creating instance disks...
Fri Sep 28 11:50:17 2012 - WARNING: Device creation failed, reverting...
Failure: command execution error:
Can't create block device
<LogicalVolume(/dev/xenvg/f125a43a-4e24-40ed-9a07-2d5998f3f3f7.disk0_meta,
not visible, size=128m)> on node node2.achieve3000.com for instance
ins1.achieve3000.com: Can't create block device: Can't compute PV info
for vg xenvg


and here is the output form pvs, lvs and vgs:

[root@node1 ~]#pvs
PV VG Fmt Attr PSize PFree
/dev/sda6 LvmVms lvm2 a-- 1.05t 1.05t
[root@node1 ~]#lvs
[root@node1 ~]#vgs
VG #PV #LV #SN Attr VSize VFree
LvmVms 1 0 0 wz--n- 1.05t 1.05t


[root@node2 ~]#pvs
PV VG Fmt Attr PSize PFree
/dev/sda6 LvmVms lvm2 a-- 1.05t 1.05t
[root@node2 ~]#lvs
[root@node2 ~]#vgs
VG #PV #LV #SN Attr VSize VFree
LvmVms 1 0 0 wz--n- 1.05t 1.05t



Any ideas as to what's wrong?


Thanks in advance.


Jonathan

Jonathan Bayer

unread,
Sep 28, 2012, 11:55:03 AM9/28/12
to gan...@googlegroups.com
Sorry, forgot to give the environment:

RHEL 6.3
48 gig
Set up to use KVM

Bernardo Dal Seno

unread,
Sep 28, 2012, 12:09:14 PM9/28/12
to gan...@googlegroups.com
On Fri, Sep 28, 2012 at 5:52 PM, Jonathan Bayer
<linuxgu...@gmail.com> wrote:
> Hi,
>
> Trying to create a new VM using the following command:
>
> [root@node1 ~]#bash a.sh
> Fri Sep 28 11:50:16 2012 * creating instance disks...
> Fri Sep 28 11:50:17 2012 - WARNING: Device creation failed, reverting...
> Failure: command execution error:
> Can't create block device
> <LogicalVolume(/dev/xenvg/f125a43a-4e24-40ed-9a07-2d5998f3f3f7.disk0_meta,
> not visible, size=128m)> on node node2.achieve3000.com for instance
> ins1.achieve3000.com: Can't create block device: Can't compute PV info for
> vg xenvg

The cluster is looking for a VG called xenvg...


> and here is the output form pvs, lvs and vgs:
>
> [root@node1 ~]#pvs
> PV VG Fmt Attr PSize PFree
> /dev/sda6 LvmVms lvm2 a-- 1.05t 1.05t

...but no PVs in that VG. Either change the cluster configuration or
change your VG.

Bernardo
Reply all
Reply to author
Forward
0 new messages