Hi,

I've experienced exactly the same kind of error and would be intrigued 
to know the answer. Perhaps someone may spot something wrong in my listings.

Firstly an audit of the hardware and software I'm using:

T2000 with firmware patch 136927-01 applied
Solaris 10 update 5
LDOM Manager 1.0.3
Veritas 5.0 v2 (installed in the control domain, primary).

...and this is what I've done:

(1) Explicitly urned off all multipathing (i.e. don't use DMP) even 
though I'm only "playing" with the second local disk in my T2000.
(2) Rebooted the control domain.
(3) Created a disk group called ldom and put my second disk under its 
management. For example:

# vxdiskadm

Volume Manager Support Operations
Menu: VolumeManager/Disk

 1      Add or initialize one or more disks
 2      Encapsulate one or more disks
 3      Remove a disk
 4      Remove a disk for replacement
 5      Replace a failed or removed disk
 6      Mirror volumes on a disk
 7      Move volumes from a disk
 8      Enable access to (import) a disk group
 9      Remove access to (deport) a disk group
 10     Enable (online) a disk device
 11     Disable (offline) a disk device
 12     Mark a disk as a spare for a disk group
 13     Turn off the spare flag on a disk
 14     Unrelocate subdisks back to a disk
 15     Exclude a disk from hot-relocation use
 16     Make a disk available for hot-relocation use
 17     Prevent multipathing/Suppress devices from VxVM's view
 18     Allow multipathing/Unsuppress devices from VxVM's view
 19     List currently suppressed/non-multipathed devices
 20     Change the disk naming scheme
 21     Get the newly connected/zoned disks in VxVM view
 22     Change/Display the default disk layouts
 23     Mark a disk as allocator-reserved for a disk group
 24     Turn off the allocator-reserved flag on a disk
 list   List disk information


 ?      Display help about menu
 ??     Display help about the menuing system
 q      Exit from menus

Select an operation to perform: 1

Add or initialize disks
Menu: VolumeManager/Disk/AddDisks
  Use this operation to add one or more disks to a disk group.  You can
  add the selected disks to an existing disk group or to a new disk group
  that will be created as a part of the operation. The selected disks may
  also be added to a disk group as spares. Or they may be added as
  nohotuses to be excluded from hot-relocation use. The selected
  disks may also be initialized without adding them to a disk group
  leaving the disks available for use as replacement disks.

  More than one disk or pattern may be entered at the prompt.  Here are
  some disk selection examples:

  all:          all disks
  c3 c4t2:      all disks on both controller 3 and controller 4, target 2
  c3t4d2:       a single disk (in the c#t#d# naming scheme)
  xyz_0 :       a single disk (in the enclosure based naming scheme)
  xyz_ :        all disks on the enclosure whose name is xyz

Select disk devices to add: [<pattern-list>,all,list,q,?] c1t1d0
  Here is the disk selected.  Output format: [Device_Name]

  c1t1d0

Continue operation? [y,n,q,?] (default: y)
  You can choose to add this disk to an existing disk group, a
  new disk group, or leave the disk available for use by future
  add or replacement operations.  To create a new disk group,
  select a disk group name that does not yet exist.  To leave
  the disk available for future use, specify a disk group name
  of "none".

Which disk group [<group>,none,list,q,?] (default: ldom)

Create a new group named ldom? [y,n,q,?] (default: y)

Create the disk group as a CDS disk group? [y,n,q,?] (default: y)

Use a default disk name for the disk? [y,n,q,?] (default: y)

Add disk as a spare disk for ldom? [y,n,q,?] (default: n)

Exclude disk from hot-relocation use? [y,n,q,?] (default: n) y

Add site tag to disk? [y,n,q,?] (default: n)
  A new disk group will be created named ldom and the selected
  disks will be added to the disk group with default
  disk names. They will be marked as nohotuses and excluded
  from hot-relocation use.

  c1t1d0

Continue with operation? [y,n,q,?] (default: y)
  The following disk device has a valid VTOC, but does not appear to have
  been initialized for the Volume Manager.  If there is data on the disk
  that should NOT be destroyed you should encapsulate the existing disk
  partitions as volumes instead of adding the disk as a new disk.
  Output format: [Device_Name]

  c1t1d0

Encapsulate this device? [y,n,q,?] (default: y) n

  c1t1d0

Instead of encapsulating, initialize? [y,n,q,?] (default: n) y
  Initializing device c1t1d0.

Enter desired private region length
[<privlen>,q,?] (default: 65536)
  VxVM  NOTICE V-5-2-120
Creating a new disk group named ldom containing the disk
  device c1t1d0 with the name ldom01.
  VxVM  INFO V-5-2-927 Excluding disk ldom01 in disk group ldom from 
hot-relocation use.

Add or initialize other disks? [y,n,q,?] (default: n)

(4) Created a volume from the disk group:

# vxprint
Disk group: ldom

TY NAME         ASSOC        KSTATE   LENGTH   PLOFFS   STATE    TUTIL0  
PUTIL0
dg ldom         ldom         -        -        -        -        -       -

dm ldom01       c1t1d0s2     -        143283520 -       NOHOTUSE -       -
# vxassist -g ldom make vxvol01 1g
# vxprint
Disk group: ldom

TY NAME         ASSOC        KSTATE   LENGTH   PLOFFS   STATE    TUTIL0  
PUTIL0
dg ldom         ldom         -        -        -        -        -       -

dm ldom01       c1t1d0s2     -        143283520 -       NOHOTUSE -       -

v  vxvol01      fsgen        ENABLED  2097152  -        ACTIVE   -       -
pl vxvol01-01   vxvol01      ENABLED  2097152  -        ACTIVE   -       -
sd ldom01-01    vxvol01-01   ENABLED  2097152  0        -        -       -
# ls /dev/vx/rdsk/ldom
vxvol01
#

(5) Then I added the volume as a slice to the guest domain, vxdom. I 
also gave it exclusive access rights:

# ldm list
NAME             STATE    FLAGS   CONS    VCPU  MEMORY   UTIL  UPTIME
primary          active   -n-cv   SP      8     8G       0.0%  11m
vxdom            active   -n---   5000    8     8G       0.0%  2h 47m
# ldm add-vdsdev options=slice,excl /dev/vx/dsk/ldom/vxvol01 
vxvol01 at primary-vds0
# ldm add-vdisk vxdisk01 vxvol01 at primary-vds0 vxdom
Initiating delayed reconfigure operation on LDom vxdom.  All configuration
changes for other LDoms are disabled until the LDom reboots, at which time
the new configuration for LDom vxdom will also take effect.
#

(6) Rebooted the guest domain, updated the device tree and then tried to 
put a UFS file system on it. As you will see, I get an I/O error.

# telnet localhost 5000
Trying 127.0.0.1...
Connected to localhost.
Escape character is '^]'.

Connecting to console "vxdom" in group "vxdom" ....
Press ~? for control options ..

vxdom console login: root
Password:
Jun 27 16:36:51 vxdom login: ROOT LOGIN /dev/console
Last login: Fri Jun 27 13:44:45 on console
Sun Microsystems Inc.   SunOS 5.10      Generic January 2005
# reboot
Jun 27 16:36:55 vxdom reboot: rebooted by root
Jun 27 16:36:56 /usr/lib/snmp/snmpdx: received signal 15
Jun 27 16:36:56 vxdom syslogd: going down on signal 15
syncing file systems... done
rebooting...
Resetting...

Sun Fire T200, No Keyboard
Copyright 2008 Sun Microsystems, Inc.  All rights reserved.
OpenBoot 4.28.1, 8192 MB memory available, Serial #66585020.
Ethernet address 0:14:4f:f8:1:bc, Host ID: 83f801bc.



Boot device: /virtual-devices at 100/channel-devices at 200/disk at 0  File and 
args:
SunOS Release 5.10 Version Generic_127127-11 64-bit
Copyright 1983-2008 Sun Microsystems, Inc.  All rights reserved.
Use is subject to license terms.
Hostname: vxdom

vxdom console login: root
Password:
Jun 27 16:37:47 vxdom login: ROOT LOGIN /dev/console
Last login: Fri Jun 27 16:36:51 on console
Sun Microsystems Inc.   SunOS 5.10      Generic January 2005
# devfsadm -C
# ls /dev/dsk
c0d0s0  c0d0s1  c0d0s2  c0d0s3  c0d0s4  c0d0s5  c0d0s6  c0d0s7  c0d1s0
# newfs c0d1s0
/dev/rdsk/c0d1s0: I/O error
#







ldoms-discuss-request at opensolaris.org wrote:
> Send ldoms-discuss mailing list submissions to
>       ldoms-discuss at opensolaris.org
>
> To subscribe or unsubscribe via the World Wide Web, visit
>       http://mail.opensolaris.org/mailman/listinfo/ldoms-discuss
> or, via email, send a message with subject or body 'help' to
>       ldoms-discuss-request at opensolaris.org
>
> You can reach the person managing the list at
>       ldoms-discuss-owner at opensolaris.org
>
> When replying, please edit your Subject line so it is more specific
> than "Re: Contents of ldoms-discuss digest..."
>
>
> Today's Topics:
>
>    1. Single slice vxvm Vol gives I/O error during newfs
>       (Thivakaran Sivaraman)
>    2. Query (Sharma, Balkishan (GE, Corporate, consultant))
>
>
> ----------------------------------------------------------------------
>
> Message: 1
> Date: Fri, 27 Jun 2008 07:03:29 PDT
> From: Thivakaran Sivaraman <sthivakar at gmail.com>
> Subject: [ldoms-discuss] Single slice vxvm Vol gives I/O error during
>       newfs
> To: ldoms-discuss at opensolaris.org
> Message-ID: <16137938.1214575508117.JavaMail.Twebapp at oss-app1>
> Content-Type: text/plain; charset="utf-8"
>
> Hello and good day...
>
> Im having problem on the newly configured vdisk. Exporting vxvm as volume 
> works fine in guess domain. However if the vxvm volume is exported with slice 
> options, newfs gives error. Have tried with both mkfs -F vxfs and newfs. 
> Result still lead to I/O error. Going through the doc suggest setting 
> "options=slice" enable the volume for future provisioning. 
>
> Specification as below:
> - Sun T5220
> - Ldom 1.0.3
> - Solaris 10U5
> - Veritas Volume Manager 5.0 with MP1
>
>
>
> Filesystem             size   used  avail capacity  Mounted on
> /dev/dsk/c0d0s0        480M   160M   272M    38%    /
> /devices                 0K     0K     0K     0%    /devices
> ctfs                     0K     0K     0K     0%    /system/contract
> proc                     0K     0K     0K     0%    /proc
> mnttab                   0K     0K     0K     0%    /etc/mnttab
> swap                    14G   1.5M    14G     1%    /etc/svc/volatile
> objfs                    0K     0K     0K     0%    /system/object
> /dev/dsk/c0d0s5        7.9G   3.2G   4.6G    42%    /usr
> /platform/SUNW,SPARC-Enterprise-T5220/lib/libc_psr/libc_psr_hwcap2.so.1
>                        480M   160M   272M    38%    
> /platform/sun4v/lib/libc_psr.so.1
> /platform/SUNW,SPARC-Enterprise-T5220/lib/sparcv9/libc_psr/libc_psr_hwcap2.so.1
>                        480M   160M   272M    38%    
> /platform/sun4v/lib/sparcv9/libc_psr.so.1
> fd                       0K     0K     0K     0%    /dev/fd
> /dev/dsk/c0d0s3        4.9G   4.0G   903M    82%    /var
> swap                    14G    32K    14G     1%    /tmp
> swap                    14G    48K    14G     1%    /var/run
> /dev/dsk/c0d0s4        4.9G   890M   4.0G    18%    /opt
> /dev/dsk/c0d0s6        480M   1.0M   431M     1%    /home
> /dev/dsk/c0d1s0         10G    20M   9.4G     1%    /software
>
> [b]root at ld2 # mkfs -F vxfs /dev/rdsk/c0d2s0
> UX:vxfs mkfs: ERROR: V-3-20003: Cannot open /dev/rdsk/c0d2s0: I/O error[/b]
>
> root at ld2 # ls -l /dev/rdsk
> total 20
> lrwxrwxrwx   1 root     root          66 May 24 21:46 c0d0s0 -> 
> ../../devices/virtual-devices at 100/channel-devices at 200/disk at 0:a,raw
> lrwxrwxrwx   1 root     root          66 May 24 21:46 c0d0s1 -> 
> ../../devices/virtual-devices at 100/channel-devices at 200/disk at 0:b,raw
> lrwxrwxrwx   1 root     root          66 May 24 21:46 c0d0s2 -> 
> ../../devices/virtual-devices at 100/channel-devices at 200/disk at 0:c,raw
> lrwxrwxrwx   1 root     root          66 May 24 21:46 c0d0s3 -> 
> ../../devices/virtual-devices at 100/channel-devices at 200/disk at 0:d,raw
> lrwxrwxrwx   1 root     root          66 May 24 21:46 c0d0s4 -> 
> ../../devices/virtual-devices at 100/channel-devices at 200/disk at 0:e,raw
> lrwxrwxrwx   1 root     root          66 May 24 21:46 c0d0s5 -> 
> ../../devices/virtual-devices at 100/channel-devices at 200/disk at 0:f,raw
> lrwxrwxrwx   1 root     root          66 May 24 21:46 c0d0s6 -> 
> ../../devices/virtual-devices at 100/channel-devices at 200/disk at 0:g,raw
> lrwxrwxrwx   1 root     root          66 May 24 21:46 c0d0s7 -> 
> ../../devices/virtual-devices at 100/channel-devices at 200/disk at 0:h,raw
> lrwxrwxrwx   1 root     root          66 Jun 10 18:11 c0d1s0 -> 
> ../../devices/virtual-devices at 100/channel-devices at 200/disk at 1:a,raw
> lrwxrwxrwx   1 root     root          66 Jun 23 12:11 c0d2s0 -> 
> ../../devices/virtual-devices at 100/channel-devices at 200/disk at 2:a,raw
> root at ld2 # ls -l /dev/dsk
> total 20
> lrwxrwxrwx   1 root     root          62 May 24 21:46 c0d0s0 -> 
> ../../devices/virtual-devices at 100/channel-devices at 200/disk at 0:a
> lrwxrwxrwx   1 root     root          62 May 24 21:46 c0d0s1 -> 
> ../../devices/virtual-devices at 100/channel-devices at 200/disk at 0:b
> lrwxrwxrwx   1 root     root          62 May 24 21:46 c0d0s2 -> 
> ../../devices/virtual-devices at 100/channel-devices at 200/disk at 0:c
> lrwxrwxrwx   1 root     root          62 May 24 21:46 c0d0s3 -> 
> ../../devices/virtual-devices at 100/channel-devices at 200/disk at 0:d
> lrwxrwxrwx   1 root     root          62 May 24 21:46 c0d0s4 -> 
> ../../devices/virtual-devices at 100/channel-devices at 200/disk at 0:e
> lrwxrwxrwx   1 root     root          62 May 24 21:46 c0d0s5 -> 
> ../../devices/virtual-devices at 100/channel-devices at 200/disk at 0:f
> lrwxrwxrwx   1 root     root          62 May 24 21:46 c0d0s6 -> 
> ../../devices/virtual-devices at 100/channel-devices at 200/disk at 0:g
> lrwxrwxrwx   1 root     root          62 May 24 21:46 c0d0s7 -> 
> ../../devices/virtual-devices at 100/channel-devices at 200/disk at 0:h
> lrwxrwxrwx   1 root     root          62 Jun 10 18:11 c0d1s0 -> 
> ../../devices/virtual-devices at 100/channel-devices at 200/disk at 1:a
> lrwxrwxrwx   1 root     root          62 Jun 23 12:11 c0d2s0 -> 
> ../../devices/virtual-devices at 100/channel-devices at 200/disk at 2:a
> root at ld2 # 
>
>
>
>
>
> [b]Control Domain configuration[/b]
> VDS
>     NAME             VOLUME         OPTIONS          DEVICE
>     primary-vds0     ldom1-vol0                      
> /ldoms/ambgsun62_ld1payroll.img
>                      ldom2-vol0                      
> /ldoms/ambgsun51_ld2eipp.img
>                      ld1_c1t2d0s0                    /dev/dsk/c1t2d0s0
>                      ld2_c1t2d0s1                    /dev/dsk/c1t2d0s1
>                      ld1_appl_ldomdg                  
> /dev/vx/dsk/ldomdg/ld1_appl
>                      ld2_appl_ldomdg slice            
> /dev/vx/dsk/ldomdg/ld2_appl
>
> ldm list -l ld2
> NAME             STATE    FLAGS   CONS    VCPU  MEMORY   UTIL  UPTIME
> ld2               active   -n---   5000    24    8064M    0.1%  4m
>
> SOFTSTATE
> Solaris running
>
> VCPU
>     VID    PID    UTIL STRAND
>     0      8      1.1%   100%
>     1      9      0.3%   100%
>     2      10     0.2%   100%
>     3      11     0.0%   100%
>     4      12     0.5%   100%
>     5      13     0.2%   100%
>     6      14     0.1%   100%
>     7      15     0.1%   100%
>     8      16     0.4%   100%
>     9      17     0.1%   100%
>     10     18     0.0%   100%
>     11     19     0.0%   100%
>     12     20     0.0%   100%
>     13     21     0.0%   100%
>     14     22     0.0%   100%
>     15     23     0.0%   100%
>     16     24     0.3%   100%
>     17     25     0.0%   100%
>     18     26     0.0%   100%
>     19     27     0.0%   100%
>     20     28     0.0%   100%
>     21     29     0.0%   100%
>     22     30     0.0%   100%
>     23     31     0.0%   100%
>
> MEMORY
>     RA               PA               SIZE            
>     0x8000000        0x208000000      8064M
>
> VARIABLES
>     auto-boot?=false
>     boot-device=/virtual-devices at 100/channel-devices at 200/disk at 0
>
> NETWORK
>     NAME             SERVICE                     DEVICE     MAC
>     vnet0            primary-vsw4 at primary        network at 0  
> 00:14:4f:f9:76:b9
>     vnet1            primary-vsw5 at primary        network at 1  
> 00:14:4f:fb:51:f4
>     vnet2            primary-vsw6 at primary        network at 2  
> 00:14:4f:f9:0a:61
>
> DISK
>     NAME             VOLUME                      TOUT DEVICE  SERVER          
>     ldom2-vdisk0     ldom2-vol0 at primary-vds0          disk at 0  primary   
>     
>     vdisk1           ld2_c1t2d0s1 at primary-vds0        disk at 1  primary   
>     
>     vdisk2           ld2_appl_ldomdg at primary-vds0      disk at 2  primary  
>      
>
> VCONS
>     NAME             SERVICE                     PORT
>     ld2eipp          primary-vcc0 at primary        5000
> --
> This message was posted from opensolaris.org
> -------------- next part --------------
> vdisk - vxvm slice at backend
> Problem: Cant newfs the vol at guest domain. newfs at control domain is okay
>
> root at ambgsun51 # df -h
> Filesystem             size   used  avail capacity  Mounted on
> /dev/dsk/c0d0s0        480M   160M   272M    38%    /
> /devices                 0K     0K     0K     0%    /devices
> ctfs                     0K     0K     0K     0%    /system/contract
> proc                     0K     0K     0K     0%    /proc
> mnttab                   0K     0K     0K     0%    /etc/mnttab
> swap                    14G   1.5M    14G     1%    /etc/svc/volatile
> objfs                    0K     0K     0K     0%    /system/object
> /dev/dsk/c0d0s5        7.9G   3.2G   4.6G    42%    /usr
> /platform/SUNW,SPARC-Enterprise-T5220/lib/libc_psr/libc_psr_hwcap2.so.1
>                        480M   160M   272M    38%    
> /platform/sun4v/lib/libc_psr.so.1
> /platform/SUNW,SPARC-Enterprise-T5220/lib/sparcv9/libc_psr/libc_psr_hwcap2.so.1
>                        480M   160M   272M    38%    
> /platform/sun4v/lib/sparcv9/libc_psr.so.1
> fd                       0K     0K     0K     0%    /dev/fd
> /dev/dsk/c0d0s3        4.9G   4.0G   903M    82%    /var
> swap                    14G    32K    14G     1%    /tmp
> swap                    14G    48K    14G     1%    /var/run
> /dev/dsk/c0d0s4        4.9G   890M   4.0G    18%    /opt
> /dev/dsk/c0d0s6        480M   1.0M   431M     1%    /home
> /dev/dsk/c0d1s0         10G    20M   9.4G     1%    /software
>
>
> root at ambgsun51 # ls -l /dev/rdsk
> total 20
> lrwxrwxrwx   1 root     root          66 May 24 21:46 c0d0s0 -> 
> ../../devices/virtual-devices at 100/channel-devices at 200/disk at 0:a,raw
> lrwxrwxrwx   1 root     root          66 May 24 21:46 c0d0s1 -> 
> ../../devices/virtual-devices at 100/channel-devices at 200/disk at 0:b,raw
> lrwxrwxrwx   1 root     root          66 May 24 21:46 c0d0s2 -> 
> ../../devices/virtual-devices at 100/channel-devices at 200/disk at 0:c,raw
> lrwxrwxrwx   1 root     root          66 May 24 21:46 c0d0s3 -> 
> ../../devices/virtual-devices at 100/channel-devices at 200/disk at 0:d,raw
> lrwxrwxrwx   1 root     root          66 May 24 21:46 c0d0s4 -> 
> ../../devices/virtual-devices at 100/channel-devices at 200/disk at 0:e,raw
> lrwxrwxrwx   1 root     root          66 May 24 21:46 c0d0s5 -> 
> ../../devices/virtual-devices at 100/channel-devices at 200/disk at 0:f,raw
> lrwxrwxrwx   1 root     root          66 May 24 21:46 c0d0s6 -> 
> ../../devices/virtual-devices at 100/channel-devices at 200/disk at 0:g,raw
> lrwxrwxrwx   1 root     root          66 May 24 21:46 c0d0s7 -> 
> ../../devices/virtual-devices at 100/channel-devices at 200/disk at 0:h,raw
> lrwxrwxrwx   1 root     root          66 Jun 10 18:11 c0d1s0 -> 
> ../../devices/virtual-devices at 100/channel-devices at 200/disk at 1:a,raw
> lrwxrwxrwx   1 root     root          66 Jun 23 12:11 c0d2s0 -> 
> ../../devices/virtual-devices at 100/channel-devices at 200/disk at 2:a,raw
> root at ambgsun51 # ls -l /dev/dsk
> total 20
> lrwxrwxrwx   1 root     root          62 May 24 21:46 c0d0s0 -> 
> ../../devices/virtual-devices at 100/channel-devices at 200/disk at 0:a
> lrwxrwxrwx   1 root     root          62 May 24 21:46 c0d0s1 -> 
> ../../devices/virtual-devices at 100/channel-devices at 200/disk at 0:b
> lrwxrwxrwx   1 root     root          62 May 24 21:46 c0d0s2 -> 
> ../../devices/virtual-devices at 100/channel-devices at 200/disk at 0:c
> lrwxrwxrwx   1 root     root          62 May 24 21:46 c0d0s3 -> 
> ../../devices/virtual-devices at 100/channel-devices at 200/disk at 0:d
> lrwxrwxrwx   1 root     root          62 May 24 21:46 c0d0s4 -> 
> ../../devices/virtual-devices at 100/channel-devices at 200/disk at 0:e
> lrwxrwxrwx   1 root     root          62 May 24 21:46 c0d0s5 -> 
> ../../devices/virtual-devices at 100/channel-devices at 200/disk at 0:f
> lrwxrwxrwx   1 root     root          62 May 24 21:46 c0d0s6 -> 
> ../../devices/virtual-devices at 100/channel-devices at 200/disk at 0:g
> lrwxrwxrwx   1 root     root          62 May 24 21:46 c0d0s7 -> 
> ../../devices/virtual-devices at 100/channel-devices at 200/disk at 0:h
> lrwxrwxrwx   1 root     root          62 Jun 10 18:11 c0d1s0 -> 
> ../../devices/virtual-devices at 100/channel-devices at 200/disk at 1:a
> lrwxrwxrwx   1 root     root          62 Jun 23 12:11 c0d2s0 -> 
> ../../devices/virtual-devices at 100/channel-devices at 200/disk at 2:a
> root at ambgsun51 # 
>
>
> root at ambgsun51 # mkfs -F vxfs /dev/rdsk/c0d2s0
> UX:vxfs mkfs: ERROR: V-3-20003: Cannot open /dev/rdsk/c0d2s0: I/O error
>
>
>
>
> Control domain 
> root at ambgcdp02 # ldm list-services
> VCC
>     NAME             PORT-RANGE
>     primary-vcc0     5000-5100
>
> VSW
>     NAME             MAC               NET-DEV   DEVICE     MODE
>     primary-vsw0     00:14:4f:fa:3b:a7 e1000g0   switch at 0   
>     primary-vsw1     00:14:4f:f8:25:3d e1000g1   switch at 1   
>     primary-vsw2     00:14:4f:f9:1a:d9 e1000g2   switch at 2   
>     primary-vsw3     00:14:4f:fa:f9:a9 e1000g3   switch at 3   
>     primary-vsw4     00:14:4f:f9:75:17 nxge0     switch at 4   
>     primary-vsw5     00:14:4f:fb:d7:17 nxge1     switch at 5   
>     primary-vsw6     00:14:4f:fa:b1:4a nxge2     switch at 6   
>
> VDS
>     NAME             VOLUME         OPTIONS          DEVICE
>     primary-vds0     ldom1-vol0                      
> /ldoms/ambgsun62_ld1payroll.img
>                      ldom2-vol0                      
> /ldoms/ambgsun51_ld2eipp.img
>                      ld1_c1t2d0s0                    /dev/dsk/c1t2d0s0
>                      ld2_c1t2d0s1                    /dev/dsk/c1t2d0s1
>                      ld1_appl_ldomdg                  
> /dev/vx/dsk/ldomdg/ld1_appl
>                      ld2_appl_ldomdg slice            
> /dev/vx/dsk/ldomdg/ld2_appl
>
> root at ambgcdp02 # ldm list -l ld2eipp
> NAME             STATE    FLAGS   CONS    VCPU  MEMORY   UTIL  UPTIME
> ld2eipp          active   -n---   5000    24    8064M    0.1%  4m
>
> SOFTSTATE
> Solaris running
>
> VCPU
>     VID    PID    UTIL STRAND
>     0      8      1.1%   100%
>     1      9      0.3%   100%
>     2      10     0.2%   100%
>     3      11     0.0%   100%
>     4      12     0.5%   100%
>     5      13     0.2%   100%
>     6      14     0.1%   100%
>     7      15     0.1%   100%
>     8      16     0.4%   100%
>     9      17     0.1%   100%
>     10     18     0.0%   100%
>     11     19     0.0%   100%
>     12     20     0.0%   100%
>     13     21     0.0%   100%
>     14     22     0.0%   100%
>     15     23     0.0%   100%
>     16     24     0.3%   100%
>     17     25     0.0%   100%
>     18     26     0.0%   100%
>     19     27     0.0%   100%
>     20     28     0.0%   100%
>     21     29     0.0%   100%
>     22     30     0.0%   100%
>     23     31     0.0%   100%
>
> MEMORY
>     RA               PA               SIZE            
>     0x8000000        0x208000000      8064M
>
> VARIABLES
>     auto-boot?=false
>     boot-device=/virtual-devices at 100/channel-devices at 200/disk at 0
>
> NETWORK
>     NAME             SERVICE                     DEVICE     MAC
>     vnet0            primary-vsw4 at primary        network at 0  
> 00:14:4f:f9:76:b9
>     vnet1            primary-vsw5 at primary        network at 1  
> 00:14:4f:fb:51:f4
>     vnet2            primary-vsw6 at primary        network at 2  
> 00:14:4f:f9:0a:61
>
> DISK
>     NAME             VOLUME                      TOUT DEVICE  SERVER          
>     ldom2-vdisk0     ldom2-vol0 at primary-vds0          disk at 0  primary   
>     
>     vdisk1           ld2_c1t2d0s1 at primary-vds0        disk at 1  primary   
>     
>     vdisk2           ld2_appl_ldomdg at primary-vds0      disk at 2  primary  
>      
>
> VCONS
>     NAME             SERVICE                     PORT
>     ld2eipp          primary-vcc0 at primary        5000  
>
>
> root at ambgsun51 # init 0
> root at ambgsun51 # svc.startd: The system is coming down.  Please wait.
> svc.startd: 100 system services are now being stopped.
> Jun 27 15:51:33 ambgsun51 syslogd: going down on signal 15
> umount: /opt busy
> svc.startd: The system is down.
> syncing file systems... done
> Program terminated
> r)eboot, o)k prompt, h)alt? h
>
> telnet> quit
> Connection to localhost closed.
> root at ambgcdp02 # ldm list
> NAME             STATE    FLAGS   CONS    VCPU  MEMORY   UTIL  UPTIME
> primary          active   -n-cv   SP      8     8G       0.3%  15m
> ld2eipp          bound    -----   5000    24    8064M          
> ld1payroll       inactive -----           32    16G            
> root at ambgcdp02 # ldm unbind ld1payroll
> LDom ld1payroll cannot be unbound because it is inactive
> root at ambgcdp02 # ldm unbind ld2eipp
> root at ambgcdp02 # ldm list
> NAME             STATE    FLAGS   CONS    VCPU  MEMORY   UTIL  UPTIME
> primary          active   -n-cv   SP      8     8G       0.4%  16m
> ld1payroll       inactive -----           32    16G            
> ld2eipp          inactive -----           24    8064M          
> root at ambgcdp02 # ldm list-services
> VCC
>     NAME             PORT-RANGE
>     primary-vcc0     5000-5100
>
> VSW
>     NAME             MAC               NET-DEV   DEVICE     MODE
>     primary-vsw0     00:14:4f:fa:3b:a7 e1000g0   switch at 0   
>     primary-vsw1     00:14:4f:f8:25:3d e1000g1   switch at 1   
>     primary-vsw2     00:14:4f:f9:1a:d9 e1000g2   switch at 2   
>     primary-vsw3     00:14:4f:fa:f9:a9 e1000g3   switch at 3   
>     primary-vsw4     00:14:4f:f9:75:17 nxge0     switch at 4   
>     primary-vsw5     00:14:4f:fb:d7:17 nxge1     switch at 5   
>     primary-vsw6     00:14:4f:fa:b1:4a nxge2     switch at 6   
>
> VDS
>     NAME             VOLUME         OPTIONS          DEVICE
>     primary-vds0     ldom1-vol0                      
> /ldoms/ambgsun62_ld1payroll.img
>                      ldom2-vol0                      
> /ldoms/ambgsun51_ld2eipp.img
>                      ld1_c1t2d0s0                    /dev/dsk/c1t2d0s0
>                      ld2_c1t2d0s1                    /dev/dsk/c1t2d0s1
>                      ld1_appl_ldomdg                  
> /dev/vx/dsk/ldomdg/ld1_appl
>                      ld2_appl_ldomdg slice            
> /dev/vx/dsk/ldomdg/ld2_appl
>
> root at ambgcdp02 # mkfs -F vxfs /dev/vx/rdsk/ldomdg/ld2_appl
>     version 7 layout
>     83785728 sectors, 41892864 blocks of size 1024, log size 65536 blocks
>     largefiles supported
> root at ambgcdp02 # root at ambgcdp02 #  mkfs -F vxfs 
> /dev/vx/rdsk/ldomdg/ld2_appl
>     version 7 layout
>     83785728 sectors, 41892864 blocks of size 1024, log size 65536 blocks
>     largefiles supported
> root at ambgcdp02 #  mkfs -F vxfs /dev/vx/rdsk/ldomdg/ld2_appl
>     version 7 layout
>     83785728 sectors, 41892864 blocks of size 1024, log size 65536 blocks
>     largefiles supported
> root at ambgcdp02 # ldm list-services
> VCC
>     NAME             PORT-RANGE
>     primary-vcc0     5000-5100
>
> VSW
>     NAME             MAC               NET-DEV   DEVICE     MODE
>     primary-vsw0     00:14:4f:fa:3b:a7 e1000g0   switch at 0   
>     primary-vsw1     00:14:4f:f8:25:3d e1000g1   switch at 1   
>     primary-vsw2     00:14:4f:f9:1a:d9 e1000g2   switch at 2   
>     primary-vsw3     00:14:4f:fa:f9:a9 e1000g3   switch at 3   
>     primary-vsw4     00:14:4f:f9:75:17 nxge0     switch at 4   
>     primary-vsw5     00:14:4f:fb:d7:17 nxge1     switch at 5   
>     primary-vsw6     00:14:4f:fa:b1:4a nxge2     switch at 6   
>
> VDS
>     NAME             VOLUME         OPTIONS          DEVICE
>     primary-vds0     ldom1-vol0                      
> /ldoms/ambgsun62_ld1payroll.img
>                      ldom2-vol0                      
> /ldoms/ambgsun51_ld2eipp.img
>                      ld1_c1t2d0s0                    /dev/dsk/c1t2d0s0
>                      ld2_c1t2d0s1                    /dev/dsk/c1t2d0s1
>                      ld1_appl_ldomdg                  
> /dev/vx/dsk/ldomdg/ld1_appl
>                      ld2_appl_ldomdg slice            
> /dev/vx/dsk/ldomdg/ld2_appl
>
>
>
> root at ambgcdp02 # ldm set-vdsdev options= ld2_appl_ldomdg at primary-vds0
> root at ambgcdp02 # ldm list-services
> VCC
>     NAME             PORT-RANGE
>     primary-vcc0     5000-5100
>
> VSW
>     NAME             MAC               NET-DEV   DEVICE     MODE
>     primary-vsw0     00:14:4f:fa:3b:a7 e1000g0   switch at 0   
>     primary-vsw1     00:14:4f:f8:25:3d e1000g1   switch at 1   
>     primary-vsw2     00:14:4f:f9:1a:d9 e1000g2   switch at 2   
>     primary-vsw3     00:14:4f:fa:f9:a9 e1000g3   switch at 3   
>     primary-vsw4     00:14:4f:f9:75:17 nxge0     switch at 4   
>     primary-vsw5     00:14:4f:fb:d7:17 nxge1     switch at 5   
>     primary-vsw6     00:14:4f:fa:b1:4a nxge2     switch at 6   
>
> VDS
>     NAME             VOLUME         OPTIONS          DEVICE
>     primary-vds0     ldom1-vol0                      
> /ldoms/ambgsun62_ld1payroll.img
>                      ldom2-vol0                      
> /ldoms/ambgsun51_ld2eipp.img
>                      ld1_c1t2d0s0                    /dev/dsk/c1t2d0s0
>                      ld2_c1t2d0s1                    /dev/dsk/c1t2d0s1
>                      ld1_appl_ldomdg                  
> /dev/vx/dsk/ldomdg/ld1_appl
>                      ld2_appl_ldomdg                  
> /dev/vx/dsk/ldomdg/ld2_appl
>
> root at ambgcdp02 # ldm bind ld2eipp
> root at ambgcdp02 # ldm start ld2eipp
> LDom ld2eipp started
> root at ambgcdp02 # telnet localhost 5000
> Trying ::1...
> telnet: connect to address ::1: Network is unreachable
> Trying 127.0.0.1...
> Connected to localhost.
> Escape character is '^]'.
>
> Connecting to console "ld2eipp" in group "ld2eipp" ....
> Press ~? for control options ..
>
> {0} ok boot
> Boot device: /virtual-devices at 100/channel-devices at 200/disk at 0  File 
> and args: 
> SunOS Release 5.10 Version Generic_127127-11 64-bit
> Copyright 1983-2008 Sun Microsystems, Inc.  All rights reserved.
> Use is subject to license terms.
> Hostname: ambgsun51
> /dev/rdsk/c0d0s6 is clean
> /dev/rdsk/c0d0s4 is clean
>
> ambgsun51 console login: root
> Password: 
> Jun 27 15:55:45 ambgsun51 login: ROOT LOGIN /dev/console
> Last login: Fri Jun 27 15:44:35 on console
> Sun Microsystems Inc.   SunOS 5.10      Generic January 2005
> You have new mail.
> Sourcing //.profile-EIS.....
> root at ambgsun51 # devfsadm -Cv
> devfsadm[923]: verbose: symlink /dev/dsk/c0d2s1 -> 
> ../../devices/virtual-devices at 100/channel-devices at 200/disk at 2:b
> devfsadm[923]: verbose: symlink /dev/rdsk/c0d2s1 -> 
> ../../devices/virtual-devices at 100/channel-devices at 200/disk at 2:b,raw
> devfsadm[923]: verbose: symlink /dev/dsk/c0d2s2 -> 
> ../../devices/virtual-devices at 100/channel-devices at 200/disk at 2:c
> devfsadm[923]: verbose: symlink /dev/rdsk/c0d2s2 -> 
> ../../devices/virtual-devices at 100/channel-devices at 200/disk at 2:c,raw
> devfsadm[923]: verbose: symlink /dev/dsk/c0d2s3 -> 
> ../../devices/virtual-devices at 100/channel-devices at 200/disk at 2:d
> devfsadm[923]: verbose: symlink /dev/rdsk/c0d2s3 -> 
> ../../devices/virtual-devices at 100/channel-devices at 200/disk at 2:d,raw
> devfsadm[923]: verbose: symlink /dev/dsk/c0d2s4 -> 
> ../../devices/virtual-devices at 100/channel-devices at 200/disk at 2:e
> devfsadm[923]: verbose: symlink /dev/rdsk/c0d2s4 -> 
> ../../devices/virtual-devices at 100/channel-devices at 200/disk at 2:e,raw
> devfsadm[923]: verbose: symlink /dev/dsk/c0d2s5 -> 
> ../../devices/virtual-devices at 100/channel-devices at 200/disk at 2:f
> devfsadm[923]: verbose: symlink /dev/rdsk/c0d2s5 -> 
> ../../devices/virtual-devices at 100/channel-devices at 200/disk at 2:f,raw
> devfsadm[923]: verbose: symlink /dev/dsk/c0d2s6 -> 
> ../../devices/virtual-devices at 100/channel-devices at 200/disk at 2:g
> devfsadm[923]: verbose: symlink /dev/rdsk/c0d2s6 -> 
> ../../devices/virtual-devices at 100/channel-devices at 200/disk at 2:g,raw
> devfsadm[923]: verbose: symlink /dev/dsk/c0d2s7 -> 
> ../../devices/virtual-devices at 100/channel-devices at 200/disk at 2:h
> devfsadm[923]: verbose: symlink /dev/rdsk/c0d2s7 -> 
> ../../devices/virtual-devices at 100/channel-devices at 200/disk at 2:h,raw
> root at ambgsun51 # format
> Searching for disks...done
>
>
> AVAILABLE DISK SELECTIONS:
>        0. c0d0 <SUN-DiskImage-30GB cyl 39319 alt 2 hd 1 sec 1600>
>           /virtual-devices at 100/channel-devices at 200/disk at 0
>        1. c0d2 <SUN-DiskImage-39GB cyl 8568 alt 2 hd 1 sec 9776>
>           /virtual-devices at 100/channel-devices at 200/disk at 2
> Specify disk (enter its number): ^D
> root at ambgsun51 # format -d c0d2
> Searching for disks...done
> selecting c0d2
> [disk formatted, no defect list found]
>
>
> FORMAT MENU:
>         disk       - select a disk
>         type       - select (define) a disk type
>         partition  - select (define) a partition table
>         current    - describe the current disk
>         format     - format and analyze the disk
>         repair     - repair a defective sector
>         show       - translate a disk address
>         label      - write label to the disk
>         analyze    - surface analysis
>         defect     - defect list management
>         backup     - search for backup labels
>         verify     - read and display labels
>         save       - save new disk/partition definitions
>         volname    - set 8-character volume name
>         !<cmd>     - execute <cmd>, then return
>         quit
> format> p
>
>
> PARTITION MENU:
>         0      - change `0' partition
>         1      - change `1' partition
>         2      - change `2' partition
>         3      - change `3' partition
>         4      - change `4' partition
>         5      - change `5' partition
>         6      - change `6' partition
>         7      - change `7' partition
>         select - select a predefined table
>         modify - modify a predefined partition table
>         name   - name the current table
>         print  - display the current table
>         label  - write partition map and label to the disk
>         !<cmd> - execute <cmd>, then return
>         quit
> partition> p
> Current partition table (original):
> Total disk cylinders available: 8568 + 2 (reserved cylinders)
>
> Part      Tag    Flag     Cylinders        Size            Blocks
>   0 unassigned    wm       0 - 8567       39.94GB    (8568/0/0) 83760768
>   1 unassigned    wm       0               0         (0/0/0)           0
>   2     backup    wm       0 - 8567       39.94GB    (8568/0/0) 83760768
>   3 unassigned    wm       0               0         (0/0/0)           0
>   4 unassigned    wm       0               0         (0/0/0)           0
>   5 unassigned    wm       0               0         (0/0/0)           0
>   6 unassigned    wm       0               0         (0/0/0)           0
>   7 unassigned    wm       0               0         (0/0/0)           0
>
> partition> q
>
>
> FORMAT MENU:
>         disk       - select a disk
>         type       - select (define) a disk type
>         partition  - select (define) a partition table
>         current    - describe the current disk
>         format     - format and analyze the disk
>         repair     - repair a defective sector
>         show       - translate a disk address
>         label      - write label to the disk
>         analyze    - surface analysis
>         defect     - defect list management
>         backup     - search for backup labels
>         verify     - read and display labels
>         save       - save new disk/partition definitions
>         volname    - set 8-character volume name
>         !<cmd>     - execute <cmd>, then return
>         quit
> format> q
> root at ambgsun51 # mkfs -F vxfs /dev/rdsk/c0d2s0
>     version 7 layout
>     83760768 sectors, 41880384 blocks of size 1024, log size 65536 blocks
>     largefiles supported
> root at ambgsun51 # mount /dev/dsk/c0d2s0 /appl
> Jun 27 15:56:34 ambgsun51 ufs: NOTICE: mount: not a UFS magic number (0x0)
> mount: /dev/dsk/c0d2s0 is not this fstype
> root at ambgsun51 # mount -F vxfs /dev/dsk/c0d2s0 /appl
> root at ambgsun51 # df -h 
> Filesystem             size   used  avail capacity  Mounted on
> /dev/dsk/c0d0s0        480M   160M   272M    38%    /
> /devices                 0K     0K     0K     0%    /devices
> ctfs                     0K     0K     0K     0%    /system/contract
> proc                     0K     0K     0K     0%    /proc
> mnttab                   0K     0K     0K     0%    /etc/mnttab
> swap                    14G   1.3M    14G     1%    /etc/svc/volatile
> objfs                    0K     0K     0K     0%    /system/object
> /dev/dsk/c0d0s5        7.9G   3.2G   4.6G    42%    /usr
> /platform/SUNW,SPARC-Enterprise-T5220/lib/libc_psr/libc_psr_hwcap2.so.1
>                        480M   160M   272M    38%    
> /platform/sun4v/lib/libc_psr.so.1
> /platform/SUNW,SPARC-Enterprise-T5220/lib/sparcv9/libc_psr/libc_psr_hwcap2.so.1
>                        480M   160M   272M    38%    
> /platform/sun4v/lib/sparcv9/libc_psr.so.1
> fd                       0K     0K     0K     0%    /dev/fd
> /dev/dsk/c0d0s3        4.9G   4.0G   903M    82%    /var
> swap                    14G    32K    14G     1%    /tmp
> swap                    14G    48K    14G     1%    /var/run
> /dev/dsk/c0d0s4        4.9G   890M   4.0G    18%    /opt
> /dev/dsk/c0d0s6        480M   1.0M   431M     1%    /home
> /dev/dsk/c0d1s0         10G    20M   9.4G     1%    /software
> /dev/dsk/c0d2s0         40G    75M    37G     1%    /appl
> root at ambgsun51 # 
>
> ------------------------------
>
> Message: 2
> Date: Fri, 27 Jun 2008 10:25:51 -0400
> From: "Sharma, Balkishan (GE, Corporate, consultant)"
>       <Balkishan.Sharma at ge.com>
> Subject: [ldoms-discuss] Query
> To: <ldoms-discuss at opensolaris.org>
> Message-ID:
>       <098E39D3808AC64DA2B596BFD1EE62941037FE6C at CINMLVEM17.e2k.ad.ge.com>
> Content-Type: text/plain; charset="us-ascii"
>
> Hi!
> I have a question regarding creating a file system on guest domain. I
> have two emc disks which I can see on service controller/physical
> server. I can create zfs file system & export on guest domain, which I
> don't want. I want to export whole disk on guest domain & create zpool
> on guest domain to create file system. I have the requirement to create
> 20 file system on guest domain. If I create file system on service
> control & export on guest domain which would be more complex
> architecture. Please send me recipe if you have tested/created file
> system, the way I am looking.
>  
> Thanks,
> Balkishan Sharma
> -------------- next part --------------
> An HTML attachment was scrubbed...
> URL: 
> http://mail.opensolaris.org/pipermail/ldoms-discuss/attachments/20080627/1cd7e250/attachment.html
>  
>
> ------------------------------
>
> _______________________________________________
> ldoms-discuss mailing list
> ldoms-discuss at opensolaris.org
> http://mail.opensolaris.org/mailman/listinfo/ldoms-discuss
>
>
> End of ldoms-discuss Digest, Vol 11, Issue 21
> *********************************************
>   

Reply via email to