Forum Discussion

aeon's avatar
aeon
Level 3
16 years ago

Error with NODEVICE / DM Name

Hi everyone,

When i do a vxprint -ht -g <DGNAME>

I´m seeing this in my vg:

- - - - NODEVICE

the same goes for vxdisk list :

- - <DGNAME> failed was:c5t0d38s2

What happened to get there? Well i did some **bleep** job while using the vxdiskadm and i did some backslashes with the disk name and the script understood that as a blank and the disk was created with that name. Well for it being failed right now is because i did recreate the partition table, re-initialize the disk again.... hoping it would fix that failed and get that out... :(

Does anybody knows how am i gonna get rid of it?

Thanks in replies.

Regards.
Flavio.
  • Hi again,

     

    well, well, well!! I did it! I got it :)

     

    i do save a log for all my work done, so i got the log and i saw that in that registry the special character was coded, i copied that and all the rest of the job..worked like a charm.

     

    It should be something like this:

     

    Adding disk device c5t0d38 to disk group appdg with disk
      name appdg235^?^?^?^?^?^?^?. 

     

    but, on the log instead of ^? i was able to see a non-visible character coded with a box on the place of it, tried with that, and worked perfectly.

     

    bye bye!!!

7 Replies

  • Hi,

    you can use vxreattach command. If it doesn't working you need to check your hardware(disk or disk array)

    good luck.

  • Hello Aeon,

     

    Thats a good suggestion by rac.

     

    try a "vxreattach -c <cxtxdx>", if that gives you the diskgroup name that means that private region of the disk is still available.. If that comes back with error (which I suppose should if you have reinitialized the disk) then I am afraid you might have lost that disk....

     

    You can think of restoring the vxvm config from configuration back up by running vxconfigrestore.....

     

    regarding the failed disk... use vxdiskadm option 5 - replace removed or a failed disk..

     

    hope this helps..

     

    Gaurav

  • Hi all,

     

     

    well, i did tried that before, but command ended without any results.  It did not work.The DM name is blank and i cannot complete any command to edit or remove that item, as far as I know. Any ideas? See if you can get a better idea now:

     

    # vxdisk list
    DEVICE       TYPE            DISK         GROUP        STATUS
    c0t0d0s2     auto:none       -            -            online invalid
    c0t1d0s2     auto:sliced     -            -            error
    c1t0d0s2     auto:none       -            -            online invalid
    c1t1d0s2     auto:sliced     -            -            online
    c5t0d0s2     auto:cdsdisk    appdg0202  appdg02 online nohotuse
    c5t0d1s2     auto:cdsdisk    appdg0203  appdg02 online nohotuse
    c5t0d2s2     auto:cdsdisk    appdg02  appdg online nohotuse
    c5t0d3s2     auto:cdsdisk    appdg04  appdg online nohotuse
    c5t0d4s2     auto:cdsdisk    appdg05  appdg online nohotuse
    c5t0d5s2     auto:cdsdisk    appdg06  appdg online nohotuse
    c5t0d6s2     auto:cdsdisk    appdg07  appdg online nohotuse
    c5t0d7s2     auto:cdsdisk    appdg08  appdg online nohotuse
    c5t0d8s2     auto:cdsdisk    appdg09  appdg online nohotuse
    c5t0d9s2     auto:cdsdisk    appdg01  appdg online nohotuse
    c5t0d10s2    auto:cdsdisk    appdg0210  appdg02 online nohotuse
    c5t0d11s2    auto:cdsdisk    appdg17  appdg online nohotuse
    c5t0d12s2    auto:cdsdisk    appdg18  appdg online nohotuse
    c5t0d13s2    auto:cdsdisk    appdg19  appdg online nohotuse
    c5t0d14s2    auto:cdsdisk    appdg11  appdg online nohotuse
    c5t0d15s2    auto:cdsdisk    appdg16  appdg online nohotuse
    c5t0d16s2    auto:cdsdisk    appdg20  appdg online nohotuse
    c5t0d17s2    auto:cdsdisk    appdg12  appdg online nohotuse
    c5t0d18s2    auto:cdsdisk    appdg21  appdg online nohotuse
    c5t0d19s2    auto:cdsdisk    appdg13  appdg online nohotuse
    c5t0d20s2    auto:cdsdisk    appdg03  appdg online nohotuse
    c5t0d21s2    auto:cdsdisk    appdg0204  appdg02 online nohotuse
    c5t0d22s2    auto:cdsdisk    appdg0201  appdg02 online nohotuse
    c5t0d23s2    auto:cdsdisk    appdg0205  appdg02 online nohotuse
    c5t0d24s2    auto:cdsdisk    appdg0206  appdg02 online nohotuse
    c5t0d25s2    auto:cdsdisk    appdg0207  appdg02 online nohotuse
    c5t0d26s2    auto:cdsdisk    appdg0208  appdg02 online nohotuse
    c5t0d27s2    auto:cdsdisk    appdg0209  appdg02 online nohotuse
    c5t0d28s2    auto:cdsdisk    appdg22  appdg online nohotuse
    c5t0d29s2    auto:cdsdisk    appdg23  appdg online nohotuse
    c5t0d30s2    auto:cdsdisk    appdg24  appdg online nohotuse
    c5t0d31s2    auto:cdsdisk    appdg25  appdg online nohotuse
    c5t0d32s2    auto:cdsdisk    appdg0211  appdg02 online nohotuse
    c5t0d33s2    auto:cdsdisk    appdg26  appdg online nohotuse
    c5t0d34s2    auto:cdsdisk    appdg27  appdg online nohotuse
    c5t0d35s2    auto:cdsdisk    appdg15  appdg online nohotuse
    c5t0d36s2    auto:cdsdisk    appdg28  appdg online nohotuse
    c5t0d37s2    auto:cdsdisk    appdg29  appdg online nohotuse
    c5t0d38s2    auto:cdsdisk    appdg10  appdg online
    -            -       appdg failed was:c5t0d38s2

     

     

    # vxprint -ht -g appdg|more
    DG NAME         NCONFIG      NLOG     MINORS   GROUP-ID
    ST NAME         STATE        DM_CNT   SPARE_CNT         APPVOL_CNT
    DM NAME         DEVICE       TYPE     PRIVLEN  PUBLEN   STATE
    RV NAME         RLINK_CNT    KSTATE   STATE    PRIMARY  DATAVOLS  SRL
    RL NAME         RVG          KSTATE   STATE    REM_HOST REM_DG    REM_RLNK
    CO NAME         CACHEVOL     KSTATE   STATE
    VT NAME         NVOLUME      KSTATE   STATE
    V  NAME         RVG/VSET/CO  KSTATE   STATE    LENGTH   READPOL   PREFPLEX UTYPE
    PL NAME         VOLUME       KSTATE   STATE    LENGTH   LAYOUT    NCOL/WID MODE
    SD NAME         PLEX         DISK     DISKOFFS LENGTH   [COL/]OFF DEVICE   MODE
    SV NAME         PLEX         VOLNAME  NVOLLAYR LENGTH   [COL/]OFF AM/NM    MODE
    SC NAME         PLEX         CACHE    DISKOFFS LENGTH   [COL/]OFF DEVICE   MODE
    DC NAME         PARENTVOL    LOGVOL
    SP NAME         SNAPVOL      DCO

    dg appdg default  default  58000    1229483983.17501.btdf0118

    dm appdg01 c5t0d9s2 auto   2048     97188096 NOHOTUSE
    dm appdg02 c5t0d2s2 auto   2048     94262016 NOHOTUSE
    dm appdg03 c5t0d20s2 auto  2048     94262016 NOHOTUSE
    dm appdg04 c5t0d3s2 auto   2048     24281856 NOHOTUSE
    dm appdg05 c5t0d4s2 auto   2048     94262016 NOHOTUSE
    dm appdg06 c5t0d5s2 auto   2048     72880896 NOHOTUSE
    dm appdg07 c5t0d6s2 auto   2048     24281856 NOHOTUSE
    dm appdg08 c5t0d7s2 auto   2048     94262016 NOHOTUSE
    dm appdg09 c5t0d8s2 auto   2048     97188096 NOHOTUSE
    dm appdg10 c5t0d38s2 auto  2048     94262016 -
    dm appdg11 c5t0d14s2 auto  2048     97188096 NOHOTUSE
    dm appdg12 c5t0d17s2 auto  2048     23552256 NOHOTUSE
    dm appdg13 c5t0d19s2 auto  2048     94262016 NOHOTUSE
    dm appdg15 c5t0d35s2 auto  2048     94262016 NOHOTUSE
    dm appdg16 c5t0d15s2 auto  2048     24281856 NOHOTUSE
    dm appdg17 c5t0d11s2 auto  2048     94262016 NOHOTUSE
    dm appdg18 c5t0d12s2 auto  2048     94262016 NOHOTUSE
    dm appdg19 c5t0d13s2 auto  2048     97188096 NOHOTUSE
    dm appdg20 c5t0d16s2 auto  2048     94262016 NOHOTUSE
    dm appdg21 c5t0d18s2 auto  2048     94262016 NOHOTUSE
    dm appdg22 c5t0d28s2 auto  2048     24281856 NOHOTUSE
    dm appdg23 c5t0d29s2 auto  2048     24281856 NOHOTUSE
    dm appdg24 c5t0d30s2 auto  2048     72880896 NOHOTUSE
    dm appdg25 c5t0d31s2 auto  2048     24281856 NOHOTUSE
    dm appdg26 c5t0d33s2 auto  2048     72880896 NOHOTUSE
    dm appdg27 c5t0d34s2 auto  2048     94262016 NOHOTUSE
    dm appdg28 c5t0d36s2 auto  2048     94262016 NOHOTUSE
    dm appdg29 c5t0d37s2 auto  2048     72880896 NOHOTUSE
     - -    -        -        NODEVICE
     

  • Replace a failed or removed disk
    Menu: VolumeManager/Disk/ReplaceDisk
      Use this menu operation to specify a replacement disk for a disk
      that you removed with the "Remove a disk for replacement" menu
      operation, or that failed during use.  You will be prompted for
      a disk name to replace and a disk device to use as a replacement.
      You can choose an uninitialized disk, in which case the disk will
      be initialized, or you can choose a disk that you have already
      initialized using the Add or initialize a disk menu operation.

    Select a removed or failed disk [<disk>,list,q,?] list

    Disk group: bilho1dbdg01_HDS

    DM NAME         DEVICE       TYPE     PRIVLEN  PUBLEN   STATE

     - -    -        -        NODEVICE

  • by the time i got that error, i really needed that disk so i did not care too much about veritas and i tried to delete the private region of it and re-initialize it, i got it done, but the old register for it is still there... :(
  • Hi again,

     

    well, well, well!! I did it! I got it :)

     

    i do save a log for all my work done, so i got the log and i saw that in that registry the special character was coded, i copied that and all the rest of the job..worked like a charm.

     

    It should be something like this:

     

    Adding disk device c5t0d38 to disk group appdg with disk
      name appdg235^?^?^?^?^?^?^?. 

     

    but, on the log instead of ^? i was able to see a non-visible character coded with a box on the place of it, tried with that, and worked perfectly.

     

    bye bye!!!