Hi,

I see that you're running S10 u3 and that you are behind on your patching. I 
would recommend installing the latest patch cluster in your primary domain 
before trying anything else.

 *-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*
Octave J. Orgeron
Solaris Systems Engineer
http://www.opensolaris.org/os/community/sysadmin/
http://unixconsole.blogspot.com
unixconsole at yahoo.com
*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*



----- Original Message ----
From: Rushi Srinivas <[email protected]>
To: ldoms-discuss at opensolaris.org
Sent: Tuesday, December 16, 2008 4:55:10 AM
Subject: Re: [ldoms-discuss] metaset -a not working with exported virtual SCSI 
disks

Hi Alex and Octave,

I have reconfigured my setup but the problem still exists. Please find the 
details of the new tests below. I have provided prtconf output and partition 
table of the exported disks in service domain and other necessary details.

NEW TESTS (Exported two SCSI disks)
===========================================================================================
SERVICE/CONTROL DOMAIN
----------------------------------------------------
selecting c3t500A09818270643Ad4
[disk formatted]

Current partition table (original):
Total disk cylinders available: 98 + 2 (reserved cylinders)

Part      Tag    Flag     Cylinders      Size            Blocks
  0       root    wm       0 - 15       16.00MB    (16/0/0)  32768
  1       swap    wu      16 - 31       16.00MB    (16/0/0)  32768
  2     backup    wu       0 - 97       98.00MB    (98/0/0) 200704
  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        usr    wm      32 - 97       66.00MB    (66/0/0) 135168
  7 unassigned    wm       0             0         (0/0/0)       0

partition> 

-bash-3.00# prtconf /dev/rdsk/c3t500A09818270643Ad4s2
ssd, instance #8

------------------------------------------------------------------------------------------
selecting c3t500A09818270643Ad5
partition> p
Current partition table (original):
Total disk cylinders available: 98 + 2 (reserved cylinders)

Part      Tag    Flag     Cylinders      Size            Blocks
  0       root    wm       0 - 15       16.00MB    (16/0/0)  32768
  1       swap    wu      16 - 31       16.00MB    (16/0/0)  32768
  2     backup    wu       0 - 97       98.00MB    (98/0/0) 200704
  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        usr    wm      32 - 97       66.00MB    (66/0/0) 135168
  7 unassigned    wm       0             0         (0/0/0)       0

partition> 


-bash-3.00# prtconf /dev/rdsk/c3t500A09818270643Ad5s2
ssd, instance #10
-bash-3.00# 
-------------------------------------------------------------------------------------------

-bash-3.00# ldm -V

Logical Domain Manager (v 1.0.3)
        Hypervisor control protocol v 1.1
        Using Hypervisor MD v 1.1

System PROM:
        Hypervisor      v. 1.6.7.       @(#)Hypervisor 1.6.7.a 2008/09/29 
09:29\015

        OpenBoot        v. 4.29.0.      @(#)OBP 4.29.0.a 2008/09/15 12:01
-bash-3.00# 

-bash-3.00# uname -a
SunOS sun197-136 5.10 Generic_118833-36 sun4v sparc SUNW,Sun-Fire-T200

-bash-3.00# cat /etc/release 
                       Solaris 10 11/06 s10s_u3wos_10 SPARC
           Copyright 2006 Sun Microsystems, Inc.  All Rights Reserved.
                        Use is subject to license terms.
                           Assembled 14 November 2006

-bash-3.00# metadb
        flags           first blk       block count
     a m  pc luo        16              8192            
/dev/dsk/c3t500A09838270643Ad2s6
     a    pc luo        8208            8192            
/dev/dsk/c3t500A09838270643Ad2s6

-bash-3.00# df -h
Filesystem             size   used  avail capacity  Mounted on
/dev/dsk/c0t0d0s0       64G   3.7G    60G     6%    /
/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                   1.5G   1.1M   1.5G     1%    /etc/svc/volatile
objfs                    0K     0K     0K     0%    /system/object
/platform/SUNW,Sun-Fire-T200/lib/libc_psr/libc_psr_hwcap1.so.1
                        64G   3.7G    60G     6%    
/platform/sun4v/lib/libc_psr.so.1
/platform/SUNW,Sun-Fire-T200/lib/sparcv9/libc_psr/libc_psr_hwcap1.so.1
                        64G   3.7G    60G     6%    
/platform/sun4v/lib/sparcv9/libc_psr.so.1
fd                       0K     0K     0K     0%    /dev/fd
/dev/dsk/c0t0d0s3      2.0G   329M   1.6G    17%    /var
swap                   1.5G    32K   1.5G     1%    /tmp
swap                   1.5G    48K   1.5G     1%    /var/run
chill.eng.btc.netapp.in:/vol/vol2/users2/rushi
                       2.0T   1.8T   142G    93%    /u/rushi

-bash-3.00# format < /dev/null
Searching for disks...done

c2t10d0: configured with capacity of 98.00MB


AVAILABLE DISK SELECTIONS:
       0. c0t0d0 <SUN72G cyl 14087 alt 2 hd 24 sec 424>
          /pci at 780/pci at 0/pci at 9/scsi at 0/sd at 0,0
       1. c2t0d0 <NETAPP-LUN-0.2 cyl 98 alt 2 hd 16 sec 128>
          /iscsi/disk at 0000iqn.1992-08.com.netapp%3Asn.3358009003E8,0
       2. c2t4d0 <NETAPP-LUN-0.2-101.98MB>
          /iscsi/disk at 0000iqn.1992-08.com.netapp%3Asn.3358009003E8,1
       3. c2t10d0 <NETAPP-LUN-0.2 cyl 98 alt 2 hd 16 sec 128>
          /iscsi/disk at 0000iqn.1992-08.com.netapp%3Asn.3358009003E8,5
       4. c3t500A09838270643Ad0 <NETAPP-LUN-0.2-70.60MB>
          /pci at 7c0/pci at 0/pci at 1/pci at 0,2/SUNW,emlxs at 2/fp at 
0,0/ssd at w500a09838270643a,0
       5. c3t500A09818270643Ad0 <NETAPP-LUN-0.2-70.60MB>
          /pci at 7c0/pci at 0/pci at 1/pci at 0,2/SUNW,emlxs at 2/fp at 
0,0/ssd at w500a09818270643a,0
       6. c3t500A09818270643Ad1 <NETAPP-LUN-0.2-100.00MB>
          /pci at 7c0/pci at 0/pci at 1/pci at 0,2/SUNW,emlxs at 2/fp at 
0,0/ssd at w500a09818270643a,1
       7. c3t500A09838270643Ad1 <NETAPP-LUN-0.2-100.00MB>
          /pci at 7c0/pci at 0/pci at 1/pci at 0,2/SUNW,emlxs at 2/fp at 
0,0/ssd at w500a09838270643a,1
       8. c3t500A09818270643Ad2 <NETAPP-LUN-0.2-203.95MB>
          /pci at 7c0/pci at 0/pci at 1/pci at 0,2/SUNW,emlxs at 2/fp at 
0,0/ssd at w500a09818270643a,2
       9. c3t500A09838270643Ad2 <NETAPP-LUN-0.2-203.95MB>
          /pci at 7c0/pci at 0/pci at 1/pci at 0,2/SUNW,emlxs at 2/fp at 
0,0/ssd at w500a09838270643a,2
      10. c3t500A09838270643Ad3 <NETAPP-LUN-0.2 cyl 98 alt 2 hd 16 sec 128>
          /pci at 7c0/pci at 0/pci at 1/pci at 0,2/SUNW,emlxs at 2/fp at 
0,0/ssd at w500a09838270643a,3
      11. c3t500A09838270643Ad4 <NETAPP-LUN-0.2 cyl 98 alt 2 hd 16 sec 128>
          /pci at 7c0/pci at 0/pci at 1/pci at 0,2/SUNW,emlxs at 2/fp at 
0,0/ssd at w500a09838270643a,4
      12. c3t500A09838270643Ad5 <NETAPP-LUN-0.2 cyl 98 alt 2 hd 16 sec 128>
          /pci at 7c0/pci at 0/pci at 1/pci at 0,2/SUNW,emlxs at 2/fp at 
0,0/ssd at w500a09838270643a,5
Specify disk (enter its number): 
-bash-3.00# 
------------------------------------------------------------------------------------------------------
 --------------------------------- 
GUEST:
----------------------------------------------------------------- 
-------------------------------------------------------------- 
bash-3.00# format
Searching for disks...done


AVAILABLE DISK SELECTIONS:
       0. c0d1 <SUN72G cyl 14087 alt 2 hd 24 sec 424>
          /virtual-devices at 100/channel-devices at 200/disk at 1
       1. c0d2 <NETAPP-LUN-0.2 cyl 98 alt 2 hd 16 sec 128>
          /virtual-devices at 100/channel-devices at 200/disk at 2
       2. c0d3 <NETAPP-LUN-0.2 cyl 98 alt 2 hd 16 sec 128>
          /virtual-devices at 100/channel-devices at 200/disk at 3
       3. c0d4 <NETAPP-LUN-0.2 cyl 98 alt 2 hd 16 sec 128>
          /virtual-devices at 100/channel-devices at 200/disk at 4
Specify disk (enter its number): ^C
bash-3.00# uname -a
SunOS sun197-152 5.10 Generic_127127-05 sun4v sparc SUNW,Sun-Fire-T200
bash-3.00# cat /etc/release
                       Solaris 10 5/08 s10s_u5wos_05 SPARC
           Copyright 2008 Sun Microsystems, Inc.  All Rights Reserved.
                        Use is subject to license terms.
                            Assembled 07 January 2008

bash-3.00# df -h
Filesystem             size   used  avail capacity  Mounted on
/dev/dsk/c0d1s0         64G   3.9G    60G     7%    /
/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                   1.5G   1.4M   1.5G     1%    /etc/svc/volatile
objfs                    0K     0K     0K     0%    /system/object
/platform/SUNW,Sun-Fire-T200/lib/libc_psr/libc_psr_hwcap1.so.1
                        64G   3.9G    60G     7%    
/platform/sun4v/lib/libc_psr.so.1
/platform/SUNW,Sun-Fire-T200/lib/sparcv9/libc_psr/libc_psr_hwcap1.so.1
                        64G   3.9G    60G     7%    
/platform/sun4v/lib/sparcv9/libc_psr.so.1
fd                       0K     0K     0K     0%    /dev/fd
/dev/dsk/c0d1s3        2.0G    59M   1.8G     4%    /var
swap                   1.5G    32K   1.5G     1%    /tmp
swap                   1.5G    40K   1.5G     1%    /var/run
btcinf02.eng.btc.netapp.in:/vol/local/sun4-sunos5
                       287G   159G   128G    56%    /usr/local
btcinf01.eng.btc.netapp.in:/vol/software/arch/sparc-sun-solaris8
                       410G   195G   215G    48%    /usr/software
btcinf02.eng.btc.netapp.in:/vol/local/share
                       287G   159G   128G    56%    /usr/local/share
bash-3.00# 

bash-3.00# format
Searching for disks...done


AVAILABLE DISK SELECTIONS:
       0. c0d1 <SUN72G cyl 14087 alt 2 hd 24 sec 424>
          /virtual-devices at 100/channel-devices at 200/disk at 1
       1. c0d2 <NETAPP-LUN-0.2 cyl 98 alt 2 hd 16 sec 128>
          /virtual-devices at 100/channel-devices at 200/disk at 2
       2. c0d3 <NETAPP-LUN-0.2 cyl 98 alt 2 hd 16 sec 128>
          /virtual-devices at 100/channel-devices at 200/disk at 3
       3. c0d4 <NETAPP-LUN-0.2 cyl 98 alt 2 hd 16 sec 128>
          /virtual-devices at 100/channel-devices at 200/disk at 4
Specify disk (enter its number): ^C

bash-3.00# metadb 
        flags           first blk       block count
     a        u         16              8192            /dev/dsk/c0d2s6
     a        u         8208            8192            /dev/dsk/c0d2s6

bash-3.00# metaset
bash-3.00# metaset -s dg1 -a -h sun197-152
bash-3.00# metaset -s dg1 -A enable
bash-3.00# metaset -s dg1 -a c0d3  
metaset: sun197-152: /dev/rdsk/c0d3s7: I/O error

bash-3.00# metaset -s dg1 -a c0d4
metaset: sun197-152: /dev/rdsk/c0d4s7: I/O error

bash-3.00#
bash-3.00# svcs -a | egrep -e 'meta|md'
online         13:53:07 svc:/system/metainit:default
online         14:00:33 svc:/network/rpc/meta:default
online         14:00:33 svc:/system/mdmonitor:default
online         14:00:34 svc:/network/rpc/mdcomm:default
online         14:00:34 svc:/network/rpc/metamed:default
online         14:00:34 svc:/network/rpc/metamh:default
online         14:00:36 svc:/system/fmd:default
==============================================================================================
-bash-3.00# ldm list-bindings  
NAME             STATE    FLAGS   CONS    VCPU  MEMORY   UTIL  UPTIME
primary          active   -n-cv   SP      4     1G       0.3%  3h 57m

MAC
    00:14:4f:f1:fb:00

VCPU
    VID    PID    UTIL STRAND
    0      0      0.7%   100%
    1      1      0.3%   100%
    2      2      0.1%   100%
    3      3      0.1%   100%

MAU
    ID     CPUSET
    0      (0, 1, 2, 3)

MEMORY
    RA               PA               SIZE            
    0x8000000        0x8000000        1G

VARIABLES
    diag-switch?=true

IO
    DEVICE           PSEUDONYM        OPTIONS
    pci at 780          bus_a          
    pci at 7c0          bus_b          

VCC
    NAME             PORT-RANGE
    primary-vcc0     5000-5100
        CLIENT                      PORT  
        sdudev1 at primary-vcc0        5000  

VSW
    NAME             MAC               NET-DEV   DEVICE     MODE
    primary-vsw0     00:14:4f:f8:46:16 e1000g0   switch at 0  
        PEER                        MAC              
        vnet1 at sdudev1               00:14:4f:f8:20:a0

VDS
    NAME             VOLUME         OPTIONS          DEVICE
    primary-vds0     cdrom                           /vol/dev/dsk/c1t0d0s2
                     vol1                            /dev/dsk/c0t1d0s2
                     export_lun_vol0                  
/dev/dsk/c3t500A09818270643Ad3s2
                     export_lun_vol1                  
/dev/dsk/c3t500A09818270643Ad4s2
                     export_lun_vol2                  
/dev/dsk/c3t500A09818270643Ad5s2
                     vol_slice      slice            /dev/rdsk/c2t15d0s6
        CLIENT                      VOLUME        
        cdrom at sdudev1               cdrom        
        vdisk1 at sdudev1              vol1          
        export_lun0 at sdudev1         export_lun_vol0
        export_lun1 at sdudev1         export_lun_vol1
        export_lun2 at sdudev1         export_lun_vol2

VCONS
    NAME             SERVICE                     PORT
    SP

------------------------------------------------------------------------------
NAME             STATE    FLAGS   CONS    VCPU  MEMORY   UTIL  UPTIME
sdudev1          active   -n---   5000    4     1G       0.4%  3h 46m

MAC
    00:14:4f:fb:c0:05

VCPU
    VID    PID    UTIL STRAND
    0      4       34%   100%
    1      5       87%   100%
    2      6      0.0%   100%
    3      7      0.0%   100%

MEMORY
    RA               PA               SIZE            
    0x8000000        0x48000000       1G

VARIABLES
    auto-boot?=false
    boot-device=/virtual-devices at 100/channel-devices at 200/disk at 6:a 
/virtual-devices at 100/channel-devices at 200/disk at 1
    keyboard-layout=US-English
    nvramrc=devalias mydev ^Y

    use-nvramrc?=true

NETWORK
    NAME             SERVICE                     DEVICE     MAC
    vnet1            primary-vsw0 at primary        network at 0  
00:14:4f:f8:20:a0
        PEER                        MAC              
        primary-vsw0 at primary        00:14:4f:f8:46:16

DISK
    NAME             VOLUME                      TOUT DEVICE  SERVER          
    cdrom            cdrom at primary-vds0               disk at 0  primary     
 
    vdisk1           vol1 at primary-vds0                disk at 1  primary     
 
    export_lun0      export_lun_vol0 at primary-vds0      disk at 2  primary    
  
    export_lun1      export_lun_vol1 at primary-vds0      disk at 3  primary    
  
    export_lun2      export_lun_vol2 at primary-vds0      disk at 4  primary    
  

VCONS
    NAME             SERVICE                     PORT
    sdudev1          primary-vcc0 at primary        5000  

------------------------------------------------------------------------------
NAME             STATE    FLAGS   CONS    VCPU  MEMORY   UTIL  UPTIME
sdudev2          inactive -----           4     1G            

VARIABLES
    auto-boot?=false
    boot-device=/virtual-devices at 100/channel-devices at 200/disk at 0

NETWORK
    NAME             SERVICE                     DEVICE     MAC
    vnet1            primary-vsw0                           00:14:4f:f9:79:1a

VCONS
    NAME             SERVICE                     PORT
    sdudev2          primary-vcc0                5001  

-bash-3.00# 

Thanks in advance,
Rushi
-- 
This message posted from opensolaris.org
_______________________________________________
ldoms-discuss mailing list
ldoms-discuss at opensolaris.org
http://mail.opensolaris.org/mailman/listinfo/ldoms-discuss



      

Reply via email to