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

Enabling OSINT in Activity Based Intelligence

Activity based intelligence (ABI) requires access to all available sources of data. Recorded Future allows analysts to observe structured data on the open, deep, and dark web.

Join & Write a Comment

My previous tech tip, Installing the Solaris OS From the Flash Archive On a Tape (, discussed installing the Solaris Operating S…
Installing FreeBSD… FreeBSD is a darling of an operating system. The stability and usability make it a clear choice for servers and desktops (for the cunning). Savvy?  The Ports collection makes available every popular FOSS application and packag…
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…
This video shows how to set up a shell script to accept a positional parameter when called, pass that to a SQL script, accept the output from the statement back and then manipulate it in the Shell.

760 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

17 Experts available now in Live!

Get 1:1 Help Now