Hi,
I have installed on the Control Domain (BLADE T6320) (Solaris 10)
Veritas Storage Foundation 5.0MP3 with NO Rolling Patches so far.
I have installed on the Control Domain LDOM version 1.0.3.
I am following the Veritas Documentation to setup/implement this
LDOM environment.
Control Domain: SunOS 5.10 Generic_138888-08 sun4v sparc
SUNW,Sun-Blade-T6320
Guest Domain: SunOS Generic_138888-08 sun4v sparc SUNW,Sun-Blade-T6320
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: Enda.Oconnor at Sun.COM [mailto:[email protected]]
Sent: Thursday, September 24, 2009 8:24 AM
To: Ballan, Roberto
Cc: Octave Orgeron; ldoms-discuss at opensolaris.org
Subject: Re: [ldoms-discuss] LDOM - Guest Domain Error when I try to create a
Veritas Filesystem
Hi
Should have read your mail properly, anyway what veritas version have
you got, I believe that only 5.0MP3 is supported in terms of this setup.
what ldoms and OS update release have you got as well.
Enda
Ballan, Roberto wrote:
> Hi,
>
> I have performed the following steps:
>
> Primary Domain: vxdg init mydatadg EMC-disk1 (to create the Veritas DG)
> vxassist -g mydatadg make datavol1 10g (for example)
> Configure a service exporting the volume datavol1 as a virtual disk.
> ldm add-vdiskserverdevice /dev/vx/dsk/mydatadg/datavol1 datadisk1 at
> primary-vds0
>
> Add the exported disk to a Guest Domain:
>
> Primary Domain: ldm add-vdisk vdisk1 datadisk1 at primary-vds0 ldom1
>
> Start the Guest Domain and ensure that the new virtual disk is visible:
>
> Primary Domain: ldm bind ldom1
> ldm start ldom1
>
> ldom1: (Guest Domain)
>
> devfsadm -C
>
> Create the Veritas Filesystem where c0d1s2 is the entire disk.
>
> ldom1: mkfs -F vxfs /dev/rdsk/c0d1s2
> (here I am getting the error:
> UX:vxfs mkfs: ERROR: V-3-20003: Cannot open /dev/rdsk/c0d1s2: I/O error)
>
>
>
> 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: Enda.Oconnor at Sun.COM [mailto:Enda.Oconnor at Sun.COM]
> Sent: Thursday, September 24, 2009 7:30 AM
> To: Ballan, Roberto
> Cc: Octave Orgeron; ldoms-discuss at opensolaris.org
> Subject: Re: [ldoms-discuss] LDOM - Guest Domain Error when I try to create a
> Veritas Filesystem
>
> Hi
> Have you run vxdiskadm to actually initialise the vx disk groups?
>
> so typically I run vxdiskadm create my disk group ), then after that
> I have say
> /dev/vx/rdsk/opt_dg
>
> then I run vxassist as in:
>
> vxassist -g opt_dg -U fsgen make zonehome 30G
> mkfs -F vxfs -o largefiles /dev/vx/rdsk/opt_dg/zonehome 30G
>
> what does vxprint -hrt say currently, and what veritas software are you
> using?
> Enda
>
> Ballan, Roberto wrote:
>> I am getting the below Error Message:
>> ===========================
>> mkfs -F vxfs -o largefiles,bsize=8192 /dev/rdsk/c0d1s2
>> UX:vxfs mkfs: ERROR: V-3-20003: Cannot open /dev/rdsk/c0d1s2: I/O error
>>
>> When I try to create a Veritas Filesystem on the Guest Domain A.
>> Below there is the output from the format command as well.
>>
>> I am following the procedure to Provisioning Storage for a Guest Domain.
>> I have created a VxVM volume and I have configured a service exporting the
>> Veritas Volume as
>> a virtual disk. I have added the exported disk to the Guest Domain A.
>>
>> Please any help/suggestion will be great on this specific Error Message.
>>
>> ======================================================
>> # ldm list -l
>> NAME STATE FLAGS CONS VCPU MEMORY UTIL UPTIME
>> primary active -n-cv SP 4 1G 3.0% 54d 21h 52m
>>
>> SOFTSTATE
>> Solaris running
>>
>> VCPU
>> VID PID UTIL STRAND
>> 0 0 4.3% 100%
>> 1 1 2.7% 100%
>> 2 2 2.4% 100%
>> 3 3 2.4% 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
>>
>> 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
>> primary-vsw5 00:14:4f:f9:22:6f e1000g5 switch at 3
>> primary-vsw2 00:14:4f:fa:72:64 e1000g2 switch at 4
>> primary-vsw3 00:14:4f:f8:b3:94 e1000g3 switch at 5
>>
>> VDS
>> NAME VOLUME OPTIONS DEVICE
>> primary-vds0 vol1 /LDOMS/Guest Domain
>> C/vdsk0_50gb.img
>> vol2 /LDOMS/Guest Domain
>> A/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
>> datadisk4
>> /dev/vx/dsk/or03vd_slcrdb_lddg/orahome_vol
>> vol3 /LDOMS/Guest Domain
>> B/vdsk0_58gb.img
>>
>> VCONS
>> NAME SERVICE PORT
>> SP
>>
>> ------------------------------------------------------------------------------
>> NAME STATE FLAGS CONS VCPU MEMORY UTIL UPTIME
>> Guest Domain A active -n--- 5001 4 6G 0.6% 15d 18h 29m
>>
>> SOFTSTATE
>> Solaris running
>>
>> VCPU
>> VID PID UTIL STRAND
>> 0 12 0.5% 100%
>> 1 13 0.3% 100%
>> 2 14 5.0% 100%
>> 3 15 1.4% 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
>>
>> 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
>>
>> VCONS
>> NAME SERVICE PORT
>> Guest Domain A primary-vcc0 at primary 5001
>>
>> ------------------------------------------------------------------------------
>> NAME STATE FLAGS CONS VCPU MEMORY UTIL UPTIME
>> Guest Domain B active -n--- 5002 4 4G 0.4% 19d 18h 22m
>>
>> SOFTSTATE
>> Solaris running
>>
>> VCPU
>> VID PID UTIL STRAND
>> 0 16 0.5% 100%
>> 1 17 0.1% 100%
>> 2 18 5.2% 100%
>> 3 19 1.7% 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
>>
>> DISK
>> NAME VOLUME TOUT DEVICE SERVER
>> vdisk7 vol3 at primary-vds0 disk at 0 primary
>>
>> VCONS
>> NAME SERVICE PORT
>> Guest Domain B primary-vcc0 at primary 5002
>>
>> ------------------------------------------------------------------------------
>> NAME STATE FLAGS CONS VCPU MEMORY UTIL UPTIME
>> Guest Domain C active -n--- 5000 8 8G 1.9% 54d 19h 38m
>>
>> SOFTSTATE
>> Solaris running
>>
>> VCPU
>> VID PID UTIL STRAND
>> 0 4 1.0% 100%
>> 1 5 0.5% 100%
>> 2 6 8.4% 100%
>> 3 7 3.3% 100%
>> 4 8 5.4% 100%
>> 5 9 2.4% 100%
>> 6 10 0.9% 100%
>> 7 11 0.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
>>
>> DISK
>> NAME VOLUME TOUT DEVICE SERVER
>> vdisk1 vol1 at primary-vds0 disk at 0 primary
>>
>> VCONS
>> NAME SERVICE PORT
>> Guest Domain C primary-vcc0 at primary 5000
>>
>> -----------------------------------------------------------------------------------------------------------------
>> Guest Domain A:
>>
>> # 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
>> Specify disk (enter its number):
>> mkfs -F vxfs -o largefiles,bsize=8192 /dev/rdsk/c0d1s2
>> UX:vxfs mkfs: ERROR: V-3-20003: Cannot open /dev/rdsk/c0d1s2: I/O error
>> ----------------------------------------------------------------------------------------------------------
>>
>> Thanks, Regards.
>> 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
>