- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- How to clone the boot disk to another spare 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
05-15-2002 04:42 AM
05-15-2002 04:42 AM
Background: HP-UX 11.0 L2000/rp5450 9.1GB LVD HotPlug disks.
Note: The boot disk is already mirrored to another disk.
Question: How do I "clone" the system boot disk? I have a spare 9.1GB LVD HotPlug drive and we want to use it for this purpose.
Should I use the 'dd' utility in single user mode or is there another way to do this?
We do not have a locally attached tape drive, but we do have an Enterprise backup system that performs the backups.
(10 points to any good answer).
Thank you Gino.
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-15-2002 04:47 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-15-2002 04:49 AM
05-15-2002 04:49 AM
Re: How to clone the boot disk to another spare disk?
The procedure i normally use is remove the primary disk, put the new disk in its place, boot thru the mirror, do a vgcfgrestore on the new disk, then mirror the root mirror to the new disk. This way there is a copy of the primary root disk. This is just like replacing the root disk, the only thing is that instead of replacing a faulty root disk, you are replacing a good boot disk. You can then use a cloned primary disk or use the original disk itself.
Hope this helps.
Regds
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-15-2002 04:55 AM
05-15-2002 04:55 AM
Re: How to clone the boot disk to another spare disk?
Yes you can.
But make sure you run mkboot after dd, bring the system up, import the disk as some temporary volume group and verify the contents of /stand/bootconf file in it before you try to boot it.
-Sri
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-15-2002 04:58 AM
05-15-2002 04:58 AM
Re: How to clone the boot disk to another spare disk?
Noway you can do cloning of root disk to another disk which doesn't have anything.
core OS installation on both disks makes them identical
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-15-2002 05:03 AM
05-15-2002 05:03 AM
Re: How to clone the boot disk to another spare disk?
>Noway you can do cloning of root disk to another disk which doesn't have anything.
>core OS installation on both disks makes them identical
Is this true? You mean to say that we can not
make a duplicate of the system disk with 'dd'
and/or make a copy of the mirrored boot disk
as the others have said in this thread?
To use the Core OS install CD and then try to load the exact software and configurations is an almost impossible task!?
(10 points to any good answer)
Thank you Gino.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-15-2002 05:26 AM
05-15-2002 05:26 AM
Re: How to clone the boot disk to another spare disk?
Thanx for ur question again,
I think using dd to clone the root disk is almost remote, because if you used it
#dd if=/ of=/dev/dsk/xxx may copy only the / contents, what about the rests(/opt, /var,/usr...)If you did so (eg:
dd if=/opt of=/dev/dsk/xxx), there will be inconsistence,
As Sanjay says, cloning can done in that way too. Another way is using ignite by creating the depot of all the s/w you wanted to be on machine and push only those s/w which are in root disk.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-15-2002 05:27 AM
05-15-2002 05:27 AM
Re: How to clone the boot disk to another spare disk?
Thanx for ur question again,
I think using dd to clone the root disk is almost remote, because if you used it
#dd if=/ of=/dev/dsk/xxx may copy only the / contents, what about the rests(/opt, /var,/usr...)If you did so (eg:
dd if=/opt of=/dev/dsk/xxx), there will be inconsistence,
As Sanjay says, cloning can done in that way too. Another way is using ignite by creating the depot of all the s/w you wanted to be on machine and push only those s/w which are in root disk.
Comments are welcome!!!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-15-2002 05:42 AM
05-15-2002 05:42 AM
Re: How to clone the boot disk to another spare disk?
HTH
Duncan
I am an HPE Employee

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-15-2002 05:49 AM
05-15-2002 05:49 AM
Re: How to clone the boot disk to another spare disk?
Initially you may need to bring it up to "lm" mode to fix lvlnboot strings though.
However, I do agree that the method mentioned by Sanjay is a good one.
-Sri
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-15-2002 05:50 AM
05-15-2002 05:50 AM
Re: How to clone the boot disk to another spare disk?
The copying should be done when the system is fairly quiescent (mine are at 0300 Sundays) and if you do have to boot from the lifeboat, the system will do a fsck but I have never had a lifeboat to fail. You must use a disk identical to your boot disk to serve as your lifeboat copy. The idea is that if you need to use the lifeboat, you simply shutdown; move the lifeboat disk into the boot slot and boot normally. You are up much faster than with Ignite.
I've attached my copy_boot script; make sure that you set the SRC and DEST devices. The script can handle multiple disks; just list corresponding source and destination disks in order in the respective arrays.
Regards, Clay