Operating System - HP-UX
1835892 Members
3826 Online
110086 Solutions
New Discussion

I want to change my system disk

 
Tomek_1
Advisor

I want to change my system disk

Hello
I want to change my system disk on D330 HPUX 10.20, and i want make it by make_recovery. Do you think it is a good idea or maybe there is a better way to do this.
Does make_recovery will erase everything from other disks (group vg01, vg02).

Best Regards
Tom
10 REPLIES 10
Domenico_5
Respected Contributor

Re: I want to change my system disk

hi tom

no make_Recovery don't erase the other vg,

Make_recovery is a good idea, but if you know very vell lvm, you can add the other disk, create a mirror and split the new for the boot.

regards
Bill McNAMARA_1
Honored Contributor

Re: I want to change my system disk

Ignite archives can backup and restore other vg's other than vg00, you should verify.
This is not done by default tho... thus no problem.. unless hardware paths changes for the vg's other than vg00

Later,
Bill
It works for me (tm)
Stefan Farrelly
Honored Contributor

Re: I want to change my system disk

make_recovery is the BEST way to do this. We use it all the time. It wont touch your data on VG's other than vg00. Once youve reinstalled to your new disk all you need to do is re-import your VG's with your data on - easy.
Im from Palmerston North, New Zealand, but somehow ended up in London...
James Murtagh
Honored Contributor

Re: I want to change my system disk

Hi Tom,

No, you are correct, using Ignite is the best way to do this. It will also give you the opurtunity to change logical volume sizes if required very easily, especially root, swap and stand.

As for the other volume groups, you will just need to import them after the re-install. If you use non-standard logical volume names, ie not lvol1.... you should ensure you run :

vgexport -m /vgXX.map -p vgXX

(substituting XX for the volume group name) and ftp them to another server. You can then import these once the server is rebuilt. All data on the disks will be retained.

Regards,

James.
T G Manikandan
Honored Contributor

Re: I want to change my system disk

make_recovery is replaced by make_tape_recovery.

this process creates a system recovery archive.
The archive contains all files which will be used to bring up the system to the previous state incase of failures.

you can take a make_tape_recovery of the vg00(volume group) which houses all your system file systems.
Like /usr /stand /var /opt /.

The other non-system volume groups does not require a make_tape_recovery as they can be backedup under normal procedure.

I have attached a document which helps in changing the disks(system as well as non-system) without a make_tape_recovery.

check whether it can help you.

T G Manikandan
Honored Contributor

Re: I want to change my system disk

if you are using LVM then the attached doc should really help you
Martin Johnson
Honored Contributor

Re: I want to change my system disk

Make sure you have the latest LVM patches installed. There are certain disk configurations that can cause the boot disk to become unbootable without the patches. I hit this during a 10.20 to 11.0 upgrade.

HTH
Marty
Tomek_1
Advisor

Re: I want to change my system disk

Thanks for help
I want to ask for one more thing, when i try execute command: make_tape_recovery -v -x inc_entire=vg00 -x inc_entire=vg01 -x inc_entire=vg02
i get an error message that there is not enough space on tape, it needs 33GB, and streamer is DDS3 so i can only insert 24GB tape.
The disks in server are about 37GB but there is about 20GB of space. If i remove one disk (16GB) it will work?

Rgds
Tom
James R. Ferguson
Acclaimed Contributor

Re: I want to change my system disk

Hi Tom:

Strictly speaking, Ignite is designed to recover your operating system's standard filesystems. This usually equates to vg00. The recovery of non-vg00 volumes is by 'vgimport' or from seperate, appropriate backup media. Since the recovery tape uses 'pax' to copy files, multiple reels of tape should be honored if you run the process interactively (or redirect stdin to a file contraining the expected responses to queries for more tapes).

Regards!

...JRF...
Darrell Allen
Honored Contributor

Re: I want to change my system disk

Hi Tom,

What's been said so far assumes you are removing the old system disk, replacing it with a new one, and leaving the current non-vg00 disks alone. If so, then use make_tape_recovery for vg00 and vgimport the other VGs after you reload from the Ignite tape.

If you are moving vg00 to a disk currently used in another VG, you will have to rebuild that VG and restore it from a backup.

Just wanted to be sure we understood what you are trying to do.

Darrell
"What, Me Worry?" - Alfred E. Neuman (Mad Magazine)