- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Problem with cloning root disk
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-02-2005 12:34 AM
03-02-2005 12:34 AM
Problem with cloning root disk
I've copy rdsks with dd and move the copy disk to new nPar.
I've boot in "-lm" mode and renew the LVM config. And in this way I can boot the system manualy starting with "-lm" mode. But the default boot process dumps with error "PV missing" when its try to activate vg00.
What is correct way to boot from this disk to new partiotion? Or may be it's imposible?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-02-2005 12:51 AM
03-02-2005 12:51 AM
Re: Problem with cloning root disk
You should install OS/ignite on the other disk and then restore any non-root disk backups onto it , if you want.
Anil
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-02-2005 01:11 AM
03-02-2005 01:11 AM
Re: Problem with cloning root disk
I know that its not correst to do this in production.
But i would like to understand - is it possible or not theoretically and in practic.
I think it must be not too difficult.
In my minde i need only change lvm config, remake the kernel (why? ), may be update ioconfig ... that's all. In more older hpuxs (10.x) there were change_root_lvm command to do this.
And in this case I want to understand is it possible or not in 11i?
Just theoretically and for my interest.
Thanks a lot.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-02-2005 01:16 AM
03-02-2005 01:16 AM
Re: Problem with cloning root disk
live free or die
harry d brown jr
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-02-2005 01:18 AM
03-02-2005 01:18 AM
Re: Problem with cloning root disk
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-02-2005 07:35 AM
03-02-2005 07:35 AM
Re: Problem with cloning root disk
This answer is for learning and test systems, it's not a good answer for production systems. Caveat Emptor. You could end up with a system that doesn't work/boot/etc.
I think I made this work before by fixing a few things, boot command, LIF area, fstab etc. Make sure that the boot command in the LIF does NOT have a hardware path - newer versions of HPUX don't need it. Old commands would have been like:
mkboot -a "hpux (53.3.0;2)/hp-ux"
but new ones (11i) boot with just the command:
"hpux"
which takes the whole hardware path problem out of there.
Of course, I'd recommend a command of:
"hpux -lq" to turn off quorum checking on the root volume group.
And one more thing you can try:
change the fstab entry for "/" to point to
/dev/root instead of where your current root is (probably /dev/vg00/lvol3). The /dev/root file is a pv that looks a LOT like /dev/vg00/lvol3 (or wherever your root drive is) -except that it has different major and minor numbers. But, if you do a lvdisplay on it - it will have the same contents. Now, you can't do an lvdisplay on it b/c it's not in a volume group - you can fake it by using a symbolic link to that file from a working volume group.
cd /dev/vg[mostanything]
ln -s /dev/root .
lvdisplay -v /dev/vg[mostanything]/root
you can see its exactly the same as your root partition.
Now, take that link out quickly and don't forget ( I don't know what it would do if a service call of some type was made to the vg). Like I said DO THIS ON TEST SYSTEM! Anyway, that's what old D series servers are for ...
Well, I brought up a system this way once to retrieve data with an upgrade I was testing/doing. Also, this was a long time ago, and I'm not sure of what else I had I to do. This might be what's holding you up. Also, I did this b/w a 9.x and a 10.x upgraded disk - I really don't know if this would work at all in 11.0 or 11i.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-02-2005 08:13 AM
03-02-2005 08:13 AM
Re: Problem with cloning root disk
So why not old install or ignite??