Saturday, January 16, 2016

How to unconfigure luns from metaset.

 How to unconfigure luns from metaset.

/users/a537069> powermt display dev=all
Pseudo name=emcpower49a
Symmetrix ID=000292603635
Logical device ID=0962
state=alive; policy=SymmOpt; priority=0; queued-IOs=0;
==============================================================================
--------------- Host ---------------   - Stor -   -- I/O Path --  -- Stats ---
###  HW Path               I/O Paths    Interf.   Mode    State   Q-IOs Errors
==============================================================================
3072 pci@1d,700000/SUNW,qlc@1/fp@0,0 c3t500009740838CD5Cd16s0 FA  8fA   active  alive       0      0
3072 pci@1d,700000/SUNW,qlc@1/fp@0,0 c3t500009740838CD64d16s0 FA 10fA   active  alive       0      0
3073 pci@1d,700000/SUNW,qlc@2/fp@0,0 c4t500009740838CD58d16s0 FA  7fA   active  alive       0      0
3073 pci@1d,700000/SUNW,qlc@2/fp@0,0 c4t500009740838CD60d16s0 FA  9fA   active  alive       0      0

Pseudo name=emcpower34a
Symmetrix ID=000292603635
Logical device ID=0FEC
state=alive; policy=SymmOpt; priority=0; queued-IOs=0;
==============================================================================
--------------- Host ---------------   - Stor -   -- I/O Path --  -- Stats ---
###  HW Path               I/O Paths    Interf.   Mode    State   Q-IOs Errors
==============================================================================
3072 pci@1d,700000/SUNW,qlc@1/fp@0,0 c3t500009740838CD5Cd1s0 FA  8fA   active  alive       0      0
3072 pci@1d,700000/SUNW,qlc@1/fp@0,0 c3t500009740838CD64d1s0 FA 10fA   active  alive       0      0
3073 pci@1d,700000/SUNW,qlc@2/fp@0,0 c4t500009740838CD58d1s0 FA  7fA   active  alive       0      0
3073 pci@1d,700000/SUNW,qlc@2/fp@0,0 c4t500009740838CD60d1s0 FA  9fA   active  alive       0      0

Pseudo name=emcpower33a
Symmetrix ID=000292603635
Logical device ID=0FF0
state=alive; policy=SymmOpt; priority=0; queued-IOs=0;
==============================================================================
--------------- Host ---------------   - Stor -   -- I/O Path --  -- Stats ---
###  HW Path               I/O Paths    Interf.   Mode    State   Q-IOs Errors
==============================================================================
3072 pci@1d,700000/SUNW,qlc@1/fp@0,0 c3t500009740838CD5Cd2s0 FA  8fA   active  alive       0      0
3072 pci@1d,700000/SUNW,qlc@1/fp@0,0 c3t500009740838CD64d2s0 FA 10fA   active  alive       0      0
3073 pci@1d,700000/SUNW,qlc@2/fp@0,0 c4t500009740838CD58d2s0 FA  7fA   active  alive       0      0
3073 pci@1d,700000/SUNW,qlc@2/fp@0,0 c4t500009740838CD60d2s0 FA  9fA   active  alive       0      0

Pseudo name=emcpower36a
Symmetrix ID=000292603635
Logical device ID=0FF8
state=alive; policy=SymmOpt; priority=0; queued-IOs=0;
==============================================================================
--------------- Host ---------------   - Stor -   -- I/O Path --  -- Stats ---
###  HW Path               I/O Paths    Interf.   Mode    State   Q-IOs Errors
==============================================================================
3072 pci@1d,700000/SUNW,qlc@1/fp@0,0 c3t500009740838CD5Cd3s0 FA  8fA   active  alive       0      0
3072 pci@1d,700000/SUNW,qlc@1/fp@0,0 c3t500009740838CD64d3s0 FA 10fA   active  alive       0      0
3073 pci@1d,700000/SUNW,qlc@2/fp@0,0 c4t500009740838CD58d3s0 FA  7fA   active  alive       0      0
3073 pci@1d,700000/SUNW,qlc@2/fp@0,0 c4t500009740838CD60d3s0 FA  9fA   active  alive       0      0

Pseudo name=emcpower35a
Symmetrix ID=000292603635
Logical device ID=0FFC
state=alive; policy=SymmOpt; priority=0; queued-IOs=0;
==============================================================================
--------------- Host ---------------   - Stor -   -- I/O Path --  -- Stats ---
###  HW Path               I/O Paths    Interf.   Mode    State   Q-IOs Errors
==============================================================================
3072 pci@1d,700000/SUNW,qlc@1/fp@0,0 c3t500009740838CD5Cd4s0 FA  8fA   active  alive       0      0
3072 pci@1d,700000/SUNW,qlc@1/fp@0,0 c3t500009740838CD64d4s0 FA 10fA   active  alive       0      0
3073 pci@1d,700000/SUNW,qlc@2/fp@0,0 c4t500009740838CD58d4s0 FA  7fA   active  alive       0      0
3073 pci@1d,700000/SUNW,qlc@2/fp@0,0 c4t500009740838CD60d4s0 FA  9fA   active  alive       0      0

Pseudo name=emcpower37a
Symmetrix ID=000292603635
Logical device ID=1000
state=alive; policy=SymmOpt; priority=0; queued-IOs=0;
==============================================================================
--------------- Host ---------------   - Stor -   -- I/O Path --  -- Stats ---
###  HW Path               I/O Paths    Interf.   Mode    State   Q-IOs Errors
==============================================================================
3072 pci@1d,700000/SUNW,qlc@1/fp@0,0 c3t500009740838CD5Cd5s0 FA  8fA   active  alive       0      0
3072 pci@1d,700000/SUNW,qlc@1/fp@0,0 c3t500009740838CD64d5s0 FA 10fA   active  alive       0      0
3073 pci@1d,700000/SUNW,qlc@2/fp@0,0 c4t500009740838CD58d5s0 FA  7fA   active  alive       0      0
3073 pci@1d,700000/SUNW,qlc@2/fp@0,0 c4t500009740838CD60d5s0 FA  9fA   active  alive       0      0

Pseudo name=emcpower39a
Symmetrix ID=000292603635
Logical device ID=1008
state=alive; policy=SymmOpt; priority=0; queued-IOs=0;
==============================================================================
--------------- Host ---------------   - Stor -   -- I/O Path --  -- Stats ---
###  HW Path               I/O Paths    Interf.   Mode    State   Q-IOs Errors
==============================================================================
3072 pci@1d,700000/SUNW,qlc@1/fp@0,0 c3t500009740838CD5Cd6s0 FA  8fA   active  alive       0      0
3072 pci@1d,700000/SUNW,qlc@1/fp@0,0 c3t500009740838CD64d6s0 FA 10fA   active  alive       0      0
3073 pci@1d,700000/SUNW,qlc@2/fp@0,0 c4t500009740838CD58d6s0 FA  7fA   active  alive       0      0
3073 pci@1d,700000/SUNW,qlc@2/fp@0,0 c4t500009740838CD60d6s0 FA  9fA   active  alive       0      0

Pseudo name=emcpower38a
Symmetrix ID=000292603635
Logical device ID=1010
state=alive; policy=SymmOpt; priority=0; queued-IOs=0;
==============================================================================
--------------- Host ---------------   - Stor -   -- I/O Path --  -- Stats ---
###  HW Path               I/O Paths    Interf.   Mode    State   Q-IOs Errors
==============================================================================
3072 pci@1d,700000/SUNW,qlc@1/fp@0,0 c3t500009740838CD5Cd7s0 FA  8fA   active  alive       0      0
3072 pci@1d,700000/SUNW,qlc@1/fp@0,0 c3t500009740838CD64d7s0 FA 10fA   active  alive       0      0
3073 pci@1d,700000/SUNW,qlc@2/fp@0,0 c4t500009740838CD58d7s0 FA  7fA   active  alive       0      0
3073 pci@1d,700000/SUNW,qlc@2/fp@0,0 c4t500009740838CD60d7s0 FA  9fA   active  alive       0      0

Pseudo name=emcpower40a
Symmetrix ID=000292603635
Logical device ID=1018
state=alive; policy=SymmOpt; priority=0; queued-IOs=0;
==============================================================================
--------------- Host ---------------   - Stor -   -- I/O Path --  -- Stats ---
###  HW Path               I/O Paths    Interf.   Mode    State   Q-IOs Errors
==============================================================================
3072 pci@1d,700000/SUNW,qlc@1/fp@0,0 c3t500009740838CD5Cd8s0 FA  8fA   active  alive       0      0
3072 pci@1d,700000/SUNW,qlc@1/fp@0,0 c3t500009740838CD64d8s0 FA 10fA   active  alive       0      0
3073 pci@1d,700000/SUNW,qlc@2/fp@0,0 c4t500009740838CD58d8s0 FA  7fA   active  alive       0      0
3073 pci@1d,700000/SUNW,qlc@2/fp@0,0 c4t500009740838CD60d8s0 FA  9fA   active  alive       0      0

Pseudo name=emcpower32a
Symmetrix ID=000292603637
Logical device ID=14D9
state=dead; policy=SymmOpt; priority=0; queued-IOs=0;
==============================================================================
--------------- Host ---------------   - Stor -   -- I/O Path --  -- Stats ---
###  HW Path               I/O Paths    Interf.   Mode    State   Q-IOs Errors
==============================================================================
3073 UNKNOWN                  unknown   FA  7fB   active  dead        0      0
3073 UNKNOWN                  unknown   FA  9fB   active  dead        0      0
3072 UNKNOWN                  unknown   FA  8fB   active  dead        0      0
3072 UNKNOWN                  unknown   FA 10fB   active  dead        0      0

Pseudo name=emcpower26a
Symmetrix ID=000292603637
Logical device ID=14DD
state=dead; policy=SymmOpt; priority=0; queued-IOs=0;
==============================================================================
--------------- Host ---------------   - Stor -   -- I/O Path --  -- Stats ---
###  HW Path               I/O Paths    Interf.   Mode    State   Q-IOs Errors
==============================================================================
3073 UNKNOWN                  unknown   FA  7fB   active  dead        0      0
3073 UNKNOWN                  unknown   FA  9fB   active  dead        0      0
3072 UNKNOWN                  unknown   FA  8fB   active  dead        0      0
3072 UNKNOWN                  unknown   FA 10fB   active  dead        0      0

Pseudo name=emcpower27a
Symmetrix ID=000292603637
Logical device ID=14E1
state=dead; policy=SymmOpt; priority=0; queued-IOs=0;
==============================================================================
--------------- Host ---------------   - Stor -   -- I/O Path --  -- Stats ---
###  HW Path               I/O Paths    Interf.   Mode    State   Q-IOs Errors
==============================================================================
3073 UNKNOWN                  unknown   FA  7fB   active  dead        0      0
3073 UNKNOWN                  unknown   FA  9fB   active  dead        0      0
3072 UNKNOWN                  unknown   FA  8fB   active  dead        0      0
3072 UNKNOWN                  unknown   FA 10fB   active  dead        0      0

Pseudo name=emcpower29a
Symmetrix ID=000292603637
Logical device ID=14E5
state=dead; policy=SymmOpt; priority=0; queued-IOs=0;
==============================================================================
--------------- Host ---------------   - Stor -   -- I/O Path --  -- Stats ---
###  HW Path               I/O Paths    Interf.   Mode    State   Q-IOs Errors
==============================================================================
3073 UNKNOWN                  unknown   FA  7fB   active  dead        0      0
3073 UNKNOWN                  unknown   FA  9fB   active  dead        0      0
3072 UNKNOWN                  unknown   FA  8fB   active  dead        0      0
3072 UNKNOWN                  unknown   FA 10fB   active  dead        0      0

Pseudo name=emcpower28a
Symmetrix ID=000292603637
Logical device ID=14ED
state=dead; policy=SymmOpt; priority=0; queued-IOs=0;
==============================================================================
--------------- Host ---------------   - Stor -   -- I/O Path --  -- Stats ---
###  HW Path               I/O Paths    Interf.   Mode    State   Q-IOs Errors
==============================================================================
3073 UNKNOWN                  unknown   FA  7fB   active  dead        0      0
3073 UNKNOWN                  unknown   FA  9fB   active  dead        0      0
3072 UNKNOWN                  unknown   FA  8fB   active  dead        0      0
3072 UNKNOWN                  unknown   FA 10fB   active  dead        0      0

Pseudo name=emcpower31a
Symmetrix ID=000292603637
Logical device ID=14F5
state=dead; policy=SymmOpt; priority=0; queued-IOs=0;
==============================================================================
--------------- Host ---------------   - Stor -   -- I/O Path --  -- Stats ---
###  HW Path               I/O Paths    Interf.   Mode    State   Q-IOs Errors
==============================================================================
3073 UNKNOWN                  unknown   FA  7fB   active  dead        0      0
3073 UNKNOWN                  unknown   FA  9fB   active  dead        0      0
3072 UNKNOWN                  unknown   FA  8fB   active  dead        0      0
3072 UNKNOWN                  unknown   FA 10fB   active  dead        0      0

Pseudo name=emcpower30a
Symmetrix ID=000292603637
Logical device ID=14FD
state=dead; policy=SymmOpt; priority=0; queued-IOs=0;
==============================================================================
--------------- Host ---------------   - Stor -   -- I/O Path --  -- Stats ---
###  HW Path               I/O Paths    Interf.   Mode    State   Q-IOs Errors
==============================================================================
3073 UNKNOWN                  unknown   FA  7fB   active  dead        0      0
3073 UNKNOWN                  unknown   FA  9fB   active  dead        0      0
3072 UNKNOWN                  unknown   FA  8fB   active  dead        0      0
3072 UNKNOWN                  unknown   FA 10fB   active  dead        0      0

Pseudo name=emcpower48a
Symmetrix ID=000292603643
Logical device ID=1430
state=alive; policy=SymmOpt; priority=0; queued-IOs=0;
==============================================================================
--------------- Host ---------------   - Stor -   -- I/O Path --  -- Stats ---
###  HW Path               I/O Paths    Interf.   Mode    State   Q-IOs Errors
==============================================================================
3072 pci@1d,700000/SUNW,qlc@1/fp@0,0 c3t500009740838ED9Dd8s0 FA  8gB   active  alive       0      0
3072 pci@1d,700000/SUNW,qlc@1/fp@0,0 c3t500009740838EDA5d8s0 FA 10gB   active  alive       0      0
3073 pci@1d,700000/SUNW,qlc@2/fp@0,0 c4t500009740838ED99d8s0 FA  7gB   active  alive       0      0
3073 pci@1d,700000/SUNW,qlc@2/fp@0,0 c4t500009740838EDA1d8s0 FA  9gB   active  alive       0      0

Pseudo name=emcpower47a
Symmetrix ID=000292603643
Logical device ID=32E8
state=alive; policy=SymmOpt; priority=0; queued-IOs=0;
==============================================================================
--------------- Host ---------------   - Stor -   -- I/O Path --  -- Stats ---
###  HW Path               I/O Paths    Interf.   Mode    State   Q-IOs Errors
==============================================================================
3072 pci@1d,700000/SUNW,qlc@1/fp@0,0 c3t500009740838ED9Dd1s0 FA  8gB   active  alive       0      0
3072 pci@1d,700000/SUNW,qlc@1/fp@0,0 c3t500009740838EDA5d1s0 FA 10gB   active  alive       0      0
3073 pci@1d,700000/SUNW,qlc@2/fp@0,0 c4t500009740838ED99d1s0 FA  7gB   active  alive       0      0
3073 pci@1d,700000/SUNW,qlc@2/fp@0,0 c4t500009740838EDA1d1s0 FA  9gB   active  alive       0      0

Pseudo name=emcpower46a
Symmetrix ID=000292603643
Logical device ID=32EC
state=alive; policy=SymmOpt; priority=0; queued-IOs=0;
==============================================================================
--------------- Host ---------------   - Stor -   -- I/O Path --  -- Stats ---
###  HW Path               I/O Paths    Interf.   Mode    State   Q-IOs Errors
==============================================================================
3072 pci@1d,700000/SUNW,qlc@1/fp@0,0 c3t500009740838ED9Dd2s0 FA  8gB   active  alive       0      0
3072 pci@1d,700000/SUNW,qlc@1/fp@0,0 c3t500009740838EDA5d2s0 FA 10gB   active  alive       0      0
3073 pci@1d,700000/SUNW,qlc@2/fp@0,0 c4t500009740838ED99d2s0 FA  7gB   active  alive       0      0
3073 pci@1d,700000/SUNW,qlc@2/fp@0,0 c4t500009740838EDA1d2s0 FA  9gB   active  alive       0      0

Pseudo name=emcpower45a
Symmetrix ID=000292603643
Logical device ID=32F0
state=alive; policy=SymmOpt; priority=0; queued-IOs=0;
==============================================================================
--------------- Host ---------------   - Stor -   -- I/O Path --  -- Stats ---
###  HW Path               I/O Paths    Interf.   Mode    State   Q-IOs Errors
==============================================================================
3072 pci@1d,700000/SUNW,qlc@1/fp@0,0 c3t500009740838ED9Dd3s0 FA  8gB   active  alive       0      0
3072 pci@1d,700000/SUNW,qlc@1/fp@0,0 c3t500009740838EDA5d3s0 FA 10gB   active  alive       0      0
3073 pci@1d,700000/SUNW,qlc@2/fp@0,0 c4t500009740838ED99d3s0 FA  7gB   active  alive       0      0
3073 pci@1d,700000/SUNW,qlc@2/fp@0,0 c4t500009740838EDA1d3s0 FA  9gB   active  alive       0      0

Pseudo name=emcpower44a
Symmetrix ID=000292603643
Logical device ID=32F4
state=alive; policy=SymmOpt; priority=0; queued-IOs=0;
==============================================================================
--------------- Host ---------------   - Stor -   -- I/O Path --  -- Stats ---
###  HW Path               I/O Paths    Interf.   Mode    State   Q-IOs Errors
==============================================================================
3072 pci@1d,700000/SUNW,qlc@1/fp@0,0 c3t500009740838ED9Dd4s0 FA  8gB   active  alive       0      0
3072 pci@1d,700000/SUNW,qlc@1/fp@0,0 c3t500009740838EDA5d4s0 FA 10gB   active  alive       0      0
3073 pci@1d,700000/SUNW,qlc@2/fp@0,0 c4t500009740838ED99d4s0 FA  7gB   active  alive       0      0
3073 pci@1d,700000/SUNW,qlc@2/fp@0,0 c4t500009740838EDA1d4s0 FA  9gB   active  alive       0      0

Pseudo name=emcpower43a
Symmetrix ID=000292603643
Logical device ID=32FC
state=alive; policy=SymmOpt; priority=0; queued-IOs=0;
==============================================================================
--------------- Host ---------------   - Stor -   -- I/O Path --  -- Stats ---
###  HW Path               I/O Paths    Interf.   Mode    State   Q-IOs Errors
==============================================================================
3072 pci@1d,700000/SUNW,qlc@1/fp@0,0 c3t500009740838ED9Dd5s0 FA  8gB   active  alive       0      0
3072 pci@1d,700000/SUNW,qlc@1/fp@0,0 c3t500009740838EDA5d5s0 FA 10gB   active  alive       0      0
3073 pci@1d,700000/SUNW,qlc@2/fp@0,0 c4t500009740838ED99d5s0 FA  7gB   active  alive       0      0
3073 pci@1d,700000/SUNW,qlc@2/fp@0,0 c4t500009740838EDA1d5s0 FA  9gB   active  alive       0      0

Pseudo name=emcpower42a
Symmetrix ID=000292603643
Logical device ID=3304
state=alive; policy=SymmOpt; priority=0; queued-IOs=0;
==============================================================================
--------------- Host ---------------   - Stor -   -- I/O Path --  -- Stats ---
###  HW Path               I/O Paths    Interf.   Mode    State   Q-IOs Errors
==============================================================================
3072 pci@1d,700000/SUNW,qlc@1/fp@0,0 c3t500009740838ED9Dd6s0 FA  8gB   active  alive       0      0
3072 pci@1d,700000/SUNW,qlc@1/fp@0,0 c3t500009740838EDA5d6s0 FA 10gB   active  alive       0      0
3073 pci@1d,700000/SUNW,qlc@2/fp@0,0 c4t500009740838ED99d6s0 FA  7gB   active  alive       0      0
3073 pci@1d,700000/SUNW,qlc@2/fp@0,0 c4t500009740838EDA1d6s0 FA  9gB   active  alive       0      0

Pseudo name=emcpower41a
Symmetrix ID=000292603643
Logical device ID=330C
state=alive; policy=SymmOpt; priority=0; queued-IOs=0;
==============================================================================
--------------- Host ---------------   - Stor -   -- I/O Path --  -- Stats ---
###  HW Path               I/O Paths    Interf.   Mode    State   Q-IOs Errors
==============================================================================
3072 pci@1d,700000/SUNW,qlc@1/fp@0,0 c3t500009740838ED9Dd7s0 FA  8gB   active  alive       0      0
3072 pci@1d,700000/SUNW,qlc@1/fp@0,0 c3t500009740838EDA5d7s0 FA 10gB   active  alive       0      0
3073 pci@1d,700000/SUNW,qlc@2/fp@0,0 c4t500009740838ED99d7s0 FA  7gB   active  alive       0      0
3073 pci@1d,700000/SUNW,qlc@2/fp@0,0 c4t500009740838EDA1d7s0 FA  9gB   active  alive       0      0



/users/a537069>






===================================================================================================================

prod/d109: Soft Partition
    Device: prod/d100
    State: Okay
    Size: 93142892 blocks (44 GB)
        Extent              Start Block              Block count
             0               1038090368                 93142892

prod/d100: Mirror
    Submirror 1: prod/d120
      State: Okay
    Submirror 2: prod/d111
      State: Okay
    Pass: 1
    Read option: roundrobin (default)
    Write option: parallel (default)
    Size: 1325644800 blocks (632 GB)

prod/d120: Submirror of prod/d100
    State: Okay
    Size: 1405100160 blocks (670 GB)
    Stripe 0:
        Device                    Start Block  Dbase        State Reloc Hot Spare
        c3t500009740838EDA5d1s0          0     No            Okay   Yes
    Stripe 1:
        Device                    Start Block  Dbase        State Reloc Hot Spare
        c3t500009740838EDA5d2s0          0     No            Okay   Yes
    Stripe 2:
        Device                    Start Block  Dbase        State Reloc Hot Spare
        c3t500009740838EDA5d3s0          0     No            Okay   Yes
    Stripe 3:
        Device                    Start Block  Dbase        State Reloc Hot Spare
        c3t500009740838EDA5d4s0          0     No            Okay   Yes
    Stripe 4:
        Device                    Start Block  Dbase        State Reloc Hot Spare
        c3t500009740838EDA5d5s0          0     No            Okay   Yes
    Stripe 5:
        Device                    Start Block  Dbase        State Reloc Hot Spare
        c3t500009740838EDA5d6s0          0     No            Okay   Yes
    Stripe 6:
        Device                    Start Block  Dbase        State Reloc Hot Spare
        c3t500009740838EDA5d7s0          0     No            Okay   Yes


prod/d111: Submirror of prod/d100
    State: Okay
    Size: 1405100160 blocks (670 GB)
    Stripe 0:
        Device                    Start Block  Dbase        State Reloc Hot Spare
        c3t500009740838CD5Cd2s0          0     No            Okay   Yes
    Stripe 1:
        Device                    Start Block  Dbase        State Reloc Hot Spare
        c3t500009740838CD5Cd3s0          0     No            Okay   Yes
    Stripe 2:
        Device                    Start Block  Dbase        State Reloc Hot Spare
        c3t500009740838CD5Cd4s0          0     No            Okay   Yes
    Stripe 3:
        Device                    Start Block  Dbase        State Reloc Hot Spare
        c3t500009740838CD5Cd5s0          0     No            Okay   Yes
    Stripe 4:
        Device                    Start Block  Dbase        State Reloc Hot Spare
        c3t500009740838CD5Cd6s0          0     No            Okay   Yes
    Stripe 5:
        Device                    Start Block  Dbase        State Reloc Hot Spare
        c3t500009740838CD5Cd7s0          0     No            Okay   Yes
    Stripe 6:
        Device                    Start Block  Dbase        State Reloc Hot Spare
        c3t500009740838CD5Cd8s0          0     No            Okay   Yes


prod/d106: Soft Partition
    Device: prod/d100
    State: Okay
    Size: 31457280 blocks (15 GB)
        Extent              Start Block              Block count
             0                954204192                 20971520
             1               1131233280                 10485760

prod/d107: Soft Partition
    Device: prod/d100
    State: Okay
    Size: 127611007 blocks (60 GB)
        Extent              Start Block              Block count
             0                975175744                 20971520
             1               1141719072                 31457311
             2                954204167                       24
             3                975175713                       30
             4                996147265                       30
             5               1038090337                       30
             6               1131233261                       18
             7               1141719041                       30
             8               1215119425                 75182014

prod/d105: Soft Partition
    Device: prod/d100
    State: Okay
    Size: 10485760 blocks (5.0 GB)
        Extent              Start Block              Block count
             0                734003205                 10485760

prod/d104: Soft Partition
    Device: prod/d100
    State: Okay
    Size: 62914560 blocks (30 GB)
        Extent              Start Block              Block count
             0                671088644                 62914560

prod/d103: Soft Partition
    Device: prod/d100
    State: Okay
    Size: 146800640 blocks (70 GB)
        Extent              Start Block              Block count
             0                524288003                146800640

prod/d102: Soft Partition
    Device: prod/d100
    State: Okay
    Size: 629145600 blocks (300 GB)
        Extent              Start Block              Block count
             0                104857602                419430400
             1                744488966                209715200

prod/d101: Soft Partition
    Device: prod/d100
    State: Okay
    Size: 104857600 blocks (50 GB)
        Extent              Start Block              Block count
             0                        1                104857600

prod/d108: Soft Partition
    Device: prod/d100
    State: Okay
    Size: 119227520 blocks (56 GB)
        Extent              Start Block              Block count
             0                996147296                 41943040
             1               1173176384                 41943040
             2               1290301440                 35341440

Device Relocation Information:
Device                   Reloc  Device ID
c3t500009740838ED9Dd8    Yes    id1,ssd@w60000970000292603643533031343330
c3t500009740838CD5Cd16   Yes    id1,ssd@w60000970000292603635533030393632
c3t500009740838EDA5d1    Yes    id1,ssd@w60000970000292603643533033324538
c3t500009740838EDA5d2    Yes    id1,ssd@w60000970000292603643533033324543
c3t500009740838EDA5d3    Yes    id1,ssd@w60000970000292603643533033324630
c3t500009740838EDA5d4    Yes    id1,ssd@w60000970000292603643533033324634
c3t500009740838EDA5d5    Yes    id1,ssd@w60000970000292603643533033324643
c3t500009740838EDA5d6    Yes    id1,ssd@w60000970000292603643533033333034
c3t500009740838EDA5d7    Yes    id1,ssd@w60000970000292603643533033333043
c3t500009740838CD5Cd2    Yes    id1,ssd@w60000970000292603635533030464630
c3t500009740838CD5Cd3    Yes    id1,ssd@w60000970000292603635533030464638
c3t500009740838CD5Cd4    Yes    id1,ssd@w60000970000292603635533030464643
c3t500009740838CD5Cd5    Yes    id1,ssd@w60000970000292603635533031303030
c3t500009740838CD5Cd6    Yes    id1,ssd@w60000970000292603635533031303038
c3t500009740838CD5Cd7    Yes    id1,ssd@w60000970000292603635533031303130
c3t500009740838CD5Cd8    Yes    id1,ssd@w60000970000292603635533031303138
/users/a537069>
/users/a537069>
/users/a537069> df -kh
Filesystem             size   used  avail capacity  Mounted on
/dev/md/dsk/d10         15G   8.6G   6.1G    59%    /
/proc                    0K     0K     0K     0%    /proc
mnttab                   0K     0K     0K     0%    /etc/mnttab
fd                       0K     0K     0K     0%    /dev/fd
/dev/md/dsk/d30         15G   8.1G   6.5G    56%    /var
swap                    13G   176K    13G     1%    /var/run
swap                    13G   6.6M    13G     1%    /tmp
/dev/md/dsk/d50         15G    15M    15G     1%    /volumes/free3
/dev/md/dsk/d70         25G    25M    25G     1%    /volumes/free
/dev/md/dsk/d40         15G   5.8G   8.8G    40%    /volumes/v0
/dev/md/dsk/d60         42G    29G    13G    70%    /volumes/buhrn2
/dev/md/prod/dsk/d4     30G    14G    15G    49%    /volumes/app_prod4
/dev/md/prod/dsk/d5    4.9G   891M   4.0G    18%    /volumes/app_prod5
/dev/md/prod/dsk/d6     15G    12G   2.4G    84%    /volumes/app_prod6
/dev/md/prod/dsk/d7     59G    39G    19G    68%    /volumes/app_prod7
/dev/md/prod/dsk/d8     55G    42G    12G    78%    /volumes/app_prod8
/users/a537069>
/users/a537069>
/users/a537069>

/users/a537069> metaset -s prod

Set name = prod, Set number = 1

Host                Owner
  cor-9008app01      Yes
  cor-9008app02

Drive                             Dbase

/dev/dsk/c3t500009740838CD5Cd2    Yes

/dev/dsk/c3t500009740838CD5Cd4    Yes

/dev/dsk/c3t500009740838CD5Cd5    Yes

/dev/dsk/c3t500009740838CD5Cd6    Yes

/dev/dsk/c3t500009740838CD5Cd7    Yes

/dev/dsk/c3t500009740838CD5Cd3    Yes

/dev/dsk/c3t500009740838EDA5d2    Yes

/dev/dsk/c3t500009740838EDA5d3    Yes

/dev/dsk/c3t500009740838EDA5d4    Yes

/dev/dsk/c3t500009740838EDA5d5    Yes

/dev/dsk/c3t500009740838EDA5d6    Yes

/dev/dsk/c3t500009740838EDA5d7    Yes

/dev/dsk/c3t500009740838EDA5d1    Yes

/dev/dsk/c3t500009740838CD5Cd1    Yes

/dev/dsk/c3t500009740838CD5Cd16   Yes

/dev/dsk/c3t500009740838ED9Dd8    Yes
/users/a537069>


/users/a537069> metastat -s prod -p
prod/d8 -p prod/d0 -o 230686880 -b 117440512
prod/d0 -m prod/d1 prod/d2 1
prod/d1 1 1 c3t500009740838CD5Cd16s0
prod/d2 1 1 c3t500009740838ED9Dd8s0
prod/d7 -p prod/d0 -o 104857728 -b 125829120
prod/d6 -p prod/d0 -o 73400416 -b 31457280
prod/d5 -p prod/d0 -o 62914624 -b 10485760
prod/d4 -p prod/d0 -o 32 -b 62914560
prod/d109 -p prod/d100 -o 1038090368 -b 93142892
prod/d100 -m prod/d120 prod/d111 1
prod/d120 7 1 c3t500009740838EDA5d1s0 \
         1 c3t500009740838EDA5d2s0 \
         1 c3t500009740838EDA5d3s0 \
         1 c3t500009740838EDA5d4s0 \
         1 c3t500009740838EDA5d5s0 \
         1 c3t500009740838EDA5d6s0 \
         1 c3t500009740838EDA5d7s0
prod/d111 7 1 c3t500009740838CD5Cd2s0 \
         1 c3t500009740838CD5Cd3s0 \
         1 c3t500009740838CD5Cd4s0 \
         1 c3t500009740838CD5Cd5s0 \
         1 c3t500009740838CD5Cd6s0 \
         1 c3t500009740838CD5Cd7s0 \
         1 c3t500009740838CD5Cd8s0
prod/d106 -p prod/d100 -o 954204192 -b 20971520  -o 1131233280 -b 10485760
prod/d107 -p prod/d100 -o 975175744 -b 20971520  -o 1141719072 -b 31457311  -o 954204167 -b 24  -o 975175713 -b 30  -o 996147265 -b 30  -o 1038090337 -b 30  -o 1131233261 -b 18  -o 1141719041 -b 30  -o 1215119425 -b 75182014
prod/d105 -p prod/d100 -o 734003205 -b 10485760
prod/d104 -p prod/d100 -o 671088644 -b 62914560
prod/d103 -p prod/d100 -o 524288003 -b 146800640
prod/d102 -p prod/d100 -o 104857602 -b 419430400  -o 744488966 -b 209715200
prod/d101 -p prod/d100 -o 1 -b 104857600
prod/d108 -p prod/d100 -o 996147296 -b 41943040  -o 1173176384 -b 41943040  -o 1290301440 -b 35341440
/users/a537069>

metaclear -s prod -r d109

metaclear -s prod -r d108

metaclear -s prod -r d107

metaclear -s prod -r d106

metaclear -s prod -r d105

metaclear -s prod -r d104

metaclear -s prod -r d103

metaclear -s prod -r d102

metaclear -s prod -r d101-------Once this is done complete d100 gt cleared by clearing d111,d120.

metadetach -s prod d100 d111

metadetach -s prod d100 d120

metaclear -s prod d111

metaclear -s prod d120

metaclear -s prod d100

metastat -s prod -p

metaset -s prod -d c3t500009740838EDA5d1 c3t500009740838EDA5d2 c3t500009740838EDA5d3 c3t500009740838EDA5d4 c3t500009740838EDA5d5 c3t500009740838EDA5d6 c3t500009740838EDA5d7

metaset -s prod -d c3t500009740838CD5Cd2 c3t500009740838CD5Cd3 c3t500009740838CD5Cd4 c3t500009740838CD5Cd5 c3t500009740838CD5Cd6 c3t500009740838CD5Cd7 c3t500009740838CD5Cd8

if above comd wont work for deletion of disks from metatset use below format

metaset -s nlnehvdcs1cl89b-qa-ds01 -d /dev/did/rdsk/d13

metaset -s prod

metadb -s prod

Now how to release the storage you will have had to first deliberately have made the LUN(s) "unusable" (by unmapping them, deleting them, masking them away from this initiator, etc.)


cfgadm -o show_FCP_dev -al | grep unusable

cfgadm -o unusable_FCP_dev -c unconfigure c3::500009740838eda5

cfgadm -o unusable_FCP_dev -c unconfigure c3::500009740838CD5C

else

Powermt remove dev=c3t500009740838EDA5d1s2

luxadm  -e offline /dev/rdsk/c3t500009740838EDA5d1s2

luxadm  -e offline /dev/rdsk/c3t500009740838EDA5d2s2

luxadm -e offline  /dev/rdsk/c3t500009740838EDA5d3s2

devfsadm -Cv


LUNIDS:

Symmetrix ID:000292603643

c3t500009740838EDA5d1 ---32E8

c3t500009740838EDA5d2 ---32EC

c3t500009740838EDA5d3 ---32F0

c3t500009740838EDA5d4 ---32F4

c3t500009740838EDA5d5 ---32FC

c3t500009740838EDA5d6 ---3304

c3t500009740838EDA5d7---330C

Symmetrix ID:000292603635

c3t500009740838CD5Cd2 ---0FF0

c3t500009740838CD5Cd3 ---0FF8

c3t500009740838CD5Cd4 ---0FFC

c3t500009740838CD5Cd5 ---1000

c3t500009740838CD5Cd6 ---1008

c3t500009740838CD5Cd7 --1010

c3t500009740838CD5Cd8---1018


Symmetrix ID:000292603643

32E8
32EC
32F0
32F4
32FC
3304
330C

Symmetrix ID:000292603635

0FF0
0FF8
0FFC
1000
1008
1010
1018
===========================================================================================================

logs

====================================================================================================



/users/a537069> metaclear -s prod -r d109
prod/d109: Soft Partition is cleared
metaclear: cor-9008app01: prod/d100: metadevice in use

/users/a537069> metastat -s prod -p|grep -i d109
/users/a537069> metaclear -s prod -r d108
prod/d108: Soft Partition is cleared
metaclear: cor-9008app01: prod/d100: metadevice in use

/users/a537069> metaclear -s prod -r d107
prod/d107: Soft Partition is cleared
metaclear: cor-9008app01: prod/d100: metadevice in use

/users/a537069> metaclear -s prod -r d106
prod/d106: Soft Partition is cleared
metaclear: cor-9008app01: prod/d100: metadevice in use

/users/a537069> metaclear -s prod -r d105
prod/d105: Soft Partition is cleared
metaclear: cor-9008app01: prod/d100: metadevice in use

/users/a537069> metaclear -s prod -r d104
prod/d104: Soft Partition is cleared
metaclear: cor-9008app01: prod/d100: metadevice in use

/users/a537069> metaclear -s prod -r d103
prod/d103: Soft Partition is cleared
metaclear: cor-9008app01: prod/d100: metadevice in use

/users/a537069> metaclear -s prod -r d102
prod/d102: Soft Partition is cleared
metaclear: cor-9008app01: prod/d100: metadevice in use

/users/a537069> metaclear -s prod -r d101
prod/d101: Soft Partition is cleared
prod/d100: Mirror is cleared
prod/d120: Concat/Stripe is cleared
prod/d111: Concat/Stripe is cleared
/users/a537069> metastat -s prod -p
prod/d8 -p prod/d0 -o 230686880 -b 117440512
prod/d0 -m prod/d1 prod/d2 1
prod/d1 1 1 c3t500009740838CD5Cd16s0
prod/d2 1 1 c3t500009740838ED9Dd8s0
prod/d7 -p prod/d0 -o 104857728 -b 125829120
prod/d6 -p prod/d0 -o 73400416 -b 31457280
prod/d5 -p prod/d0 -o 62914624 -b 10485760
prod/d4 -p prod/d0 -o 32 -b 62914560


/users/a537069> metaset -s prod|wc -l
      40
/users/a537069> metaset -s prod -d c3t500009740838EDA5d1
/users/a537069> metaset -s prod|wc -l
      38
/users/a537069>

/users/a537069> metaset -s prod -d c3t500009740838EDA5d2
/users/a537069> metaset -s prod|wc -l
      36
/users/a537069> metaset -s prod -d c3t500009740838EDA5d3
/users/a537069> metaset -s prod|wc -l
      34
/users/a537069> metaset -s prod -d c3t500009740838EDA5d4
/users/a537069> metaset -s prod|wc -l
      32
/users/a537069> metaset -s prod -d c3t500009740838EDA5d5
/users/a537069> metaset -s prod -d c3t500009740838EDA5d6
/users/a537069> metaset -s prod -d c3t500009740838EDA5d7
/users/a537069> metaset -s prod

Set name = prod, Set number = 1

Host                Owner
  cor-9008app01      Yes
  cor-9008app02

Drive                             Dbase

/dev/dsk/c3t500009740838CD5Cd2    Yes

/dev/dsk/c3t500009740838CD5Cd4    Yes

/dev/dsk/c3t500009740838CD5Cd5    Yes

/dev/dsk/c3t500009740838CD5Cd6    Yes

/dev/dsk/c3t500009740838CD5Cd7    Yes

/dev/dsk/c3t500009740838CD5Cd3    Yes

/dev/dsk/c3t500009740838CD5Cd1    Yes

/dev/dsk/c3t500009740838CD5Cd16   Yes

/dev/dsk/c3t500009740838ED9Dd8    Yes
/users/a537069>


/users/a537069> metaset -s prod -d c3t500009740838CD5Cd3
/users/a537069> metaset -s prod -d c3t500009740838CD5Cd4

/users/a537069> metaset -s prod -d c3t500009740838CD5Cd5
/users/a537069> metaset -s prod -d c3t500009740838CD5Cd6
/users/a537069> metaset -s prod -d c3t500009740838CD5Cd7
/users/a537069> metaset -s prod -d c3t500009740838CD5Cd8
metaset: cor-9008app01: prod: drive c3t500009740838CD5Cd8 is not in set

/users/a537069> c3t500009740838CD5Cd8
/users/a537069> metaset -s prod

Set name = prod, Set number = 1

Host                Owner
  cor-9008app01      Yes
  cor-9008app02

Drive                             Dbase

/dev/dsk/c3t500009740838CD5Cd1    Yes

/dev/dsk/c3t500009740838CD5Cd16   Yes

/dev/dsk/c3t500009740838ED9Dd8    Yes


/users/a537069> metastat -s prod -p
prod/d8 -p prod/d0 -o 230686880 -b 117440512
prod/d0 -m prod/d1 prod/d2 1
prod/d1 1 1 c3t500009740838CD5Cd16s0
prod/d2 1 1 c3t500009740838ED9Dd8s0
prod/d7 -p prod/d0 -o 104857728 -b 125829120
prod/d6 -p prod/d0 -o 73400416 -b 31457280
prod/d5 -p prod/d0 -o 62914624 -b 10485760
prod/d4 -p prod/d0 -o 32 -b 62914560


/users/a537069> luxadm display /dev/rdsk/c3t500009740838EDA5d1s2
DEVICE PROPERTIES for disk: /dev/rdsk/c3t500009740838EDA5d1s2
  Vendor:               EMC
  Product ID:           SYMMETRIX
  Revision:             5874
  Serial Num:           603643!z;000
  Unformatted capacity: 20482.500 MBytes
  Read Cache:           Enabled
    Minimum prefetch:   0x0
    Maximum prefetch:   0xffff
  Device Type:          Disk device
  Path(s):

  /dev/rdsk/c3t500009740838EDA5d1s2
  /devices/pci@1d,700000/SUNW,qlc@1/fp@0,0/ssd@w500009740838eda5,1:c,raw
    LUN path port WWN:          500009740838eda5
    Host controller port WWN:   210000e08b1b8b20
    Path status:                O.K.
  /dev/rdsk/c3t500009740838ED9Dd1s2
  /devices/pci@1d,700000/SUNW,qlc@1/fp@0,0/ssd@w500009740838ed9d,1:c,raw
    LUN path port WWN:          500009740838ed9d
    Host controller port WWN:   210000e08b1b8b20
    Path status:                O.K.
  /dev/rdsk/c4t500009740838ED99d1s2
  /devices/pci@1d,700000/SUNW,qlc@2/fp@0,0/ssd@w500009740838ed99,1:c,raw
    LUN path port WWN:          500009740838ed99
    Host controller port WWN:   210000e08b1b0a2f
    Path status:                O.K.
  /dev/rdsk/c4t500009740838EDA1d1s2
  /devices/pci@1d,700000/SUNW,qlc@2/fp@0,0/ssd@w500009740838eda1,1:c,raw
    LUN path port WWN:          500009740838eda1
    Host controller port WWN:   210000e08b1b0a2f
    Path status:                O.K.



/users/a537069> luxadm -e dump_map /devices/pci@1d,700000/SUNW,qlc@1/fp@0,0:devctl
Pos  Port_ID Hard_Addr Port WWN         Node WWN         Type
0    10a00   0         500009740838ed9d 500009740838ec00 0x0  (Disk device)
1    14a00   0         500009740838eda5 500009740838ec00 0x0  (Disk device)
2    22f501  0         500009740838cd5c 500009740838cc00 0x0  (Disk device)
3    22f601  0         500009740838cd64 500009740838cc00 0x0  (Disk device)
4    1aa00   0         210000e08b1b8b20 200000e08b1b8b20 0x1f (Unknown Type,Host Bus Adapter)
/users/a537069> luxadm -e dump_map /devices/pci@1d,700000/SUNW,qlc@2/fp@0,0:devctl
Pos  Port_ID Hard_Addr Port WWN         Node WWN         Type
0    10a00   0         500009740838eda1 500009740838ec00 0x0  (Disk device)
1    14a00   0         500009740838ed99 500009740838ec00 0x0  (Disk device)
2    22f501  0         500009740838cd60 500009740838cc00 0x0  (Disk device)
3    22f601  0         500009740838cd58 500009740838cc00 0x0  (Disk device)
4    1aa00   0         210000e08b1b0a2f 200000e08b1b0a2f 0x1f (Unknown Type,Host Bus Adapter)
/users/a537069>



/users/a537069> cfgadm -al
Ap_Id                          Type         Receptacle   Occupant     Condition
c0                             scsi-bus     connected    configured   unknown
c0::dsk/c0t0d0                 CD-ROM       connected    configured   unknown
c1                             scsi-bus     connected    configured   unknown
c1::dsk/c1t0d0                 disk         connected    configured   unknown
c1::dsk/c1t1d0                 disk         connected    configured   unknown
c1::dsk/c1t2d0                 disk         connected    configured   unknown
c1::dsk/c1t3d0                 disk         connected    configured   unknown
c2                             scsi-bus     connected    unconfigured unknown
c3                             fc-fabric    connected    configured   unknown
c3::500009740838cd5c           disk         connected    configured   unknown
c3::500009740838cd64           disk         connected    configured   unknown
c3::500009740838ed9d           disk         connected    configured   unknown
c3::500009740838eda5           disk         connected    configured   unknown
c4                             fc-fabric    connected    configured   unknown
c4::500009740838cd58           disk         connected    configured   unknown
c4::500009740838cd60           disk         connected    configured   unknown
c4::500009740838ed99           disk         connected    configured   unknown
c4::500009740838eda1           disk         connected    configured   unknown
usb0/1                         unknown      empty        unconfigured ok
usb0/2                         unknown      empty        unconfigured ok
usb1/1                         unknown      empty        unconfigured ok
usb1/2                         unknown      empty        unconfigured ok
/users/a537069>

/users/a537069> cfgadm -o show_FCP_dev -al | grep unusable
/users/a537069> cfgadm -o show_FCP_dev -al
Ap_Id                          Type         Receptacle   Occupant     Condition
c3                             fc-fabric    connected    configured   unknown
c3::500009740838cd5c,1         disk         connected    configured   unknown
c3::500009740838cd5c,2         disk         connected    configured   unknown
c3::500009740838cd5c,3         disk         connected    configured   unknown
c3::500009740838cd5c,4         disk         connected    configured   unknown
c3::500009740838cd5c,5         disk         connected    configured   unknown
c3::500009740838cd5c,6         disk         connected    configured   unknown
c3::500009740838cd5c,7         disk         connected    configured   unknown
c3::500009740838cd5c,8         disk         connected    configured   unknown
c3::500009740838cd5c,16        disk         connected    configured   unknown
c3::500009740838cd64,1         disk         connected    configured   unknown
c3::500009740838cd64,2         disk         connected    configured   unknown
c3::500009740838cd64,3         disk         connected    configured   unknown
c3::500009740838cd64,4         disk         connected    configured   unknown
c3::500009740838cd64,5         disk         connected    configured   unknown
c3::500009740838cd64,6         disk         connected    configured   unknown
c3::500009740838cd64,7         disk         connected    configured   unknown
c3::500009740838cd64,8         disk         connected    configured   unknown
c3::500009740838cd64,16        disk         connected    configured   unknown
c3::500009740838ed9d,1         disk         connected    configured   unknown
c3::500009740838ed9d,2         disk         connected    configured   unknown
c3::500009740838ed9d,3         disk         connected    configured   unknown
c3::500009740838ed9d,4         disk         connected    configured   unknown
c3::500009740838ed9d,5         disk         connected    configured   unknown
c3::500009740838ed9d,6         disk         connected    configured   unknown
c3::500009740838ed9d,7         disk         connected    configured   unknown
c3::500009740838ed9d,8         disk         connected    configured   unknown
c3::500009740838eda5,1         disk         connected    configured   unknown
c3::500009740838eda5,2         disk         connected    configured   unknown
c3::500009740838eda5,3         disk         connected    configured   unknown
c3::500009740838eda5,4         disk         connected    configured   unknown
c3::500009740838eda5,5         disk         connected    configured   unknown
c3::500009740838eda5,6         disk         connected    configured   unknown
c3::500009740838eda5,7         disk         connected    configured   unknown
c3::500009740838eda5,8         disk         connected    configured   unknown
c4                             fc-fabric    connected    configured   unknown
c4::500009740838cd58,1         disk         connected    configured   unknown
c4::500009740838cd58,2         disk         connected    configured   unknown
c4::500009740838cd58,3         disk         connected    configured   unknown
c4::500009740838cd58,4         disk         connected    configured   unknown
c4::500009740838cd58,5         disk         connected    configured   unknown
c4::500009740838cd58,6         disk         connected    configured   unknown
c4::500009740838cd58,7         disk         connected    configured   unknown
c4::500009740838cd58,8         disk         connected    configured   unknown
c4::500009740838cd58,16        disk         connected    configured   unknown
c4::500009740838cd60,1         disk         connected    configured   unknown
c4::500009740838cd60,2         disk         connected    configured   unknown
c4::500009740838cd60,3         disk         connected    configured   unknown
c4::500009740838cd60,4         disk         connected    configured   unknown
c4::500009740838cd60,5         disk         connected    configured   unknown
c4::500009740838cd60,6         disk         connected    configured   unknown
c4::500009740838cd60,7         disk         connected    configured   unknown
c4::500009740838cd60,8         disk         connected    configured   unknown
c4::500009740838cd60,16        disk         connected    configured   unknown
c4::500009740838ed99,1         disk         connected    configured   unknown
c4::500009740838ed99,2         disk         connected    configured   unknown
c4::500009740838ed99,3         disk         connected    configured   unknown
c4::500009740838ed99,4         disk         connected    configured   unknown
c4::500009740838ed99,5         disk         connected    configured   unknown
c4::500009740838ed99,6         disk         connected    configured   unknown
c4::500009740838ed99,7         disk         connected    configured   unknown
c4::500009740838ed99,8         disk         connected    configured   unknown
c4::500009740838eda1,1         disk         connected    configured   unknown
c4::500009740838eda1,2         disk         connected    configured   unknown
c4::500009740838eda1,3         disk         connected    configured   unknown
c4::500009740838eda1,4         disk         connected    configured   unknown
c4::500009740838eda1,5         disk         connected    configured   unknown
c4::500009740838eda1,6         disk         connected    configured   unknown
c4::500009740838eda1,7         disk         connected    configured   unknown
c4::500009740838eda1,8         disk         connected    configured   unknown
/users/a537069>
/users/a537069>


/users/a537069> echo |format |grep -i c3t500009740838EDA5d1
      30. c3t500009740838EDA5d1 <EMC-SYMMETRIX-5874 cyl 21846 alt 2 hd 15 sec 128>
/users/a537069> echo |format |grep -i c3t500009740838EDA5d2
      31. c3t500009740838EDA5d2 <EMC-SYMMETRIX-5874 cyl 43694 alt 2 hd 15 sec 128>
/users/a537069> echo |format |grep -i c3t500009740838EDA5d3
      32. c3t500009740838EDA5d3 <EMC-SYMMETRIX-5874 cyl 54618 alt 2 hd 15 sec 128>
/users/a537069> echo |format |grep -i c3t500009740838EDA5d4
      33. c3t500009740838EDA5d4 <EMC-SYMMETRIX-5874 cyl 38232 alt 2 hd 60 sec 128>
/users/a537069> echo |format |grep -i c3t500009740838EDA5d5
      34. c3t500009740838EDA5d5 <EMC-SYMMETRIX-5874 cyl 38232 alt 2 hd 60 sec 128>
/users/a537069> echo |format |grep -i c3t500009740838EDA5d6
      35. c3t500009740838EDA5d6 <EMC-SYMMETRIX-5874 cyl 38232 alt 2 hd 60 sec 128>
/users/a537069> echo |format|grep -i c3t500009740838EDA5d7
      36. c3t500009740838EDA5d7 <EMC-SYMMETRIX-5874 cyl 38232 alt 2 hd 60 sec 128>
/users/a537069> echo |format|grep -i c3t500009740838CD5Cd2
       5. c3t500009740838CD5Cd2 <EMC-SYMMETRIX-5874 cyl 21846 alt 2 hd 15 sec 128>
/users/a537069> echo |format|grep -i  c3t500009740838CD5Cd3
       6. c3t500009740838CD5Cd3 <EMC-SYMMETRIX-5874 cyl 43694 alt 2 hd 15 sec 128>
/users/a537069> echo |format|grep -i  c3t500009740838CD5Cd4
       7. c3t500009740838CD5Cd4 <EMC-SYMMETRIX-5874 cyl 54618 alt 2 hd 15 sec 128>
/users/a537069> echo |format|grep -i c3t500009740838CD5Cd5
       8. c3t500009740838CD5Cd5 <EMC-SYMMETRIX-5874 cyl 38232 alt 2 hd 60 sec 128>
/users/a537069>  echo |format|grep -i c3t500009740838CD5Cd6
       9. c3t500009740838CD5Cd6 <EMC-SYMMETRIX-5874 cyl 38232 alt 2 hd 60 sec 128>
/users/a537069> echo |format|grep -i c3t500009740838CD5Cd7
      10. c3t500009740838CD5Cd7 <EMC-SYMMETRIX-5874 cyl 38232 alt 2 hd 60 sec 128>
/users/a537069> echo |format|grep -i c3t500009740838CD5Cd8
      11. c3t500009740838CD5Cd8 <EMC-SYMMETRIX-5874 cyl 38232 alt 2 hd 60 sec 128>
/users/a537069>

main thing to remove luns from server:

/users/a537069> powermt remove dev=c3t500009740838CD5Cd3s0

/users/a537069> cfgadm -o show_FCP_dev -al | grep -i "c3::500009740838cd5c,3"
c3::500009740838cd5c,3         disk         connected    configured   unknown
/users/a537069>


/users/a537069> luxadm -e offline /dev/rdsk/c3t500009740838CD5Cd3s2
/users/a537069> cfgadm -o show_FCP_dev -al | grep -i "c3::500009740838cd5c,3"
c3::500009740838cd5c,3         disk         connected    configured   unusable
/users/a537069>


/users/a537069> powermt remove dev=c3t500009740838CD5Cd4s0
/users/a537069> luxadm -e offline /dev/rdsk/c3t500009740838CD5Cd4s2
/users/a537069> cfgadm -o show_FCP_dev -al | grep -i "c3::500009740838cd5c,4"
c3::500009740838cd5c,4         disk         connected    configured   unusable
/users/a537069>


/users/a537069> powermt remove dev=c3t500009740838CD5Cd5s0
/users/a537069> luxadm -e offline /dev/rdsk/c3t500009740838CD5Cd5s2
/users/a537069> cfgadm -o show_FCP_dev -al | grep -i "c3::500009740838cd5c,5"
c3::500009740838cd5c,5         disk         connected    configured   unusable
/users/a537069>


/users/a537069> powermt remove dev=c3t500009740838CD5Cd6s0
/users/a537069> luxadm -e offline /dev/rdsk/c3t500009740838CD5Cd6s2
/users/a537069> cfgadm -o show_FCP_dev -al | grep -i "c3::500009740838cd5c,6"
c3::500009740838cd5c,6         disk         connected    configured   unusable

/users/a537069> powermt remove dev=c3t500009740838CD5Cd7s0
/users/a537069> luxadm -e offline /dev/rdsk/c3t500009740838CD5Cd7s2
/users/a537069> cfgadm -o show_FCP_dev -al | grep -i "c3::500009740838cd5c,7"
c3::500009740838cd5c,7         disk         connected    configured   unusable


/users/a537069> powermt remove dev=c3t500009740838CD5Cd8s0
/users/a537069>  luxadm -e offline /dev/rdsk/c3t500009740838CD5Cd8s2
/users/a537069> cfgadm -o show_FCP_dev -al | grep -i "c3::500009740838cd5c,8"
c3::500009740838cd5c,8         disk         connected    configured   unusable
/users/a537069>


/users/a537069> cfgadm -o show_FCP_dev -al | grep unusable
c3::500009740838cd5c,2         disk         connected    configured   unusable
c3::500009740838cd5c,3         disk         connected    configured   unusable
c3::500009740838cd5c,4         disk         connected    configured   unusable
c3::500009740838cd5c,5         disk         connected    configured   unusable
c3::500009740838cd5c,6         disk         connected    configured   unusable
c3::500009740838cd5c,7         disk         connected    configured   unusable
c3::500009740838cd5c,8         disk         connected    configured   unusable
c3::500009740838eda5,1         disk         connected    configured   unusable
c3::500009740838eda5,2         disk         connected    configured   unusable
c3::500009740838eda5,3         disk         connected    configured   unusable
c3::500009740838eda5,4         disk         connected    configured   unusable
c3::500009740838eda5,5         disk         connected    configured   unusable
c3::500009740838eda5,6         disk         connected    configured   unusable
c3::500009740838eda5,7         disk         connected    configured   unusable
/users/a537069>


/users/a537069> cfgadm -o unusable_FCP_dev -c unconfigure c3::500009740838eda5


/users/a537069> cfgadm -o show_FCP_dev -al | grep unusable
c3::500009740838cd5c,2         disk         connected    configured   unusable
c3::500009740838cd5c,3         disk         connected    configured   unusable
c3::500009740838cd5c,4         disk         connected    configured   unusable
c3::500009740838cd5c,5         disk         connected    configured   unusable
c3::500009740838cd5c,6         disk         connected    configured   unusable
c3::500009740838cd5c,7         disk         connected    configured   unusable
c3::500009740838cd5c,8         disk         connected    configured   unusable


/users/a537069> cfgadm -o show_FCP_dev -al |grep -i "c3::500009740838eda5"
c3::500009740838eda5,1         disk         connected    unconfigured unknown
c3::500009740838eda5,2         disk         connected    unconfigured unknown
c3::500009740838eda5,3         disk         connected    unconfigured unknown
c3::500009740838eda5,4         disk         connected    unconfigured unknown
c3::500009740838eda5,5         disk         connected    unconfigured unknown
c3::500009740838eda5,6         disk         connected    unconfigured unknown
c3::500009740838eda5,7         disk         connected    unconfigured unknown
c3::500009740838eda5,8         disk         connected    configured   unknown
/users/a537069>


/users/a537069>  cfgadm -o unusable_FCP_dev -c unconfigure c3::500009740838cd5c

/users/a537069> cfgadm -o show_FCP_dev -al | grep unusable

/users/a537069> cfgadm -o show_FCP_dev -al |grep -i "c3::500009740838cd5c"
c3::500009740838cd5c,1         disk         connected    configured   unknown
c3::500009740838cd5c,2         disk         connected    unconfigured unknown
c3::500009740838cd5c,3         disk         connected    unconfigured unknown
c3::500009740838cd5c,4         disk         connected    unconfigured unknown
c3::500009740838cd5c,5         disk         connected    unconfigured unknown
c3::500009740838cd5c,6         disk         connected    unconfigured unknown
c3::500009740838cd5c,7         disk         connected    unconfigured unknown
c3::500009740838cd5c,8         disk         connected    unconfigured unknown
c3::500009740838cd5c,16        disk         connected    configured   unknown
/users/a537069>


devfsadm -Cv


/users/a537069> echo |format |grep -i "c3t500009740838EDA5d1"
/users/a537069> echo |format |grep -i "c3t500009740838EDA5d2"
/users/a537069> echo |format |grep -i "c3t500009740838EDA5d3"
/users/a537069> echo |format |grep -i "c3t500009740838EDA5d4"
/users/a537069> echo |format |grep -i "c3t500009740838EDA5d5"
/users/a537069> echo |format |grep -i "c3t500009740838EDA5d6"
/users/a537069> echo |format |grep -i "c3t500009740838EDA5d7"
/users/a537069> echo |format |grep -i "c3t500009740838CD5Cd2"
/users/a537069> echo |format |grep -i "c3t500009740838CD5Cd2^?3"
/users/a537069> echo |format |grep -i "c3t500009740838CD5Cd3"
/users/a537069> echo |format |grep -i "c3t500009740838CD5Cd4"



======================================================================================================================

Site:https://community.oracle.com/thread/1917729

http://thegeekdiary.com/how-to-identify-the-hba-cardsports-and-wwn-in-solaris/


Node WWN - WWN of HBA itself
Port WWN - WWN on a specific port of the HBA

No comments:

Post a Comment