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


 
Thread Tools Search this Thread
Operating Systems AIX Clone or mirror your AIX OS larger disk to smaller disk ?
# 8  
Old 02-09-2013
chvg -g will not work rootvg

Code:
root@test1:/>chvg -g rootvg
0516-1380 chvg: Re-sizing of the disks is not supported for the rootvg.
0516-732 chvg: Unable to change volume group rootvg.


any other ideas ?
# 9  
Old 02-09-2013
Quote:
Originally Posted by filosophizer
any other ideas ?
Yes: start over. Obviously what you want is not a clone. A clone is an identical copy - up to the size information. Dukessd has already said it: clone a 10GB-disk and you get another 10GB-disk. What you want is a different disk with the same content as the original. For this purpose everything "clone" is the wrong tool.

First, use "extendvg" to make the new disk part of the rootvg. Then "mirrorvg" to create copies of the LVs on the new disk. Wait, because this will take some time (depending on the load the system is under and the traffic on the rootvg some minutes to half an hour approximately).

Perform a "bosboot" to create a boot block on the new disk. Then shut down the system. Disconnect the newly created disk and boot again. Correct the errors because of the now missing disk. (Don't forget to correct the bootlist too.)

Start a new system with the cloned disk. You will have to correct the same errors because of the missing mirror disk on the new system. Note that you have an absolutely identical copy of the system - connect both to the same network and you get duplicate IP address errors.

I hope this helps.

bakunin
This User Gave Thanks to bakunin For This Post:
# 10  
Old 02-09-2013
thanks, it never came across my mind this method although one of the fundamental one in AIX ....

solved.

Moderator's Comments:
Mod Comment edit by bakunin; changed thread title as requested.

Last edited by bakunin; 02-09-2013 at 07:03 PM..
Login or Register to Ask a Question

Previous Thread | Next Thread

9 More Discussions You Might Find Interesting

1. AIX

Clone 1 Hard disk fromIBM Intellipoint server with AIX 5.x

Hello to all, Im having a new task in a new world (AIX - IBM Servers) I have an IBM Server (Type - 9111-285 very old one) with one Hard disk (73 GB 10 K) with AIX 5.x, and I need to clone the existing disk to another with the same specifications. Could you please give me some advice in order... (7 Replies)
Discussion started by: trevian3969
7 Replies

2. Solaris

Use 'dd' to copy boot disk to larger target disk

Hi, I'm looking to copy a boot disk on an old Solaris 8 system using dd. I'll bring the system down to single user mode and begin from there. I'm copying my source disk to a larger target disk. Do I need to do anything other than the 'dd' command below because the target disk is bigger? ... (2 Replies)
Discussion started by: sparcman
2 Replies

3. UNIX for Advanced & Expert Users

Faster dd for disk clone

Guys can anyone tell how can we do faster disk cloning Below i found in google 1. dd if=/dev/sda of=/dev/sdb bs=4096 conv=noerror,sync So adding "conv=noerror,sync " makes it faster looks against not adding it 2. Enable write cache activated (hdparm -W1 /dev/sda) then run dd .. ... (2 Replies)
Discussion started by: heman96
2 Replies

4. HP-UX

What is the difference between DRD and Root Mirror Disk using LVM mirror ?

what is the difference between DRD and Root Mirror Disk using LVM mirror ? (3 Replies)
Discussion started by: maxim42
3 Replies

5. Solaris

disk 2 disk mirror

Dear friends & gurus i have some servers running solaris 10 intel machines,they are in mirror disk 2 disk there is no any hardware RAID only software RAID and they are in remote place. 1) solaris 10 OS c0t0d0(Disk1) & cotod1(Disk2) in mirror (SVM) 2) i want to break the mirror 3) boot... (0 Replies)
Discussion started by: niru
0 Replies

6. Filesystems, Disks and Memory

clone disk

Disk cloning I had an external SCSI master disk that I used to clone to an identical external SCSI disk because the other SCSI disk would become corrupted. My original Master became corrupted so I used one of the other to good disk to copy back to the master. Unfortunately the new master needs... (1 Reply)
Discussion started by: stamperr
1 Replies

7. Solaris

Upgrading To Larger Disk?

I have just been assigned the task of upgrading to a larger disk on a e250; however, I am use to working on Linux and x86 hardware. I would be very appreciative if someone could inform me on how this procedure can be done safely. To begin with, the e250 has a 18 Gig primary scsi disk and a 18... (3 Replies)
Discussion started by: cstovall
3 Replies

8. UNIX Desktop Questions & Answers

How do I clone Solaris 7 disk

could anyone give me a general idea of how i may clone a 2 Gig disk running Solaris 7 on it to another disk of the same size? currently, this system only has one disk in it though. i do have the ability to hook up another disk via SCSI. i have been told i need to boot to "miniroot" to run... (9 Replies)
Discussion started by: obosha
9 Replies

9. UNIX for Dummies Questions & Answers

Upgrade Hard Disk to a larger one

Hello folks, I have a sun sparcstation 20, I would like to upgrade one of the hard disks to a larger one. The one I would like to upgrade only contains user data. Here are my thoughts: 1. Backup the specific file system 2. Replace the disk with the larger disk 3. Create a new file... (2 Replies)
Discussion started by: DLongan
2 Replies
Login or Register to Ask a Question