cancel
Showing results for 
Search instead for 
Did you mean: 

Unable to bring a disk from error to online state.

kool
Level 3

Helo Experts

 

I am using Solaris 10(2005) on intel machine. I have installed Veritas Volume manager 5.0. I am unable to bring error to online state. When i used

 # vxdisksetup -i c0t0d0      #### it shown

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

 when i used 

# vxdmpadm enable ctlr=c0    #### it shown

ddl_get_dynamic_attr : could not do stat on path /dev/rdsk/c0t0d0s2

and on console ..

 

Timestamp : hostname : Notice : vxvm vxdmp V-5-0-112 disabled path 102/0x40 belonging to .. 179/0x80.

 

What should i do? How can i bring back to online? 

 Is it possible to disable DMP permanently ?

 

 Thanx in advance...

 

4 REPLIES 4

Solaris_Admin
Level 3

can you please send out put of

vxdisk list diskname

 

here see it's shows enable or disable disk

 

if it's disable try to run devfsadm and vxdctl enable

 

kool
Level 3

Thanx for your replay.

 

 I have tried vxdisk list ,devfsadm and vxdctl enable.

 

Outputs of those commands 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


Thanx in advance.....

 

 

Message Edited by kool on 06-30-2008 10:41 PM

bsobek
Level 5

Hi,

 

did yu label the disk?

 

format c0t0d0<<EOF

l

y

q

EOF

 

vxdctl enable

 

Is there any data on the disk? if not, destroy the label

 

dd if=/dev/zero of=/dev/rdsk/c0t0d0s2 count=20

label the disk

vxdctl enable

 

Greets

Bjoern

kool
Level 3

Thanx Bjoern giving me good information.

 

   When i tried to label that disk the following messege showed.

 

format> l
Please run fdisk first

 

i ran fdisk. Output of that was 

 

format> fdisk
No fdisk table exists. The default partition for the disk is:

  a 100% "SOLARIS System" partition
 

i choosed  yes option and i ran fdisk again it  showed..

 

format>fdisk
Total disk size is 39535 cylinders
             Cylinder size is 1008 (512 byte) blocks

                                               Cylinders
      Partition          Status      Type                Start     End     Length    %
      =========   ======    ============  =====   ===   ======   ===
          1               Active       Solaris2             1        39534    39534    100

 

After that i ran 

 

#vxconfigd -k

#vxdisksetup -i c0t0d0   
VxVM vxdisksetup ERROR V-5-2-1814 c0t0d0: Invalid disk device for 'cdsdisk' format

 

 It is working for  sliced and simple formats. It is not working for CDS format.

 

I changed fdisk partition "Solaris2"  to "other" to use as a cds disk.  But label was not working for that.  Previous error is continuing for other than "Solaris" fdisk partition.

 

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

I would like to bring that disk to cds format. Is it possible? If so, just give me a hint.

 

Thanx alot for your information.