This does not depend on the LDoms version, so you can still try it.

alex.

On 09/29/09 14:11, Ballan, Roberto wrote:
> Alex,
> 
>   I have installed on the Control Domain LDOM version 1.0.3.
>   Is it still something that I can try ?
> 
> Thanks.
> Roberto Ballan
> UNIX Systems Support
> Southern Company Services
> office: 404-506-1170
> LINC:   404-717-0328
> e-mail: x2ballan at southernco.com 
> 
> -----Original Message-----
> From: Alexandre.Chartre at Sun.COM [mailto:Alexandre.Chartre at Sun.COM] 
> Sent: Tuesday, September 29, 2009 5:06 PM
> To: Ballan, Roberto
> Cc: ldoms-discuss at opensolaris.org
> Subject: Re: [ldoms-discuss] LDOM issue/question - Solaris 10 LDOMs
> 
> 
>   Try to erase the disk label, like this:
> 
>   # dd if=/dev/zero of=/dev/rdsk/c0d4s2 count=1
> 
>   Then the disk should show up with the right size.
> 
> alex.
> 
> On 09/29/09 12:23, Ballan, Roberto wrote:
>> I have VRTS SF Standard installed on the Control Domain (Solaris 10) and I 
>> have
>> A Guest Domain Solaris 10 (alxapor03vd) that has bunch of VRTS Filesystems 
>> built.
>> The disk c0d4s2 presented to the Guest Domain alxapor03vd is suppose to have 
>> size 2 GB
>> NOT 10GB.
>> Right now format shows 10 GB for the disk c0d4s2 because was 
>> implemented/created/exported
>> With 10GB size.
>> I am trying to find out the best way to clear-clean that LUN/disk c0d4s2 on 
>> the Guest Domain
>> And re-export/make visible the new disk 2GB to the Guest domain alxapor03vd.
>> In VRTS GUI VEA the LUN/disk shows 2 GB but in the Guest Domain format
>> Shows 10GB. It looks like that for some reasons there somewhere "reference" 
>> to the OLD
>> Size 10 GB of the disk.
>> I have tried different commands but so far no luck, I still see the disk 10 
>> GB size.
>> Please any suggestions will be great.
>>
>>
>> ======================================================
>> x2ballan at alxapor03vd:/home/x2ballan$ pg /etc/vfstab
>> #device         device          mount           FS      fsck    mount   mount
>> #to mount       to fsck         point           type    pass    at boot 
>> options
>> #
>> fd      -       /dev/fd fd      -       no      -
>> /proc   -       /proc   proc    -       no      -
>> /dev/dsk/c0d0s1 -       -       swap    -       no      -
>> /dev/dsk/c0d0s0 /dev/rdsk/c0d0s0        /       ufs     1       no      -
>> /dev/dsk/c0d0s3 /dev/rdsk/c0d0s3        /usr/local      ufs     2       yes  
>>    -
>> /dev/dsk/c0d0s4 /dev/rdsk/c0d0s4        /vol1   ufs     2       yes     -
>> /devices        -       /devices        devfs   -       no      -
>> ctfs    -       /system/contract        ctfs    -       no      -
>> objfs   -       /system/object  objfs   -       no      -
>> swap    -       /tmp    tmpfs   -       yes     -
>> sharefs         -       /etc/dfs/sharetab       sharefs -       no      -
>> #
>> # APPLICATION FILESYSTEMS
>> #
>> /dev/dsk/c0d1s2 /dev/rdsk/c0d1s2 /oradir/slcrdb vxfs 2 yes 
>> delaylog,noatime,suid
>> /dev/dsk/c0d2s2 /dev/rdsk/c0d2s2 /oraback/slcrdb vxfs 2 yes 
>> delaylog,noatime,suid
>> /dev/dsk/c0d3s2 /dev/rdsk/c0d3s2 /oracle vxfs 2 yes delaylog,noatime,suid
>> /dev/dsk/c0d5s2 /dev/rdsk/c0d5s2 /oraexp vxfs 2 yes delaylog,noatime,suid
>> /dev/dsk/c0d6s2 /dev/rdsk/c0d6s2 /oratmp vxfs 2 yes delaylog,noatime,suid
>> x2ballan at alxapor03vd:/home/x2ballan$
>>
>> ===============================================================
>> alxapor03vd:/dev/rdsk# format
>> Searching for disks...done
>>
>>
>> AVAILABLE DISK SELECTIONS:
>>        0. c0d0 <SUN-DiskImage-58GB cyl 65533 alt 2 hd 1 sec 1856>
>>           /virtual-devices at 100/channel-devices at 200/disk at 0
>>        1. c0d1 <SUN-DiskImage-490GB cyl 65533 alt 2 hd 1 sec 15680>
>>           /virtual-devices at 100/channel-devices at 200/disk at 1
>>        2. c0d2 <SUN-DiskImage-75GB cyl 65533 alt 2 hd 1 sec 2400>
>>           /virtual-devices at 100/channel-devices at 200/disk at 2
>>        3. c0d3 <SUN-DiskImage-12GB cyl 41941 alt 2 hd 1 sec 600>
>>           /virtual-devices at 100/channel-devices at 200/disk at 3
>>        4. c0d4 <SUN-DiskImage-10GB cyl 34950 alt 2 hd 1 sec 600>
>>           /virtual-devices at 100/channel-devices at 200/disk at 4
>>        5. c0d5 <SUN-DiskImage-1GB cyl 3493 alt 2 hd 1 sec 600>
>>           /virtual-devices at 100/channel-devices at 200/disk at 5
>>        6. c0d6 <SUN-DiskImage-1GB cyl 3493 alt 2 hd 1 sec 600>
>>           /virtual-devices at 100/channel-devices at 200/disk at 6
>> Specify disk (enter its number):
>> ============================================================
>> alxapvm14xs# ldm list
>> NAME             STATE    FLAGS   CONS    VCPU  MEMORY   UTIL  UPTIME
>> primary          active   -n-cv   SP      4     1G       2.9%  60d 2h 43m
>> alxapor03vd      active   -n---   5001    4     6G       0.3%  26m
>> alxapor04vt      active   -n---   5002    4     4G       0.5%  1d 2m
>> alxapwl20vs      active   -n---   5000    8     8G       6.8%  60d 29m
>> alxapvm14xs#
>>
>>
>>
>> ====================================================================
>> alxapvm14xs# ldm list-bindings
>> NAME             STATE    FLAGS   CONS    VCPU  MEMORY   UTIL  UPTIME
>> primary          active   -n-cv   SP      4     1G       3.4%  60d 2h 42m
>>
>> MAC
>>     00:14:4f:cf:e9:98
>>
>> VCPU
>>     VID    PID    UTIL STRAND
>>     0      0      6.8%   100%
>>     1      1      3.0%   100%
>>     2      2      1.9%   100%
>>     3      3      2.0%   100%
>>
>> MEMORY
>>     RA               PA               SIZE
>>     0x8000000        0x8000000        1G
>>
>> VARIABLES
>>     boot-device=/pci at 0/pci at 0/pci at 2/LSILogic,sas at 0/disk at 0,0:a 
>> disk net
>>     keyboard-layout=US-English
>>     nvramrc=devalias vx-root_dg01 /pci at 0/pci at 0/pci at 2/LSILogic,sas 
>> at 0/disk at 0,0:a
>> devalias vx-root_dg02 /pci at 0/pci at 0/pci at 2/LSILogic,sas at 0/disk at 
>> 1,0:a
>>
>> IO
>>     DEVICE           PSEUDONYM        OPTIONS
>>     pci at 0            pci
>>     niu at 80           niu
>>
>> VCC
>>     NAME             PORT-RANGE
>>     primary-vcc0     5000-5100
>>         CLIENT                      PORT
>>         alxapwl20vs at primary-vcc0    5000
>>         alxapor03vd at primary-vcc0    5001
>>         alxapor04vt at primary-vcc0    5002
>>
>> VSW
>>     NAME             MAC               NET-DEV   DEVICE     MODE
>>     primary-vsw0     00:14:4f:fb:b2:bf e1000g0   switch at 0
>>     primary-vsw1     00:14:4f:fa:fe:c8 e1000g1   switch at 1
>>     primary-vsw4     00:14:4f:fa:b7:d9 e1000g4   switch at 2
>>         PEER                        MAC
>>         vnic4 at alxapwl20vs           00:14:4f:fa:01:e5
>>     NAME             MAC               NET-DEV   DEVICE     MODE
>>     primary-vsw5     00:14:4f:f9:22:6f e1000g5   switch at 3
>>         PEER                        MAC
>>         vnic5 at alxapor03vd           00:14:4f:f9:35:20
>>     NAME             MAC               NET-DEV   DEVICE     MODE
>>     primary-vsw2     00:14:4f:fa:72:64 e1000g2   switch at 4
>>         PEER                        MAC
>>         vnic2 at alxapor04vt           00:14:4f:fa:65:85
>>     NAME             MAC               NET-DEV   DEVICE     MODE
>>     primary-vsw3     00:14:4f:f8:b3:94 e1000g3   switch at 5
>>
>> VDS
>>     NAME             VOLUME         OPTIONS          DEVICE
>>     primary-vds0     vol1                            
>> /LDOMS/LDOM-ALXAPWL20VS/vdsk0_50gb.img
>>                      vol2                            
>> /LDOMS/LDOM-ALXAPOR03VD/vdsk0_58gb.img
>>                      datadisk1                       
>> /dev/vx/dsk/or03vd_slcrdb_lddg/slcrdb_vol
>>                      datadisk2                       
>> /dev/vx/dsk/or03vd_slcrdb_lddg/slcrdbbkup_vol
>>                      datadisk3                       
>> /dev/vx/dsk/or03vd_slcrdb_lddg/oracle_vol
>>                      vol3                            
>> /LDOMS/LDOM-ALXAPOR04VT/vdsk0_58gb.img
>>                      datadisk5                       
>> /dev/vx/dsk/or04vt_tembap3_lddg/oem_vol
>>                      datadisk6                       
>> /dev/vx/dsk/or04vt_tembap3_lddg/oracle_vol
>>                      datadisk7                       
>> /dev/vx/dsk/or04vt_tembap3_lddg/oraexp_vol
>>                      datadisk8                       
>> /dev/vx/dsk/or04vt_tembap3_lddg/oratmp_vol
>>                      datadisk9                       
>> /dev/vx/dsk/or04vt_tembap3_lddg/tembap3_vol
>>                      datadisk10                      
>> /dev/vx/dsk/or04vt_tembap3_lddg/tembap3bkup_vol
>>                      datadisk4                       
>> /dev/vx/dsk/or03vd_slcrdb_lddg/oem_vol
>>                      datadisk11                      
>> /dev/vx/dsk/or03vd_slcrdb_lddg/oraexp_vol
>>                      datadisk12                      
>> /dev/vx/dsk/or03vd_slcrdb_lddg/oratmp_vol
>>         CLIENT                      VOLUME
>>         vdisk1 at alxapwl20vs          vol1
>>         vdisk2 at alxapor03vd          vol2
>>         vdisk3 at alxapor03vd          datadisk1
>>         vdisk4 at alxapor03vd          datadisk2
>>         vdisk5 at alxapor03vd          datadisk3
>>         vdisk7 at alxapor04vt          vol3
>>         vdisk8 at alxapor04vt          datadisk5
>>         vdisk9 at alxapor04vt          datadisk6
>>         vdisk10 at alxapor04vt         datadisk7
>>         vdisk11 at alxapor04vt         datadisk8
>>         vdisk12 at alxapor04vt         datadisk9
>>         vdisk13 at alxapor04vt         datadisk10
>>         vdisk6 at alxapor03vd          datadisk4
>>         vdisk14 at alxapor03vd         datadisk11
>>         vdisk15 at alxapor03vd         datadisk12
>>
>> VCONS
>>     NAME             SERVICE                     PORT
>>     SP
>>
>> ------------------------------------------------------------------------------
>> NAME             STATE    FLAGS   CONS    VCPU  MEMORY   UTIL  UPTIME
>> alxapor03vd      active   -n---   5001    4     6G       0.5%  25m
>>
>> MAC
>>     00:14:4f:fa:74:23
>>
>> VCPU
>>     VID    PID    UTIL STRAND
>>     0      12     9.1%   100%
>>     1      13      18%   100%
>>     2      14     0.0%   100%
>>     3      15      92%   100%
>>
>> MEMORY
>>     RA               PA               SIZE
>>     0x8000000        0x248000000      6G
>>
>> VARIABLES
>>     auto-boot?=false
>>     boot-device=/virtual-devices at 100/channel-devices at 200/disk at 0:a 
>> disk net
>>     keyboard-layout=US-English
>>
>> NETWORK
>>     NAME             SERVICE                     DEVICE     MAC
>>     vnic5            primary-vsw5 at primary        network at 0  
>> 00:14:4f:f9:35:20
>>         PEER                        MAC
>>         primary-vsw5 at primary        00:14:4f:f9:22:6f
>>
>> DISK
>>     NAME             VOLUME                      TOUT DEVICE  SERVER
>>     vdisk2           vol2 at primary-vds0                disk at 0  primary
>>     vdisk3           datadisk1 at primary-vds0           disk at 1  primary
>>     vdisk4           datadisk2 at primary-vds0           disk at 2  primary
>>     vdisk5           datadisk3 at primary-vds0           disk at 3  primary
>>     vdisk6           datadisk4 at primary-vds0           disk at 4  primary
>>     vdisk14          datadisk11 at primary-vds0          disk at 5  primary
>>     vdisk15          datadisk12 at primary-vds0          disk at 6  primary
>>
>> VCONS
>>     NAME             SERVICE                     PORT
>>     alxapor03vd      primary-vcc0 at primary        5001
>>
>> ------------------------------------------------------------------------------
>> NAME             STATE    FLAGS   CONS    VCPU  MEMORY   UTIL  UPTIME
>> alxapor04vt      active   -n---   5002    4     4G       0.6%  1d 2m
>>
>> MAC
>>     00:14:4f:fb:27:16
>>
>> VCPU
>>     VID    PID    UTIL STRAND
>>     0      16     10.0%   100%
>>     1      17      29%   100%
>>     2      18     0.0%   100%
>>     3      19      86%   100%
>>
>> MEMORY
>>     RA               PA               SIZE
>>     0x8000000        0x3c8000000      4G
>>
>> VARIABLES
>>     auto-boot?=false
>>     keyboard-layout=US-English
>>
>> NETWORK
>>     NAME             SERVICE                     DEVICE     MAC
>>     vnic2            primary-vsw2 at primary        network at 0  
>> 00:14:4f:fa:65:85
>>         PEER                        MAC
>>         primary-vsw2 at primary        00:14:4f:fa:72:64
>>
>> DISK
>>     NAME             VOLUME                      TOUT DEVICE  SERVER
>>     vdisk7           vol3 at primary-vds0                disk at 0  primary
>>     vdisk8           datadisk5 at primary-vds0           disk at 1  primary
>>     vdisk9           datadisk6 at primary-vds0           disk at 2  primary
>>     vdisk10          datadisk7 at primary-vds0           disk at 3  primary
>>     vdisk11          datadisk8 at primary-vds0           disk at 4  primary
>>     vdisk12          datadisk9 at primary-vds0           disk at 5  primary
>>     vdisk13          datadisk10 at primary-vds0          disk at 6  primary
>>
>> VCONS
>>     NAME             SERVICE                     PORT
>>     alxapor04vt      primary-vcc0 at primary        5002
>>
>> ------------------------------------------------------------------------------
>> NAME             STATE    FLAGS   CONS    VCPU  MEMORY   UTIL  UPTIME
>> alxapwl20vs      active   -n---   5000    8     8G       6.1%  60d 28m
>>
>> MAC
>>     00:14:4f:f9:fb:22
>>
>> VCPU
>>     VID    PID    UTIL STRAND
>>     0      4      6.0%   100%
>>     1      5       29%   100%
>>     2      6      0.0%   100%
>>     3      7       87%   100%
>>     4      8       15%   100%
>>     5      9       11%   100%
>>     6      10     5.7%   100%
>>     7      11     1.5%   100%
>>
>> MEMORY
>>     RA               PA               SIZE
>>     0x8000000        0x48000000       8G
>>
>> VARIABLES
>>     auto-boot?=false
>>
>> NETWORK
>>     NAME             SERVICE                     DEVICE     MAC
>>     vnic4            primary-vsw4 at primary        network at 0  
>> 00:14:4f:fa:01:e5
>>         PEER                        MAC
>>         primary-vsw4 at primary        00:14:4f:fa:b7:d9
>>
>> DISK
>>     NAME             VOLUME                      TOUT DEVICE  SERVER
>>     vdisk1           vol1 at primary-vds0                disk at 0  primary
>>
>> VCONS
>>     NAME             SERVICE                     PORT
>>     alxapwl20vs      primary-vcc0 at primary        5000
>>
>> alxapvm14xs#
>>
>>
>>
>> Thanks.
>> Roberto Ballan
>> e-mail: x2ballan at southernco.com
>>
>>
>> _______________________________________________
>> ldoms-discuss mailing list
>> ldoms-discuss at opensolaris.org
>> http://mail.opensolaris.org/mailman/listinfo/ldoms-discuss

Reply via email to