AIX

AIX

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


#Operatingsystems
#Servers
#AIX
#Power

 View Only
  • 1.  Recovering Datavg

    Posted Fri December 16, 2011 10:45 AM

    Originally posted by: manu12


    Hi,

    I would like to know to recover datavg, if I am having rootvg and datavg on different SAN Disk,

    for some reason my os was corrupted, and it requires Formatting,

    though my datavg is not having issue.

    Please suggest apart from importvg what needs to done?
    #AIX-Forum


  • 2.  Re: Recovering Datavg

    Posted Fri December 16, 2011 10:47 AM

    Originally posted by: tony.evans


    importvg
    #AIX-Forum


  • 3.  Re: Recovering Datavg

    Posted Fri December 16, 2011 10:48 AM

    Originally posted by: tony.evans


    Crazy copy and paste issues!

    As long as the disk is visible to the OS, you don't need to do anything other than an importvg.
    #AIX-Forum


  • 4.  Re: Recovering Datavg

    Posted Fri December 16, 2011 10:35 PM

    Originally posted by: SystemAdmin


    If it's only OS corruption. The below suggestion will do.

    If you have valid mksysb backup, mksysb restoration will help.

    On OS installation menu, Select Import Volume Group options : Yes.

    After the installation you should be able to see all the mount points mounted, It will be ready for the application start / validation.
    Thanks, Kannan
    #AIX-Forum


  • 5.  Re: Recovering Datavg

    Posted Wed December 28, 2011 02:13 AM

    Originally posted by: HemantRamparia


    If you are freshly installing the OS then you might to recreate the VG on the server.

    Please check if the defination of the VG is available on the hdisk through the following command.

    #lqueryvg -Atp hdisk<x>

    where x is any hdisk belonging to that VG.

    Try with the importvg command

    1. importvg Datavg hdisk<x>

    if it fails try to recreatevg by the following command.

    recreatevg -y datavg hdisk<x>

    If an mksysb is restored the importvg will work out.
    #AIX-Forum


  • 6.  Re: Recovering Datavg

    Posted Wed December 28, 2011 02:15 AM

    Originally posted by: HemantRamparia


    As per my logic if a new OS is installed.The ODM details of the VG will not be available with new OS.so we may require to add the details through recreatevg.

    Please correct me if i am wrong
    #AIX-Forum


  • 7.  Re: Recovering Datavg

    Posted Wed December 28, 2011 09:59 PM

    Originally posted by: Holgervk


    substitute "recreatevg" with "importvg" and your posting is perfectly correct.
    #AIX-Forum