Forum Discussion

Yen's avatar
Yen
Level 2
11 years ago

Oralce VM (Ldom)Use Vxvm volume as a boot disk for guest domain Fail

I try to use Vxvm volume as a boot disk  for gust domain.

After i assist a volume as a boot disk and boot this guest domain.

It show NOTICE: vdisk@0 disk access failed

And i can't install guest domain.

 

This is how i assist volume:

 vxassist  -g  vmdg  make  bootdisk-vol  50g

 ldm  add-vdiskserverdevice  /dev/vx/dsk/vmdg/bootdisk-vol  bootdisk-vol@primary-vds0

 ldm  add-vdisk  vdisk  bootdisk-vol@primary-vds0 vcs1

 

Did i miss any step?

  • It's T5-2 solaris10 150400-07

    patch 141777-01 139562-02 138042-05 already install

    ldom version:v 3.1.0.0.24

    Storage foundation 6.1

  • Hello,

    we have the same problem on Solaris 11.1 with Storage Foundation 6.0. Has anybody found a solution for this?

    Problem description:

    We have provisioned a Veritas volume as boot disk for a Solaris LDOM guest domain as described in "Symantec Storage Foundation and High Availability Solutions Virtualization Guide Solaris" page 163. https://sort.symantec.com/public/documents/sfha/6.0.1/solaris/productguides/html/sfhas_virtualization/ch05s12s02s01.htm
    When we start the guest domain the Solaris 11 operating system complains that the virtual disk (exported from the primary domain) is not accessible.

    From the boot prompt of the guest domain we receive the following error message:
    {0} ok boot
    WARNING: /virtual-devices@100/channel-devices@200/disk@0: Communication error with Virtual Disk Server using Port 0. Retrying.

    When trying to boot a Solaris installation ISO image we receive "NOTICE: vdisk@0 disk access failed":
    {0} ok boot iso
    Boot device: /virtual-devices@100/channel-devices@200/disk@1  File and args:
    SunOS Release 5.11 Version 11.1 64-bit
    Copyright (c) 1983, 2012, Oracle and/or its affiliates. All rights reserved.
    Remounting root read/write
    Probing for device nodes ...
    NOTICE: vdisk@0 disk access failed
    Preparing image for use

  • The reason for the problem is an Oracle Solaris bug documented in Oracle Note 1675880.1
    We have patched the Solaris operating system of the I/O domain and guest domain and the error was resolved.

     

    Virtual Disk on Oracle VM Server for SPARC (LDoms) Missing with Certain Patch/SRU (Doc ID 1675880.1)

    Modified:26-May-2014 Type:PROBLEM    

    APPLIES TO: Solaris SPARC Operating System - Version 10 1/13 U11 to 11.1 [Release 10.0 to 11.0]
    Information in this document applies to any platform.

    SYMPTOMS

    When this issue happens, guest domains cannot see virtual disks. If the boot disk is not seen, the guest domains fail to boot.

    Also error messages like the following are seen in the IO domain (either control domain or service domain) that exports the virtual disks.

    /var/adm/messages

    Apr 15 10:26:16 cdom vds: [ID 326307 kern.info] vd_setup_single_slice_disk():  Check size failed for /dev/md/dsk/d0 (errno 22)
    Apr 15 10:26:16 cdom vds: [ID 790452 kern.info] vd_setup_vd(): /dev/md/dsk/d0 can not be exported as a virtual disk (error 5)
    vd_setup_vd() returns error 5 (EIO) following the vd_setup_XXX() error. (XXX can be single_slice_disk, full_disk, etc. depending on the backend device type.)

    This issue can occur when IO domain's release is as follows:

    SPARC Platform

    Solaris 10 with patch 150400-05 and without patch 150400-11
    Solaris 11.1 with SRU 11.4 and without SRU 17.5

    CAUSE

    Ths issue is due to Bug 17694758 - vd_backend_minfo returns incorrect data when DKIOCGMEDIAINFOEXT is not supported

    SOLUTION

    The issue is addressed with the following releases: 

    SPARC Platform

    Solaris 10 with the patch 150400-11 or later
    Solaris 11.1.17.5.0 or later
    The fix needs to be applied to the IO domain.