Logical Domains 1.3 Administration Guide

ProcedureExport a Physical Disk as a Virtual Disk

  1. Export a physical disk as a virtual disk.

    For example, to export the physical disk c1t48d0 as a virtual disk, you must export slice 2 of that disk (c1t48d0s2).

    primary# ldm add-vdsdev /dev/dsk/c1t48d0s2 c1t48d0@primary-vds0
  2. Assign the disk to a guest domain.

    For example, assign the disk (pdisk) to guest domain ldg1.

    primary# ldm add-vdisk pdisk c1t48d0@primary-vds0 ldg1
  3. After the guest domain is started and running the Solaris OS, verify that the disk is accessible and is a full disk.

    A full disk is a regular disk that has eight (8) slices.

    For example, the disk being checked is c0d1.

    ldg1# ls -1 /dev/dsk/c0d1s*