AIX

AIX

Connect with fellow AIX users and experts to gain knowledge, share insights, and solve problems.


#Power
#Power
 View Only
  • 1.  Unable to extendvg

    Posted Sat March 29, 2014 02:53 PM

    Originally posted by: shanpalani


    Hi,

     I got below error.whereas hdisk1 was alt_ disk and I exported the vg using exportvg altinst_rootvg and also I did chpv -c hdisk1 & rmdev -Rdl hdisk1. give the solution

    <root>/# extendvg -f rootvg hdisk1
    0516-306 extendvg: Unable to find volume group rootvg in the Device
            Configuration Database.
    extendvg: LVM system call returned with
            error code (-271).
    0516-792 extendvg: Unable to extend volume group.

     

     


    #AIX-Forum


  • 2.  Re: Unable to extendvg

    Posted Sat March 29, 2014 03:10 PM

    Originally posted by: Wouter Liefting


    If you did an rmdev -dl hdisk1 then for all intents and purposes, hdisk1 doesn't exist to AIX anymore. So trying to add this to a VG (rootvg or another one) would fail. I would not expect this specific error message, but I would expect it to fail.

    Have you tried running cfgmgr (maybe twice) so that hdisk1 is detected again, and then running extendvg?


    #AIX-Forum


  • 3.  Re: Unable to extendvg

    Posted Sat March 29, 2014 10:06 PM

    Originally posted by: shanpalani


    same error coming. unable to extend rootvg or another vg (testvg). Any other option

    <root>/# extendvg rootvg hdisk1
    0516-306 extendvg: Unable to find volume group rootvg in the Device
            Configuration Database.
    extendvg: LVM system call returned with
            error code (-271).
    0516-792 extendvg: Unable to extend volume group.
    <root>/# lsvg
    rootvg
    testvg
    <root>/# extendvg testvg hdisk1
    0516-306 extendvg: Unable to find volume group testvg in the Device
            Configuration Database.
    extendvg: LVM system call returned with
            error code (-271).
    0516-792 extendvg: Unable to extend volume group.


    #AIX-Forum


  • 4.  Re: Unable to extendvg

    Posted Sun March 30, 2014 09:05 AM

    Originally posted by: Wouter Liefting


    Sounds your ODM is messed up pretty well.

    During a reboot, a syncvg of the rootvg is done. So strange as it may sound, but have you tried rebooting? That may sort out the problems for you.


    #AIX-Forum


  • 5.  Re: Unable to extendvg

    Posted Sun March 30, 2014 01:12 PM

    Originally posted by: shanpalani


    we got the solution. run #>unset LDR_CNTRL  (os 6.1 TL08) after this command we can able to extendvg. Thanks...


    #AIX-Forum