Unable to bring a disk from error to online state.

Hello experts.

I am using Solaris 10(2005) on intel machine. I have installed Veritas Volume manager 5.0. I am unable to bring a disk error to online state. I would like to bring that disk to CDS format.

Commands i used and output are....

#vxdisk list

DEVICE       TYPE            DISK         GROUP        STATUS
c0t0d0s2     auto               -            -            error
c1t1d0s2     auto:none       -            -            online invalid

#vxconfigd -k

Jul  5 07:29:59 younus vxdmp: NOTICE: VxVM vxdmp V-5-0-148 enabled path 102/0x40 belonging to the dmpnode 179/0x40
Jul  5 07:29:59 younus vxdmp: NOTICE: VxVM vxdmp V-5-0-147 enabled dmpnode 179/0x40
Jul  5 07:29:59 younus vxdmp: NOTICE: VxVM vxdmp V-5-0-112 disabled path 102/0x40 belonging to the dmpnode 179/0x40
Jul  5 07:29:59 younus vxdmp: NOTICE: VxVM vxdmp V-5-0-111 disabled dmpnode 179/0x40
Jul  5 07:29:59 younus vxdmp: NOTICE: VxVM vxdmp 0 dmp_tur_temp_pgr: open failed: error = 6 dev=0xb3/0x42

#vxdctl mode
mode: enabled

#vxdmpadm enable ctlr=c0

mic_attr: Could not do stat on path /dev/rdsk/c0t0d0s2
ddl_get_dynamic_attr: Could not do stat on path /dev/rdsk/c1t1d0s2
Jul  5 07:34:01 younus vxdmp: NOTICE: VxVM vxdmp V-5-0-148 enabled path 102/0x40 belonging to the dmpnode 179/0x40
Jul  5 07:34:01 younus vxdmp: NOTICE: VxVM vxdmp V-5-0-147 enabled dmpnode 179/0x40
Jul  5 07:34:01 younus vxdmp: NOTICE: VxVM vxdmp V-5-0-0 enabled controller /pci@0,0/pci-ide@1f,1/ide@0 connected to disk array OTHER_DISKS
Jul  5 07:34:01 younus vxdmp: NOTICE: VxVM vxdmp V-5-0-112 disabled path 102/0x40 belonging to the dmpnode 179/0x40
Jul  5 07:34:01 younus vxdmp: NOTICE: VxVM vxdmp V-5-0-111 disabled dmpnode 179/0x40
Jul  5 07:34:01 younus vxdmp: NOTICE: VxVM vxdmp 0 dmp_tur_temp_pgr: open failed: error = 6 dev=0xb3/0x42

#vxdmpadm listctlr ctlr=c0
CTLR-NAME       ENCLR-TYPE      STATE      ENCLR-NAME
=====================================================
c0              OTHER_DISKS     DISABLED     OTHER_DISKS

#vxdmpadm listctlr ctlr=c1
CTLR-NAME       ENCLR-TYPE      STATE      ENCLR-NAME
=====================================================
c1              OTHER_DISKS     ENABLED      OTHER_DISKS

Thanks in Advance..

is this the systems boot disk? and why you want to use dmp on that disk?

Thanks for giving replay...

That is not a boot disk. That is extra disk. I would like to bring into cds format. How can i disable DMP(Dynamic Multi pathing)?

maybe you can use "vxdiskadm". it's a cli for volumemanager

Thanks again..

How to use #vxdiskadm ? I have tried with some options of #vxdiskadm.
Same problem...

post some more information about your system....

df -h
format | echo
vxprint -ht

pls dun use vxdiskadm. bring the system down to single user. is your system connected to SAN? do a fsck on the rootvol and datadgs first.
try to mount them in single user to see if any error is hit. DO A BACKUP FIRST!!.
Try importing the disk groups manually first. You can refer to Veritas website for checking on the error code statuses, if any.

Thanks for your replay.

I dont have any disk group and SAN. I am using Intel P3-1GHz,512 and two Hard disks (40gb and 20gb). In 40gb i have installed Solaris 10(2005) and Storage Foundation's Veritas Volume Manager 5.0. 20gb hard disk is empty. How can i bring 20gb into cds format.?

post the required outputs .
include /etc/vfstab , df -h, vxdisk -o alldgs list , vxdg list, vxprint -ht ,
format .. specify clearly what you're looking out for :eek:

Is the disk which cannot be added an IDE disk?

Thanks again..

I dont have any diskgroups and volumes. Just i need to bring a disk under veritas control using #vxdisksetup command. I would like to make a CDS diskgroup. Out puts of tried commands are..

#vxconfigd -k

Jul 5 07:29:59 younus vxdmp: NOTICE: VxVM vxdmp V-5-0-148 enabled path 102/0x40 belonging to the dmpnode 179/0x40
Jul 5 07:29:59 younus vxdmp: NOTICE: VxVM vxdmp V-5-0-147 enabled dmpnode 179/0x40
Jul 5 07:29:59 younus vxdmp: NOTICE: VxVM vxdmp V-5-0-112 disabled path 102/0x40 belonging to the dmpnode 179/0x40
Jul 5 07:29:59 younus vxdmp: NOTICE: VxVM vxdmp V-5-0-111 disabled dmpnode 179/0x40
Jul 5 07:29:59 younus vxdmp: NOTICE: VxVM vxdmp 0 dmp_tur_temp_pgr: open failed: error = 6 dev=0xb3/0x42

# vxdisksetup -i c0t0d0
Vxvm vxdisksetup error V-5-2-3628 the dmpnode c0t0d0s2 is disabled can not proceed with vxdisk setup.

#vxdisk list
DEVICE TYPE DISK GROUP STATUS
c0t0d0s2 auto - - error
c1t1d0s2 auto:none - - online invalid

I have operating system in c1t1d0 disk.
c0t0d0 is empty disk.

I have tried to disable/enable DMP.

#vxdmpadm enable ctlr=c0

mic_attr: Could not do stat on path /dev/rdsk/c0t0d0s2
ddl_get_dynamic_attr: Could not do stat on path /dev/rdsk/c1t1d0s2
Jul 5 07:34:01 younus vxdmp: NOTICE: VxVM vxdmp V-5-0-148 enabled path 102/0x40 belonging to the dmpnode 179/0x40
Jul 5 07:34:01 younus vxdmp: NOTICE: VxVM vxdmp V-5-0-147 enabled dmpnode 179/0x40
Jul 5 07:34:01 younus vxdmp: NOTICE: VxVM vxdmp V-5-0-0 enabled controller /pci@0,0/pci-ide@1f,1/ide@0 connected to disk array OTHER_DISKS
Jul 5 07:34:01 younus vxdmp: NOTICE: VxVM vxdmp V-5-0-112 disabled path 102/0x40 belonging to the dmpnode 179/0x40
Jul 5 07:34:01 younus vxdmp: NOTICE: VxVM vxdmp V-5-0-111 disabled dmpnode 179/0x40
Jul 5 07:34:01 younus vxdmp: NOTICE: VxVM vxdmp 0 dmp_tur_temp_pgr: open failed: error = 6 dev=0xb3/0x42

#vxdmpadm listctlr ctlr=c0
CTLR-NAME ENCLR-TYPE STATE ENCLR-NAME

c0 OTHER_DISKS DISABLED OTHER_DISKS

#vxdmpadm listctlr ctlr=c1
CTLR-NAME ENCLR-TYPE STATE ENCLR-NAME

c1 OTHER_DISKS ENABLED OTHER_DISKS

I dont want to use DMP right now. Is it possible to have CDS disk group. If you need any commands output, I will give.

Thanks in advance....

Thanx..

Yes, I am using IDE disks. I am able to add disk into simple and sliced formats.
But i can't able to add that disk into CDS format.
Doesn't IDE support CDS format?