Announcement

Collapse
No announcement yet.

XEN ' Error: The VDI is not available'

Collapse
X
  • Filter
  • Time
  • Show
Clear All
new posts

  • eukSam
    started a topic XEN ' Error: The VDI is not available'

    XEN ' Error: The VDI is not available'

    Getting an error “The VDI is not available” while starting a VM.

    Click image for larger version

Name:	vdi.jpg
Views:	1
Size:	56.5 KB
ID:	160431

    The resolution is to start the VM on the host on which the disk was already attached. You can find the node by grapping vdi uuid on each node.



    Code:
    [[email protected] ~]# xe vdi-list uuid=4f249c7f-7f63-4382-a368-8264b09ba980
    
    uuid ( RO) : 4f249c7f-7f63-4382-a368-8264b09ba980
    name-label ( RW): Disk_0_355_s1627
    name-description ( RW): Disk_0_355_s1627
    sr-uuid ( RO): 8944765d-b1fe-7c8f-04ad-999487b173a3
    virtual-size ( RO): 32212254720
    sharable ( RO): false
    read-only ( RO): false
    Code:
    [[email protected] ~]# xe vdi-list | grep s1627
    name-label ( RW): 551_s1627
    name-description ( RW): 551_s1627
    name-label ( RW): Disk_0_355_s1627
    name-description ( RW): Disk_0_355_s1627
    Code:
    [[email protected] ~]# xe vdi-list name-label=551_s1627
    uuid ( RO) : e1d87339-07f7-4345-81c0-ee6d7ebdd663
    name-label ( RW): 551_s1627
    name-description ( RW): 551_s1627
    sr-uuid ( RO): 8944765d-b1fe-7c8f-04ad-999487b173a3
    virtual-size ( RO): 96636764160
    sharable ( RO): false
    read-only ( RO): false
    Code:
    [[email protected] ~]# xe vdi-list name-label=Disk_0_355_s1627
    uuid ( RO) : 4f249c7f-7f63-4382-a368-8264b09ba980
    name-label ( RW): Disk_0_355_s1627
    name-description ( RW): Disk_0_355_s1627
    sr-uuid ( RO): 8944765d-b1fe-7c8f-04ad-999487b173a3
    virtual-size ( RO): 32212254720
    sharable ( RO): false
    read-only ( RO): false
    Code:
    [[email protected] ~]# tap-ctl list | grep 4f249c7f-7f63-4382-a368-8264b09ba980
    pid=32505 minor=16 state=0 args=vhd:/var/run/sr-mount/8944765d-b1fe-7c8f-04ad-999487b173a3/4f249c7f-7f63-4382-a368-8264b09ba980.vhd
    
    [[email protected] ~]# tap-ctl list | grep e1d87339-07f7-4345-81c0-ee6d7ebdd663
    pid=32745 minor=17 state=0 args=vhd:/var/run/sr-mount/8944765d-b1fe-7c8f-04ad-999487b173a3/e1d87339-07f7-4345-81c0-ee6d7ebdd663.vhd
    Note: The VM in this issue had 2 disk .



    If the storage is NFS & you are not able to find the host node, use following command.

    Code:
    [[email protected] ~]# list_domains | grep 6c231adf-57fa-b0fc-f058-84f88f08161d
    16 | 6c231adf-57fa-b0fc-f058-84f88f08161d | B



    Another resolution is to reboot the node on which the VDI is attached.

  • Rock
    replied
    Re: XEN ' Error: The VDI is not available'

    This is a very common occurring error in XEN & rebooting the host is one of the quickest methods of getting this resolved

    Leave a comment:

Working...
X