installing AIX

Posted on 1998-07-30
Last Modified: 2013-12-06
Question by:bryanjones
  • 2

Expert Comment

ID: 2009177
There are a few ways to accomplish this. As longe as you are using the same level of OS, you can just use the 'savevg' command, which will backup anything in the Volumegroup specified.  It will not make a bootable image of the rootvg.  'smit mksysb'  will make a bootable tape of the rootvg, but will not backup any other vg's.  


You should be able to use the 'rcp' command to copy the files from one system to the other over the network.

Author Comment

ID: 2009178
I am looking to find out if I have to create the volume groups or am I just able to dump all the information and the dump from tape or what ever I use will create the volume groups.  It seems to me that when you do a rcp it will place all the information into the root partition and create the file directories in the rootvg.  We have multiple, and I mean multiple mounted partitions.  I need to recreate the test machine the same way that the production machine is.  

Here is an output from the production machine.  

Filesystem  512-blocks      Free %Used    Iused %Iused Mounted on
/dev/hd4          106496     35960   67%     1938  14% /
/dev/hd2         1040384    189600   82%    17924  14% /usr
/dev/hd9var       204800    169032   18%      233  1% /var
/dev/hd3          204800    195720    5%       51  1% /tmp
/dev/hd1           90112     86832    4%       34  1% /home
/dev/lv23         188416    157736   17%  1234     6% /PROD/NYLPR
/dev/lv01         180224    174424    4%       26  1% /REPORTS
/dev/lv07        1024000    412120   60%       95  1% /MIGRATE
/dev/lvssa901    4194304   3287704   22%     3856  1% /SSA01
/dev/lvssa801    4194304   2915576   31%    70     1% /OUTFRONT_B
/dev/lvssa802    1261568    533960   58%    56     1% /OUTFRONT_L
/dev/lvssa803    4194304   3466312   18%    66     1% /OUTFRONT_C
/dev/lvssa251    4194304   2549624   40%    46     1% /OUTFRONT_D
/dev/lvssa252    4194304   3121472   26%       35  1% /OUTFRONT_E
/dev/lvssa500     286720     58640   80%    25634   70% /OBJ
/dev/lvssa503     172032     12184   93%     5890   27% /ACCESS
/dev/lvssa502    3072000   1373784   56%     4212   2%/PRODDATA
/dev/lvssa504     204800    149096   28%     2076   8%/home.base
/dev/lvssa256     311296    244488   22%      590   2% /ARCHIVE
/dev/lvssa501     516096    168984   68%     2003   4% /UTILA
/dev/lvksa02      606208    565568    7%      150   1% /ksa
/dev/lvmjnwork01  1638400   1520376   8%      194   1% /mjnwork

their is more but - I need to know "Do I need to create the volume groups and logical volume groups on the test machine", and if so what is the correct and not quick ( but correct ) way to do this so that the test machine is word of word the same as the production.  

Where do I find the correct information that I need from the production server.  The correct vg's and lvg's and anything that I might need to know for the test machine to be "WORD FOR WORD" like the production server.

Accepted Solution

jpainter earned 100 total points
ID: 2009179
If you use the savevg methiod,  you will have to create the vg, but it will create the lv's.
Usage:  savevg [-i] [-m] [-e] [-b blocks] [-f device] vgName

-i      Create the <vgname>.data file.
-m      Create the <vgname>.data file and physical partition maps
-e      Exclude the files/directories listed in /etc/exclude.<vgname>
-b blocks       Number of 512-byte blocks to write in a single
                output operation
-f device       Name of device to receive the backup information.
                Default is /dev/rmt0
vgName  Name of Volume Group to backup.

The data files will allow the vg's and physical volumes to be restore as they were on the other system.

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

In tuning file systems on the Solaris Operating System, changing some parameters of a file system usually destroys the data on it. For instance, changing the cache segment block size in the volume of a T3 requires that you delete the existing volu…
My previous tech tip, Installing the Solaris OS From the Flash Archive On a Tape (, discussed installing the Solaris Operating S…
Learn several ways to interact with files and get file information from the bash shell. ls lists the contents of a directory: Using the -a flag displays hidden files: Using the -l flag formats the output in a long list: The file command gives us mor…
Learn how to navigate the file tree with the shell. Use pwd to print the current working directory: Use ls to list a directory's contents: Use cd to change to a new directory: Use wildcards instead of typing out long directory names: Use ../ to move…

895 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

14 Experts available now in Live!

Get 1:1 Help Now