Forum Discussion

giacomopane's avatar
13 years ago

vxdmpadm

hi all,

 

I would like to submit a problem that I have to work.
 
The storage men, have brought a new storage (HP P9500), after all appropriate configurations, presented the LUN on solaris9 whit SFHA 5.0 MP3.
 
from vxdisk list, i see:
 
DEVICE       TYPE            DISK         GROUP        STATUS
Disk_0       auto:none       -            -            online invalid
Disk_1       auto:cdsdisk    dgi_infr01   dgi_infr     online
Disk_2       auto:none       -            -            online invalid
Disk_3       auto:cdsdisk    dgi_infr02   dgi_infr     online
IBM_DS8x000_0 auto:cdsdisk    dge_tbeare_ems01  dge_tbeare_ems online
IBM_DS8x000_1 auto:cdsdisk    dge_tbeare_VG201  dge_tbeare_VG2 online
IBM_DS8x000_2 auto:cdsdisk    -            -            online
IBM_DS8x000_3 auto:cdsdisk    dge_tbeare_ipr01  dge_tbeare_ipr online
IBM_DS8x000_20 auto:cdsdisk    -            -            online
IBM_DS8x001_0 auto:cdsdisk    mir_dge_tbeare_ipr01  dge_tbeare_ipr online
IBM_DS8x001_1 auto:cdsdisk    mir_dge_tbeare_VG201  dge_tbeare_VG2 online
IBM_DS8x001_2 auto:cdsdisk    -            -            online
IBM_DS8x001_3 auto:cdsdisk    -            -            online
IBM_DS8x001_4 auto:cdsdisk    mir_dge_tbeare_VG202  dge_tbeare_VG2 online
IBM_DS8x001_5 auto:cdsdisk    -            -            online
IBM_DS8x001_6 auto:cdsdisk    mir_dge_tbeare_ems01  dge_tbeare_ems online
XP10K-12K0_0 auto            -            -            error
XP10K-12K0_1 auto            -            -            error
XP10K-12K0_2 auto            -            -            error
XP10K-12K0_3 auto            -            -            error
XP10K-12K0_4 auto            -            -            error
 
 
CTLR-NAME       ENCLR-TYPE      STATE      ENCLR-NAME
=====================================================
c1              Disk            ENABLED      Disk
c0              Disk            ENABLED      Disk
c6              IBM_DS8x00      ENABLED      IBM_DS8x001
c4              IBM_DS8x00      ENABLED      IBM_DS8x001
c6              IBM_DS8x00      ENABLED      IBM_DS8x000
c4              IBM_DS8x00      ENABLED      IBM_DS8x000
c6              XP10K-12K       DISABLED     XP10K-12K0
c4              XP10K-12K       DISABLED     XP10K-12K0
 
now, i do tail -f /etc/vx/dmpevents.log and then i run
 
vxdmpadm enable ctlr=c4 enclosure=XP10K-12K0
vxdmpadm enable ctlr=c5 enclosure=XP10K-12K0
 
below the logs.
________________________________________________________________________________________-
 
root@es088sg3 # tail -f /etc/vx/dmpevents.log
Tue Nov 29 15:16:08.400: Disabled Path c4t50060E80164DA510d2s2 belonging to Dmpnode XP10K-12K0_1
Tue Nov 29 15:16:08.405: Disabled Path c6t50060E80164DA500d2s2 belonging to Dmpnode XP10K-12K0_1
Tue Nov 29 15:16:08.405: Disabled Dmpnode XP10K-12K0_1
Tue Nov 29 15:16:08.415: Disabled Path c4t50060E80164DA510d3s2 belonging to Dmpnode XP10K-12K0_3
Tue Nov 29 15:16:08.421: Disabled Path c6t50060E80164DA500d3s2 belonging to Dmpnode XP10K-12K0_3
Tue Nov 29 15:16:08.421: Disabled Dmpnode XP10K-12K0_3
Tue Nov 29 15:16:08.431: Disabled Path c4t50060E80164DA510d4s2 belonging to Dmpnode XP10K-12K0_0
Tue Nov 29 15:16:08.439: Disabled Disk array XP10K-12K0
Tue Nov 29 15:16:08.439: Disabled Path c6t50060E80164DA500d4s2 belonging to Dmpnode XP10K-12K0_0
Tue Nov 29 15:16:08.439: Disabled Dmpnode XP10K-12K0_0
Tue Nov 29 15:20:27.000: Reconfiguration is in progress
Tue Nov 29 15:20:27.000: Reconfiguration has finished
Tue Nov 29 15:20:27.391: Enabled Disk array XP10K-12K0
Tue Nov 29 15:20:27.391: Enabled Path c4t50060E80164DA510d4s2 belonging to Dmpnode XP10K-12K0_0
Tue Nov 29 15:20:27.391: Enabled Dmpnode XP10K-12K0_0
Tue Nov 29 15:20:27.391: Enabled Path c4t50060E80164DA510d2s2 belonging to Dmpnode XP10K-12K0_1
Tue Nov 29 15:20:27.391: Enabled Dmpnode XP10K-12K0_1
Tue Nov 29 15:20:27.391: Enabled Path c4t50060E80164DA510d0s2 belonging to Dmpnode XP10K-12K0_2
Tue Nov 29 15:20:27.391: Enabled Dmpnode XP10K-12K0_2
Tue Nov 29 15:20:27.391: Enabled Path c4t50060E80164DA510d3s2 belonging to Dmpnode XP10K-12K0_3
Tue Nov 29 15:20:27.391: Enabled Dmpnode XP10K-12K0_3
Tue Nov 29 15:20:27.391: Enabled Path c4t50060E80164DA510d1s2 belonging to Dmpnode XP10K-12K0_4
Tue Nov 29 15:20:27.391: Enabled Dmpnode XP10K-12K0_4
Tue Nov 29 15:20:27.424: Enabled Controller c4 belonging to Disk array XP10K-12K0
Tue Nov 29 15:20:27.703: Disabled Path c4t50060E80164DA510d4s2 belonging to Dmpnode XP10K-12K0_0
Tue Nov 29 15:20:27.703: Disabled Dmpnode XP10K-12K0_0
Tue Nov 29 15:20:27.712: Disabled Path c4t50060E80164DA510d3s2 belonging to Dmpnode XP10K-12K0_3
Tue Nov 29 15:20:27.712: Disabled Dmpnode XP10K-12K0_3
Tue Nov 29 15:20:27.720: Disabled Path c4t50060E80164DA510d2s2 belonging to Dmpnode XP10K-12K0_1
Tue Nov 29 15:20:27.720: Disabled Dmpnode XP10K-12K0_1
Tue Nov 29 15:20:27.728: Disabled Path c4t50060E80164DA510d1s2 belonging to Dmpnode XP10K-12K0_4
Tue Nov 29 15:20:27.728: Disabled Dmpnode XP10K-12K0_4
Tue Nov 29 15:20:27.737: Disabled Disk array XP10K-12K0
Tue Nov 29 15:20:27.737: Disabled Path c4t50060E80164DA510d0s2 belonging to Dmpnode XP10K-12K0_2
Tue Nov 29 15:20:27.737: Disabled Dmpnode XP10K-12K0_2
Tue Nov 29 15:21:04.432: Marked as failing Path c6t50060E80164DA500d2s2 belonging to Dmpnode XP10K-12K0_1
Tue Nov 29 15:21:04.432: Marked as failing Path c6t50060E80164DA500d4s2 belonging to Dmpnode XP10K-12K0_0
Tue Nov 29 15:21:04.433: Marked as failing Path c6t50060E80164DA500d3s2 belonging to Dmpnode XP10K-12K0_3
Tue Nov 29 15:21:04.433: Marked as failing Path c4t50060E80164DA510d3s2 belonging to Dmpnode XP10K-12K0_3
Tue Nov 29 15:21:04.433: Marked as failing Path c6t50060E80164DA500d1s2 belonging to Dmpnode XP10K-12K0_4
Tue Nov 29 15:21:04.434: Marked as failing Path c6t50060E80164DA500d0s2 belonging to Dmpnode XP10K-12K0_2
Tue Nov 29 15:21:04.434: Marked as failing Path c4t50060E80164DA510d4s2 belonging to Dmpnode XP10K-12K0_0
Tue Nov 29 15:21:04.434: Marked as failing Path c4t50060E80164DA510d2s2 belonging to Dmpnode XP10K-12K0_1
Tue Nov 29 15:21:04.435: Marked as failing Path c4t50060E80164DA510d1s2 belonging to Dmpnode XP10K-12K0_4
Tue Nov 29 15:21:04.435: Marked as failing Path c4t50060E80164DA510d0s2 belonging to Dmpnode XP10K-12K0_2
 
can anyone help me?
  • Jako,

    You need to see a partition table on the disk - at the very least it needs to have a slice 2. Even if there are other slices, as long as slice 2 is there and is the correct length, this is OK (if you are going to initialise the disks in vxvm later it doesn't matter as it will re-partition the disk anyway) - however you need that initial label / partition table for VxVM to see the disk correctly.

    If you aren't seeing a partition table/label in prtvtoc, rebooting will not help / will be a waste of time, as VxVM needs the label to see the disks correctly before it will enable the paths.

    (If you have more recent versions of VxVM eg: 5.1 or 5.0MP3 rolling patches, vxdisk will show the disks as nolabel rather than error - so it's a bit more descriptive - the point is you need to label the disks before you can use them)

    Label the disks as suggested, check they are labelled with prtvtoc, then vxdisk scandisks to rescan the disks.

    If you choose to ignore everyone else's advice so far, and want go ahead and waste your time with a reboot, that's up to you, but it's not going to help if you don't ensure the disks are labelled properly as suggested in the first place.

  • I agree that paths will show disabled if label is not there  however I was concerned by looking at the status of paths as "failing" .. thats why wanted to ensure that connectivity is perfect. ...

    Hope reboot helps :)

     

    G

  • Jako,

    You need to see a partition table on the disk - at the very least it needs to have a slice 2. Even if there are other slices, as long as slice 2 is there and is the correct length, this is OK (if you are going to initialise the disks in vxvm later it doesn't matter as it will re-partition the disk anyway) - however you need that initial label / partition table for VxVM to see the disk correctly.

    If you aren't seeing a partition table/label in prtvtoc, rebooting will not help / will be a waste of time, as VxVM needs the label to see the disks correctly before it will enable the paths.

    (If you have more recent versions of VxVM eg: 5.1 or 5.0MP3 rolling patches, vxdisk will show the disks as nolabel rather than error - so it's a bit more descriptive - the point is you need to label the disks before you can use them)

    Label the disks as suggested, check they are labelled with prtvtoc, then vxdisk scandisks to rescan the disks.

    If you choose to ignore everyone else's advice so far, and want go ahead and waste your time with a reboot, that's up to you, but it's not going to help if you don't ensure the disks are labelled properly as suggested in the first place.

  • hi 

    @ g_lee:

    I agree with you, but I know there must be no partition (apart from slice 2). I would not wish that there were problems on the SAN, as the environment in which I work is very critical.

    nice day to all