Operating System - HP-UX
1837672 Members
3668 Online
110117 Solutions
New Discussion

moving disk from a system to another

 
SOLVED
Go to solution
ASO FINANCE
Occasional Advisor

moving disk from a system to another

Hi guys,
I have a question for you:
I must move a boot disk from a system to another.This boot disk contain all of logical volume of my VG00.
If I moving this disk from my system to another system (from L-Class to N-Class,for example),I think that when I'll boot with my disk,it will be recreated all my special file because the HW of my new system is different from the older.So,what is the right procedure to start my NEW system from my OLD boot disk?I must start in LVM maintenace mode and do vgimport of my vg00 with new special file?
please,help me!!
thanks a lot!

bye
Massimo
10 REPLIES 10
Stefan Farrelly
Honored Contributor
Solution

Re: moving disk from a system to another

Yes, if vg00 on the new server will not be the same as the old server then you must boot in lvm maintenance mode and reimport vg00 first. Then boot up normally. Then when it boots all other device files will be created on first boot.

Im from Palmerston North, New Zealand, but somehow ended up in London...
Brian Bergstrand
Honored Contributor

Re: moving disk from a system to another

See this thread. http://forums1.itrc.hp.com/service/forums/parseCurl.do?CURL=%2Fcm%2FQuestionAnswer%2F1%2C%2C0x0cbacc84e9bb7d4a8a9c7587a773dae3%2C00.html&admit=716493758+1066312761789+28353475

Basically, this is not possible (at least not if you want to boot from the disk). What you need to do is a make_(net|tape)_recovery on the old system and then move the disk and Ignite with the recovery image on the new system.

HTH.
ASO FINANCE
Occasional Advisor

Re: moving disk from a system to another

Are you sure Bryan?I found this thread : http://forums1.itrc.hp.com/service/forums/parseCurl.do?CURL=%2Fcm%2FQuestionAnswer%2F1%2C%2C0x5160ef70e827d711abdc0090277a778c%2C00.html&admit=716493758+1066313282701+28353475
and it seems that it is possible booting the new machine with the old boot disk in maintenance mode and making vgimport and vgexport of Vg00!!
Give me your sensation,please (in Production,of course!!)
Brian Bergstrand
Honored Contributor

Re: moving disk from a system to another

In production, I don't think I would trust it. (That's just me.) If the machines are the exact same class, the import will probably work, but if there are any major hardware differences then you could be in trouble. But if you want to attempt it, then make sure you have a good Ignite recovery archive in case you need it. Though, that's proabably a good thing to have no matter what.

HTH.
Brian Bergstrand
Honored Contributor

Re: moving disk from a system to another

I just read the first few posts in the thread you pointed to. It looked like the poster was talking about moving a disk to a different controller in the same machine, not to a totally different machine.

It proabably won't hurt to try the import, and if it works all the better. Just make sure you have that backup.
ASO FINANCE
Occasional Advisor

Re: moving disk from a system to another

Thanks a lot,Bryan,
The System is the same,we try to move the boot disk from a cell of a Superdome to another cell of the same Superdome,so the HW is the same!
I agree with you thinking that in a Production environment is a little Dangerous and it's ESSENTIAL to have a good backup with Ignite UX,but I have a little bit period to making the move and with the Ignite UX a think that I don't be able to remain in this period!
So,if vgimport and vgexport in LVM maintenance works,I'll finish my move in time with the schedule,but..it will work??
Stefan Farrelly
Honored Contributor

Re: moving disk from a system to another

Weve moved lots of boot disks from N's to L's and from D's to K's etc. and they all boot fine after reimporting vg00. Ive only seen a few failures. If youre on the same hardware, which you are, then the chances of it working successfully are pretty good.
Im from Palmerston North, New Zealand, but somehow ended up in London...
RolandH
Honored Contributor

Re: moving disk from a system to another

Additionaly to Stefan Farelly.

"Then boot up normaly"

If you have booted in maintanance mode an has made your changes then do a reboot.

It is NOT supported to boot up from maintanance mode up to your running level.

My 2 cents to that

HTH
Roland
Sometimes you lose and sometimes the others win
RolandH
Honored Contributor

Re: moving disk from a system to another

I forgot to mention why you should reboot after booting in maintenance mode. That's the reason.

*********************************************
While booted LVM Maintanence mode, only fix the ioconfig, and the LVM configuration. Then reboot before doing anything else. When booted in LVM Maintanence mode the LMV kernel drivers are not fully active, and booting to multi-user mode (ie init 3) from LVM Maintanence mode could result in the corruption of the root file system.
*********************************************

HTH
Roland
Sometimes you lose and sometimes the others win
ASO FINANCE
Occasional Advisor

Re: moving disk from a system to another

Thanks guy,
so I will try to make this procedure :
- Backup with IgniteUX
- connect my old disk to New Cell of My Superdome
- boot in LVM maintenance mode
- vgexport and vgimport of vg00
- lvlnboot -R
- shutdown -r
- normal boot from my OLD disk.I think that it will be recreated all my special file.Then I import and Export the other VG of my system
I will explain the result...If it will be all right.

Max