Forum Discussion

maxpaynebupt's avatar
13 years ago
Solved

lun over 2TB got error status from vxdisk list

Hi,

 

I have tried to bring up this lun for 2 days, and got nearly no progress, sometimes the lun can be online, but if I try to use vxdisksetup to setup it, it would become error again, I am really despairing, I hope someone can help me to solve this, thank u.

 

HBWHCG01:/# vxdisk list
DEVICE       TYPE            DISK         GROUP        STATUS
c0t0d0s2     auto:none       -            -            online invalid
emcpower0s2  auto            -            -            error
emcpower1s2  auto:none       -            -            online invalid
emcpower2s2  auto:none       -            -            online invalid
emcpower3s2  auto:none       -            -            online invalid
emcpower4s2  auto:none       -            -            online invalid
emcpower5s2  auto:none       -            -            online invalid
emcpower6s2  auto:none       -            -            online invalid

HBWHCG01:/# format
Searching for disks...done


AVAILABLE DISK SELECTIONS:
       0. c0t0d0 <DEFAULT cyl 36348 alt 2 hd 255 sec 126>
          /pci@0,0/pci8086,3408@1/pci1000,9262@0/sd@0,0
       1. c1t0d0 <DGC-RAID 10-0223-2.32TB>
          /pci@0,0/pci8086,340c@5/pci111d,806c@0/pci111d,806c@2/pci1077,172@0/fp@0,0/disk@w500601613ba07373,0
       2. c1t0d1 <DEFAULT cyl 3913 alt 2 hd 255 sec 63>
          /pci@0,0/pci8086,340c@5/pci111d,806c@0/pci111d,806c@2/pci1077,172@0/fp@0,0/disk@w500601613ba07373,1
       3. c1t0d2 <DEFAULT cyl 6524 alt 2 hd 255 sec 63>
          /pci@0,0/pci8086,340c@5/pci111d,806c@0/pci111d,806c@2/pci1077,172@0/fp@0,0/disk@w500601613ba07373,2
       4. c1t0d3 <DEFAULT cyl 1020 alt 2 hd 64 sec 32>
          /pci@0,0/pci8086,340c@5/pci111d,806c@0/pci111d,806c@2/pci1077,172@0/fp@0,0/disk@w500601613ba07373,3
       5. c1t0d4 <DEFAULT cyl 1020 alt 2 hd 64 sec 32>
          /pci@0,0/pci8086,340c@5/pci111d,806c@0/pci111d,806c@2/pci1077,172@0/fp@0,0/disk@w500601613ba07373,4
       6. c1t0d5 <DEFAULT cyl 1020 alt 2 hd 64 sec 32>
          /pci@0,0/pci8086,340c@5/pci111d,806c@0/pci111d,806c@2/pci1077,172@0/fp@0,0/disk@w500601613ba07373,5
       7. c1t0d6 <DEFAULT cyl 1020 alt 2 hd 64 sec 32>
          /pci@0,0/pci8086,340c@5/pci111d,806c@0/pci111d,806c@2/pci1077,172@0/fp@0,0/disk@w500601613ba07373,6
       8. c2t0d0 <DGC-RAID 10-0223-2.32TB>
          /pci@0,0/pci8086,340c@5/pci111d,806c@0/pci111d,806c@2/pci1077,172@0,1/fp@0,0/disk@w500601693ba07373,0
       9. c2t0d1 <DEFAULT cyl 3913 alt 2 hd 255 sec 63>
          /pci@0,0/pci8086,340c@5/pci111d,806c@0/pci111d,806c@2/pci1077,172@0,1/fp@0,0/disk@w500601693ba07373,1
      10. c2t0d2 <DEFAULT cyl 6524 alt 2 hd 255 sec 63>
          /pci@0,0/pci8086,340c@5/pci111d,806c@0/pci111d,806c@2/pci1077,172@0,1/fp@0,0/disk@w500601693ba07373,2
      11. c2t0d3 <DEFAULT cyl 1020 alt 2 hd 64 sec 32>
          /pci@0,0/pci8086,340c@5/pci111d,806c@0/pci111d,806c@2/pci1077,172@0,1/fp@0,0/disk@w500601693ba07373,3
      12. c2t0d4 <DEFAULT cyl 1020 alt 2 hd 64 sec 32>
          /pci@0,0/pci8086,340c@5/pci111d,806c@0/pci111d,806c@2/pci1077,172@0,1/fp@0,0/disk@w500601693ba07373,4
      13. c2t0d5 <DEFAULT cyl 1020 alt 2 hd 64 sec 32>
          /pci@0,0/pci8086,340c@5/pci111d,806c@0/pci111d,806c@2/pci1077,172@0,1/fp@0,0/disk@w500601693ba07373,5
      14. c2t0d6 <DEFAULT cyl 1020 alt 2 hd 64 sec 32>
          /pci@0,0/pci8086,340c@5/pci111d,806c@0/pci111d,806c@2/pci1077,172@0,1/fp@0,0/disk@w500601693ba07373,6
      15. emcpower0a <DGC-RAID 10-0223-2.32TB>
          /pseudo/emcp@0
      16. emcpower1a <DEFAULT cyl 3913 alt 2 hd 255 sec 63>
          /pseudo/emcp@1
      17. emcpower2a <DEFAULT cyl 6524 alt 2 hd 255 sec 63>
          /pseudo/emcp@2
      18. emcpower3a <DEFAULT cyl 1020 alt 2 hd 64 sec 32>
          /pseudo/emcp@3
      19. emcpower4a <DEFAULT cyl 1020 alt 2 hd 64 sec 32>
          /pseudo/emcp@4
      20. emcpower5a <DEFAULT cyl 1020 alt 2 hd 64 sec 32>
          /pseudo/emcp@5
      21. emcpower6a <DEFAULT cyl 1020 alt 2 hd 64 sec 32>
          /pseudo/emcp@6
Specify disk (enter its number): 15
selecting emcpower0a
[disk formatted]


FORMAT MENU:
        disk       - select a disk
        type       - select (define) a disk type
        partition  - select (define) a partition table
        current    - describe the current disk
        format     - format and analyze the disk
        fdisk      - run the fdisk program
        repair     - repair a defective sector
        label      - write label to the disk
        analyze    - surface analysis
        defect     - defect list management
        backup     - search for backup labels
        verify     - read and display labels
        inquiry    - show vendor, product and revision
        volname    - set 8-character volume name
        !<cmd>     - execute <cmd>, then return
        quit
format> p


PARTITION MENU:
        0      - change `0' partition
        1      - change `1' partition
        2      - change `2' partition
        3      - change `3' partition
        4      - change `4' partition
        5      - change `5' partition
        6      - change `6' partition
        expand - expand label to use whole disk
        select - select a predefined table
        modify - modify a predefined partition table
        name   - name the current table
        print  - display the current table
        label  - write partition map and label to the disk
        !<cmd> - execute <cmd>, then return
        quit
partition> p
Current partition table (original):
Total disk sectors available: 4991205341 + 16384 (reserved sectors)

Part      Tag    Flag     First Sector          Size          Last Sector
  0        usr    wm                34         2.32TB           4991205341    
  1 unassigned    wm                 0            0                0    
  2 unassigned    wm                 0            0                0    
  3 unassigned    wm                 0            0                0    
  4 unassigned    wm                 0            0                0    
  5 unassigned    wm                 0            0                0    
  6 unassigned    wm                 0            0                0    
  8   reserved    wm        4991205342         8.00MB           4991221725    
 

  • maxpaynebupt:

    The bigger issue appears to be that all paths to the disk are showing dead in powermt display - so the OS & powerpath cannot see this device properly, so VxVM can't see it until that is fixed.

    HBWHCG01:/# /etc/powermt display dev=emcpower0a
    Pseudo name=emcpower0a
    CLARiiON ID=FCNMM124800004 [MMSUN]
    Logical device ID=6006016068EC3200C4B6FD8ADB9BE211
    state=dead; policy=CLAROpt; priority=0; queued-IOs=0;
    Owner: default=Unknown, current=Unknown Array failover mode: 1
    ==============================================================================
    --------------- Host ---------------   - Stor -   -- I/O Path --  -- Stats ---
    ###  HW Path               I/O Paths    Interf.   Mode    State   Q-IOs Errors
    ==============================================================================
    3072 pci@0,0/pci8086,340c@5/pci111d,806c@0/pci111d,806c@2/pci1077,172@0/fp@0,0 c1t0d0s0  SP A1     active  dead        0      0
    3073 pci@0,0/pci8086,340c@5/pci111d,806c@0/pci111d,806c@2/pci1077,172@0,1/fp@0,0 c2t0d0s0  SP B1     active  dead        0      0

    Is emcpower0 definitely the correct disk? There are no devices in the latest format output for emcpower0 or c[12]t0d0 - so the OS isn't seeing the disk either.

    Have you tried cleaning the OS device tree?

    # devfsadm -Csv   #### -s doesn't perform the clean, but you can see if will do anything

    If you're sure this is the correct disk:

    # devfsadm -Cv ### clean up

    # /etc/powermt check  ### if devices are dead it will prompt you to remove them

    Then check the array / server to ensure the disks show up correctly in format, and then try to rescan OS -> powerpath -> vxdisk again

     

    EDIT: Additional check to see if using persistent naming:

    # vxddladm get namingscheme

    Note this still won't fix/affect anything until the OS & powerpath see the disk properly, so you still need to fix that first before attempting to rescan VxVM

12 Replies