1 Reply Latest reply on Oct 25, 2009 3:42 AM by 807567

    metainit/metattach problem on powerpath devices

    807567
      Hi all,

      i've got the following problem:

      after removing a svm devices that contained one of my luns: /dev/dsk/emcpower11a
      i am no longer be able to add a new svm-device using that path:

      bash-3.00# metainit d202 1 1 /dev/dsk/emcpower11a
      metainit: no error

      Some details follow...

      Any hints are welcome.

      Cheers,
      Holger.


      that shows that it worked a time ago...

      bash-3.00# metastat -p
      d250 -m d251 1
      d251 1 1 /dev/dsk/emcpower17a
      d8 -m d18 1
      d18 2 1 /dev/dsk/emcpower12a \
      1 /dev/dsk/emcpower15a
      d200 -m d201 1
      d201 1 1 /dev/dsk/emcpower7a
      d300 -m d301 1
      d301 1 1 /dev/dsk/emcpower9g
      d4 -m d14 1
      d14 1 1 /dev/dsk/emcpower4a
      d1 -m d11 d21 1
      d11 1 1 c3t0d0s1
      d21 1 1 c3t1d0s1
      d0 -m d10 d20 1
      d10 1 1 c3t0d0s0
      d20 1 1 c3t1d0s0
      d2012 -p d100 -o 75497888 -b 2097152
      d100 -m d101 1
      d101 1 1 /dev/dsk/emcpower10g
      d2011 -p d100 -o 73400704 -b 2097152
      d2010 -p d100 -o 71303520 -b 2097152
      d2009 -p d100 -o 69206336 -b 2097152
      d2008 -p d100 -o 67109152 -b 2097152
      d2007 -p d100 -o 65011968 -b 2097152
      d2006 -p d100 -o 62914784 -b 2097152
      d2005 -p d100 -o 60817600 -b 2097152
      d2004 -p d100 -o 58720416 -b 2097152
      d2003 -p d100 -o 56623232 -b 2097152
      d2002 -p d100 -o 54526048 -b 2097152
      d2001 -p d100 -o 52428864 -b 2097152
      d2000 -p d100 -o 32 -b 52428800



      format shows my disk:

      46. emcpower11a <DGC-RAID5-0428 cyl 61438 alt 2 hd 256 sec 40>
      /pseudo/emcp@11

      and it also has a valid vtoc:
      bash-3.00# prtvtoc /dev/rdsk/emcpower11a
      * /dev/rdsk/emcpower11a partition map
      *
      * Dimensions:
      * 512 bytes/sector
      * 40 sectors/track
      * 256 tracks/cylinder
      * 10240 sectors/cylinder
      * 61440 cylinders
      * 61438 accessible cylinders
      *
      * Flags:
      * 1: unmountable
      * 10: read-only
      *
      * First Sector Last
      * Partition Tag Flags Sector Count Sector Mount Directory
      0 0 00 0 629125120 629125119
      2 5 01 0 629125120 629125119

      powerpath:


      Pseudo name=emcpower11a
      CLARiiON ID=xxx[xxx]
      Logical device ID=600601601F902100F00FEE6CA646DE11 [LUN 23]
      state=alive; policy=CLAROpt; priority=0; queued-IOs=0
      Owner: default=SP B, current=SP B
      ==============================================================================
      ---------------- Host --------------- - Stor - -- I/O Path - -- Stats ---
      ### HW Path I/O Paths Interf. Mode State Q-IOs Errors
      ==============================================================================
      3075 pci@8/SUNW,qlc@1 c1t500601613CE00909d7s0 SP A1 active alive 0 1
      3075 pci@8/SUNW,qlc@1 c1t5006016F3CE00909d7s0 SP B7 active alive 0 1
      3072 pci@8/SUNW,qlc@1 c2t500601603CE00909d7s0 SP A0 active alive 0 1
      3072 pci@8/SUNW,qlc@1 c2t5006016E3CE00909d7s0 SP B6 active alive 0 1