Re: disaster please help

From: Green, Simon (Simon.Green_at_EU.ALTRIA.COM)
Date: 06/22/05

  • Next message: Pugliese, Edward: "Re: disaster please help"
    Date:         Wed, 22 Jun 2005 11:03:30 +0200
    To: aix-l@Princeton.EDU
    
    

    The importvg command will pick up the volume group information from the
    VGDA, which is present on every disk, (and nothing to do with exportvg).
    You only need to do the importvg for one disk, and it doesn't matter which
    one. This will add all of the filesystems back: everything just the way it
    was.

    The name you use doesn't matter: whatever you like. Probably best to use
    the old one.

    Some of the filesystems may be damaged, if the system crashed whilst they
    were open. You can fix them with fsck.

    You *might* be able to do an importvg for hdisk1. You mustn't call it
    "rootvg", and you'll get error messages that it's got a missing volume, and
    duplicate LV/filesystem names. When you try to vary it on you'll have to
    force it, (probably: depends on the original Quorum).

    Also, if any of the filesystems were spread across both hdisk0 and hdisk1
    they'll be damaged. An fsck should get them mountable, but you'll have lost
    data and you'll be lucky to get anything useful out of it. Unless there's
    something of vital importance there, I wouldn't bother.

    -- 
    Simon Green							
    Altria ITSC Europe s.a.r.l.
    AIX-L Archive at https://new-lists.princeton.edu/listserv/aix-l.html
    New to AIX? http://publib-b.boulder.ibm.com/redbooks.nsf/portals/UNIX
    N.B. Unsolicited email from vendors will not be appreciated.
    Please post all follow-ups to the list.
    -----Original Message-----
    From: IBM AIX Discussion List [mailto:aix-l@Princeton.EDU] On Behalf Of
    Gerard M. MAMOU
    Sent: 22 June 2005 06:59
    To: aix-l@Princeton.EDU
    Subject: Re: disaster please help
    Hello
    thank you for your answer.
    question continued:
    if these old disks previously known as
    hdisk2 and hdisk3
    are also know (because I have also two disks for my new rootvg)
    should I type 
    importvg -y uservg -P hdisk2
    importvg -y uservg -P hdisk3
    meaning:
    should the vg_name uservg of these commands be the SAME as the old
    configuration
    how the new system knows that there is two disks in the uservg
    if I type only one time
    importvg -y uservg -P hdisk2
    will the system know about the LV in these two disks? how?
    Thank you
    Gerard Mamou
    .
     On Tue, Jun 21, 2005 at 01:46:06PM -0700, Patrick B. O'Brien wrote:
    > Get the pvid's of these hdisks; 
    > lspv. 
    > 
    > Now do the following;
    > importvg -y vg_name -P pvid
    > 
    > 
    > 
    > 
    > -----Original Message-----
    > From: IBM AIX Discussion List [mailto:aix-l@Princeton.EDU] On Behalf Of
    > Gerard M. MAMOU
    > Sent: Tuesday, June 21, 2005 1:26 PM
    > To: aix-l@Princeton.EDU
    > Subject: disaster please help
    > 
    > Hello
    > I have a rs6000 43p with rootvg(hdisk0 and hdisk1)
    > and uservg(hdisk2 and hdisk3)
    > 
    > The root vg hdisk0 does not boot.
    > 
    > I tried to reinstall a mksysb on a new disk.
    > It worked fine.
    > 
    > How do I get back my datas of hdisk2 and hdisk3
    > I did not backup them, I did not exportvg them.
    > 
    > What can I do with the hdisk1? Could I get the datas on it?
    > 
    > Could I use linux with jfs support to mount the hdisk2 and hdisk3? How?
    > Please help
    > Gerard Mamou
    

  • Next message: Pugliese, Edward: "Re: disaster please help"

    Relevant Pages

    • Re: disaster please help
      ... You *might* be able to do an importvg for hdisk1. ... are also know (because I have also two disks for my new rootvg) ... importvg -y uservg -P hdisk2 ... importvg -y uservg -P hdisk3 ...
      (AIX-L)
    • Re: exportvg and importvg ??
      ... Will the importvg still work if the VG - appvg reside on a SSA RAID ... >external disks, reimport and all will be fine. ...
      (comp.unix.aix)
    • Re: disaster please help
      ... You only have to one importvg with one of the disks of the non-rootvg ... should the vg_name uservg of these commands be the SAME as the old ... > Gerard Mamou ...
      (AIX-L)
    • Re: disaster please help
      ... Basically, the VG info gets written to the disks in the VG, I believe ... and hdisk3) ... You only have to one importvg with one of the disks of the non-rootvg ... > Gerard Mamou ...
      (AIX-L)
    • Re: 7025-F80 PV Mystery
      ... My suggestion is to drop the WSM output, and figure out what is your ... disks would seem to me to be a more important exercise. ... 0516-604 importvg: ... how to read the Usage printouts. ...
      (comp.unix.aix)