Topic
7 replies Latest Post - ‏2013-04-01T16:22:37Z by akaidnek
akaidnek
akaidnek
7 Posts
ACCEPTED ANSWER

Pinned topic VIOS lqueryvg -Atp hdisk# retourn "0" on LV Count field after SAN migration

‏2013-03-30T11:55:15Z |
Hello,

After migrate VIOS disks fron SAN to another,
I had a problem on a on LPAR specific VG (raw device content for Informix).

  1. sh –xv Importvg –y osshomdbvg hdisk10

  1. synchronize the lvcb, the database and the volume group information in LVM
  2. Pass the -K flag (don't lock VG) to synclvodm.
  3. The VG is already locked from putlvodm above
synclvodm -K $RFLAG $LFLAG $L_DEVICE $FFLAG $VGNAME
+ synclvodm -K osshomdbvg
synclvodm: No logical volumes in volume group osshomdbvg.


I had view that on the VIOS :
lqueryvg -Atp hdisk# retourn "0" on LV Count field !!?

Did i lost my LV ??? please help me.

Thanks,
Updated on 2013-04-01T16:22:37Z at 2013-04-01T16:22:37Z by akaidnek
  • akaidnek
    akaidnek
    7 Posts
    ACCEPTED ANSWER

    Re: VIOS lqueryvg -Atp hdisk# retourn "0" on LV Count field after SAN migration

    ‏2013-03-30T11:56:56Z  in response to akaidnek
    Please did you have an issue ?

    Thanks
  • sajjadhashimi
    sajjadhashimi
    35 Posts
    ACCEPTED ANSWER

    Re: VIOS lqueryvg -Atp hdisk# retourn "0" on LV Count field after SAN migration

    ‏2013-04-01T13:36:45Z  in response to akaidnek
    Some questions;
    How did you migrate VIOS disks from SAN to another?
    Did you make any changes to LPAR specific storage too?

    what does lspv, lsvg, lsvg -o (and if osshomdbvg variedon, lsvg -l vgname, lsvg -p vgname) output look like on LPAR?
    • akaidnek
      akaidnek
      7 Posts
      ACCEPTED ANSWER

      Re: VIOS lqueryvg -Atp hdisk# retourn "0" on LV Count field after SAN migration

      ‏2013-04-01T14:44:28Z  in response to sajjadhashimi
      Hello,
      Thank you for your help.

      Here my responses :

      How did you migrate VIOS disks from SAN to another?
      We migrate from EMC SAN to Hitachi VSP Solution. We had installed HDLM on the two VIOS and we had verified that to LPAR are OK and importvg here are OK also.

      Did you make any changes to LPAR specific storage too?
      No change to LPAR. the rootvg are activated normally.
      what does lspv, lsvg, lsvg -o (and if osshomdbvg variedon, lsvg -l vgname, lsvg -p vgname) output look like on LPAR?

      #importvg -y osshomdbvg hdisk12
      Synclvodm: No logical volumes in volume group osshomdbvg
      osshomdbvg

      lsvg -o
      ..
      osshomdbvg
      ..

      lspv
      root@ptsm0ev:/ # lspv
      hdisk0 0003d129cb416737 rootvg active
      hdisk5 0003d129342dd4a7 tsmlog_vg active
      hdisk7 00c0bb35514207bc osshomdbvg active
      hdisk8 00c0bb355142fd95 osshomdbvg active
      hdisk9 00c0bb3551437ed2 osshomdbvg active
      hdisk10 00c0bb355144ea82 osshomdbvg active
      hdisk11 00c0bb3551456b89 osshomdbvg active
      hdisk12 00c0bb3551483591 osshomdbvg active
      hdisk13 00c0bb355148b674 osshomdbvg active
      hdisk14 0003d129b82f5de9 tstvg active
      1. lsvg -l osshomdbvg
      tstvg:
      LV NAME TYPE LPs PPs PVs LV STATE MOUNT POINT
      1. lsvg -l tstvg
      tstvg:
      LV NAME TYPE LPs PPs PVs LV STATE MOUNT POINT
      lvdbtstdbs24_2 jfs 1 1 1 closed/syncd N/A
      lvdbtstdbs24_3 raw 1 1 1 closed/syncd N/A
      I think that i lost my data ???

      Thank you :)
      • sajjadhashimi
        sajjadhashimi
        35 Posts
        ACCEPTED ANSWER

        Re: VIOS lqueryvg -Atp hdisk# retourn "0" on LV Count field after SAN migration

        ‏2013-04-01T15:28:27Z  in response to akaidnek
        so you only moved VIOS storage from EMC SAN to Hitachi SAN ??
        your lpar (ptsm0ev i believe is the name) still has EMC SAN provisioned to it from VIOS?

        or could it be that you now have new Hitachi SAN on your lpars too. If so, did you or your SAN Admin first rezone/mirror/migrate the data somehow? Did you make changes to your vhosts mapping. There is a LOT to check, i can't even possibly write every single thing, but to start with check your vhosts mapping (on VIOS) and go from there (lsmap -all |more), lsdev -Cc disk (what do you see EMC, Hitachi or both), what disks are mapped to your lpar (EMC or Hitachi)
        • akaidnek
          akaidnek
          7 Posts
          ACCEPTED ANSWER

          Re: VIOS lqueryvg -Atp hdisk# retourn "0" on LV Count field after SAN migration

          ‏2013-04-01T15:37:22Z  in response to sajjadhashimi
          All these check are OK (SAN, Zoning, vhosts mapping with same hdisk# pvid before and after Hitachi VSP solution).

          Have you an explication for :

          1. Synclvodm: No logical volumes in volume group osshomdbvg
          did i lost my data if my disks are good ?

          2. Is there a specific action if the content of the volume group is LV raw type for Informix ?

          I hope it was not of malice from we ?

          Thank you,
          • sajjadhashimi
            sajjadhashimi
            35 Posts
            ACCEPTED ANSWER

            Re: VIOS lqueryvg -Atp hdisk# retourn "0" on LV Count field after SAN migration

            ‏2013-04-01T15:59:22Z  in response to akaidnek
            There shouldnt be any specific action in regards of type of lv. I still dont know what type of disks do you have (both Before and After your changes), how was data migrated to new disk, if that is the case. you shouldnt be losing data just like that. Do you have lunid info (before and after, disk sizes etc), I won't soley rely on "pvid", you gotta look further. Don't know what & how synclvodm would help any in solving this case.
            • akaidnek
              akaidnek
              7 Posts
              ACCEPTED ANSWER

              Re: VIOS lqueryvg -Atp hdisk# retourn "0" on LV Count field after SAN migration

              ‏2013-04-01T16:22:37Z  in response to sajjadhashimi
              Thank you very much for your valuable information.

              I will ask the SAN ADMIN to feedback and check. I will keep you posted.

              Thanks,