Re: Accidentially Removed a Volume Group

From: Bengt Mutén (muten_at_REEBIE.COM)
Date: 04/27/04

  • Next message: Bengt Mutén: "Re: Accidentially Removed a Volume Group"
    Date:         Tue, 27 Apr 2004 12:45:40 -0400
    To: aix-l@Princeton.EDU
    
    

    Bob,

    I used smit to remove. It runs this script:

    xlist () { VGID=`getlvodm -v $1`; if test $? -ne 0
      then
      exit 1
    fi
    Q1=`getlvodm -w $VGID | cut -f2 -d' '`; echo $Q1; }; xlist 'vg00'

    Thanks in advnace for any suggestions.

    Bengt

    Bob Booth - CITES wrote:

    >On Tue, Apr 27, 2004 at 12:15:43PM -0400, Bengt Mut?n wrote:
    >
    >
    >>Title says what I did. Does anybody have a suggestion as how to recover
    >>it. I am running AIX 4.3
    >>
    >>
    >
    >How did you remove it.. what commands did you use?
    >
    >bob
    >
    >
    >
    >


  • Next message: Bengt Mutén: "Re: Accidentially Removed a Volume Group"

    Relevant Pages

    • Re: Sysback to a DVD question
      ... Project Leader, Komatsu America ... We go thru smit, make the appropiate selections, and the backup ... tried making changes to the smit screen, doing a F6, in hopes of finding ... indicated, the script works fine with the -2, but being anal, I would ...
      (AIX-L)
    • Sysback to a DVD question
      ... We go thru smit, make the appropiate selections, and the ... backup work just fine. ... We then create a script to run thru cron by ... I've tried making changes to the smit ...
      (AIX-L)
    • Re: Sysback to a DVD question
      ... Since you're using smit in this case, sbsmitout is running the sysback ... > smit and pulling out the command line. ... > indicated, the script works fine with the -2, but being anal, I would really ...
      (AIX-L)
    • Adding DRLs to volumes aix5.2
      ... Does anyone have an easier way adding logs to volumes(apart from using SMIT ... Currently trying to script it but i have about 200 volumes to do and the ... the the volume group disks and volume name its very tiresome. ...
      (comp.unix.aix)
    • need help in shell script
      ... In one of my script, I would like to check the RETCD like this, ... I want it do something in my script. ... I have written a small script for that, but it is telling me syntax error. ... Thanks in advnace ...
      (comp.unix.shell)