AIX

AIX

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


#Power
 View Only
  • 1.  AIX 6.1 savevg only backing up 6 files ???

    Posted Thu May 03, 2012 05:39 AM

    Originally posted by: MikeScheerer


    Hi all,

    I am having a slightly brain dead moment with a problem I have seen before but the cause escapes me...

    When running a savevg command on an AIX 6.1 lpar despite the actual volume group have several thousand files within its associated LV's the savevg backs up successfully, but it only backs up 6 files, namely the vgdata files and NOTHING else, what am I missing here...?

    Here is the output from the savevg command I am using:

    1. /usr/bin/savevg -i -e -v -X -f /export/backup/oradbvg.20120502_114145 oradbvg

    Creating information file for volume group oradbvg.

    Creating list of files to back up.

    Backing up 6 files
    Backing up to /export/backup/oradbvg.20120502_114145.
    Cluster 51200 bytes (100 blocks).
    Volume 1 on /export/backup/oradbvg.20120502_114145
    a 12 ./tmp/vgdata/oradbvg/image.info
    a 132 ./tmp/vgdata/vgdata.files5178612
    a 132 ./tmp/vgdata/vgdata.files
    a 3574 ./tmp/vgdata/oradbvg/filesystems
    a 3775 ./tmp/vgdata/oradbvg/oradbvg.data
    a 494 ./tmp/vgdata/oradbvg/backup.data
    The total size is 8119 bytes.
    Backup finished on Wed 2 May 11:41:53 2012; there are 100 blocks on 1 volumes.

    0512-038 savevg: Backup Completed Successfully.

    I have tried this on a number of the volume groups and they all do the same...

    BTW: I have checked the relevant /etc/exclude.VG Name files and there is nothing in there that could cause this!

    I am backing up to an NFS mounted filesystem /export/backup and this savevg command is part of a script which does a mksysb first and that works fine backing up approx 61000 files.

    Somebody please beat me with a stick and tell me what I am missing here?

    Many thanks,

    Mike Scheerer
    #AIX-Forum


  • 2.  Re: AIX 6.1 savevg only backing up 6 files ???

    Posted Thu May 03, 2012 06:01 AM

    Originally posted by: SystemAdmin


    Hi,

    Did you try running the command manually and not running the script?
    #AIX-Forum


  • 3.  Re: AIX 6.1 savevg only backing up 6 files ???

    Posted Thu May 03, 2012 07:13 AM

    Originally posted by: MikeScheerer


    Yes I have tried running the command manually and also with a variety of different flags, but it only ever backs up 6 files except if I use the -m flag then it backs up 11 files...
    #AIX-Forum


  • 4.  Re: AIX 6.1 savevg only backing up 6 files ???

    Posted Sat May 05, 2012 08:55 PM

    Originally posted by: orphy


    Is oradbvg varied on with all its filesystems mounted? Remember that if FSs are not mounted, they won't be backed up. Take a look at /tmp/vgdata/oradbvg/oradbvg.data to see you have everything in there as expected.
    Orphy
    #AIX-Forum


  • 5.  Re: AIX 6.1 savevg only backing up 6 files ???

    Posted Tue May 08, 2012 04:44 AM

    Originally posted by: MikeScheerer


    Problem has been resolved...

    Issue was due to the volume group in question containing a number of Vision Solutions Recover Now protected filesystems.
    #AIX-Forum