Sponsored Content
Operating Systems AIX Clone 1 Hard disk fromIBM Intellipoint server with AIX 5.x Post 302998356 by bakunin on Wednesday 31st of May 2017 02:36:02 AM
Old 05-31-2017
Quote:
Originally Posted by trevian3969
Worked perfectly !!! Thank you very much !!!!
Good!



Quote:
Originally Posted by trevian3969
After I cloned the hdisk0 to hdisk1, I tried to clone from hdisk1 to a new disk (hdisk2), doing the same procedure, but replacing the hdiskX
Are you meaning you (pyhsically) removed hdisk0, put some other disk in and repeated? Well this is destined to fail:

With AIX you have all disks controlled by the LVM: you can't just rip out a disk and expect it to work. By "controlled by LVM" i mean: on the disk itself is a block (the "VGDA", volume group descriptor area) which states of which disks ("PV"s in LVM speak) the VG is comprised of. A copy of this VGDA si on each disk and if you rip one out the LVM recognizes that there is one missing (and which one that is).

If you wanted to clone the data (to another system or for archiving purposes) you won't get anywhere with the mirrorvg command, you need a different procedure: mksysb or savevg. (Notice that there is a splitvg command now, but only in recent AIX versions, not in AIX 5.x.)

You can store the contents of a single VG to a file or tape using the savevg command. In fact this is a customized backup-format backup of the VGs contents plus some additional information. From such an image you can use the restvg command to restore the VG onto new media (even on a new system). The disks used don't need to be exactly the same as in the original, they just have to provide some minimum requirements (if the LVs where mirrored you will need two disks, etc.).

Instead of a savevg you can also use a mksysb command. Basically this is a savevg rootvg (so everything said above applies) but with some additional information and a boot block. It is possible to boot a newly created system with such a mksysb-image and restore the contents of the rootvg while doing so. Since the rootvg contains everything relevant for the system you have a method of cloning/restoring a system completely from such an image.

Notice that the boot image is NOT added if you save the mksysb image to a file. You can still boot from a boot medium and then use the file to restore the system but you boot directly from the image only if it is on a DVD, tape or similar.

I hope this helps.

bakunin
 

9 More Discussions You Might Find Interesting

1. AIX

hard disk information in AIX

Hi, Other than df -k, is there any command that will tell me all physical hard drives installed on the system as well as the size of each one? I'm using AIX 5.1 Thanks, (3 Replies)
Discussion started by: quickfirststep
3 Replies

2. Shell Programming and Scripting

IInd Hard Disk Mounting Problem on 1st HDD On SCO UNIX Open Server

Hi Engg. ! :mad: I have a harddisk on which SCO UNIX Open Server was installed. There was some data (in .dbf format) on it. Present condition of HDD is that it is not booting. Now I want to mount this HDD through other HDD on which SCO UNIX Open Server is installed by attaching... (0 Replies)
Discussion started by: Niraj Gopal Sha
0 Replies

3. Solaris

Add new hard disk to sun sparc server?

A sparc server has a new SCSI hard disk added and labeled by the engineer, but they need to be formatted identically to an existing disk (c4t0d0). You decide to script the process and run from the command line without interaction. I know that the following command line must be achieve this. #... (3 Replies)
Discussion started by: kingsan
3 Replies

4. SCO

Clone hard disk using Ghost

Hi. We tried cloning a SCO Unix hard disk using Norton Ghost. However, the new cloned hard disk encounter booting problem. What possibly go wrong? (1 Reply)
Discussion started by: Mizan
1 Replies

5. SCO

Hard disk clone of OpenServer 5.0.0 didn't work, why?

Continuing saga of working on making a retail store more robust by creating a backup clone of the main server, a 1995 era :eek: PC running SCO OpenServer 5.0.0b and a discontinued Point of Sales (POS) software system. I have a PC of the same make and model. The CPU runs faster and it has a... (5 Replies)
Discussion started by: jgt10
5 Replies

6. Red Hat

How to monitor HP server hard disk failure ?

in red hat 4, 5 any one know any commands or any scritps to monitor HP DL 380 G5/6 server and trigger alarm when hard disk failed. thanks for all support ---------- Post updated at 02:45 PM ---------- Previous update was at 12:00 PM ---------- does HP ProLiant Support Pack support is... (4 Replies)
Discussion started by: maxlee24
4 Replies

7. Linux

C++ Code to Access Linux Hard Disk Sectors (with a LoopBack Virtual Hard Disk)

Hi all, I'm kind of new to programming in Linux & c/c++. I'm currently writing a FileManager using Ubuntu Linux(10.10) for Learning Purposes. I've got started on this project by creating a loopback device to be used as my virtual hard disk. After creating the loop back hard disk and mounting it... (23 Replies)
Discussion started by: shen747
23 Replies

8. AIX

Clone or mirror your AIX OS larger disk to smaller disk ?

hello folks, I have a 300GB ROOTVG volume groups with one filesystem /backup having 200GB allocated space Now, I cannot alt disk clone or mirrorvg this hdisk with another smaller disk. The disk size has to be 300GB; I tried alt disk clone and mirrorvg , it doesn't work. you cannot copy LVs as... (9 Replies)
Discussion started by: filosophizer
9 Replies

9. AIX

AIX hard disk failure

Hi all, I have encountered the issue with the hard disk, the disk is failed and need to replace by the new one. As my understanding, this is just to take out the failed disk and insert the new ones, and that's all. But the third party hardware vendor said, there should be another procedure... (9 Replies)
Discussion started by: Phat
9 Replies
All times are GMT -4. The time now is 07:36 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy