- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: Boot disk copy
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
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
07-12-2004 05:05 AM
07-12-2004 05:05 AM
As I can copy the boot disk whit MirrorDisk/UX and then to split it?.
( Alone I need to have a copy of this disk. Not synchronize permanently )
Thank in advance
Atte.
Jorge Prado
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-12-2004 05:09 AM
07-12-2004 05:09 AM
Re: Boot disk copy
dd if=/dev/rdsk/c1t6d0s2 of=/dev/rdsk/c1t5d0s2 bs=27125760
where "if" references the source disk, and "of" references the disk copy to be created.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-12-2004 05:24 AM
07-12-2004 05:24 AM
Re: Boot disk copy
If yes, then create a 3rd mirror - then split it whenever you like - say once a week or daily....then re-sync whenever you need to...
Rgds...Geoff
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-12-2004 05:45 AM
07-12-2004 05:45 AM
Re: Boot disk copy
What are you trying to do?
As mentionned if you have mirror-ux you can mirror a complete disk and use lvsplit to split all the logical volumes... and then lvmerge to merge to resync...
But this is not intended for long term splitting... which would mean you dont really to mirror because all you want is a regular copy...
A copy of two identical disk using dd as also already mentionned would do just the job: No need of extra software if you dont have mirror-ux. if done using the raw devices, it will be bootable etc...
All the best
Victor
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-12-2004 05:57 AM
07-12-2004 05:57 AM
Re: Boot disk copy
I understand you would like a static copy of the boot disk with MirrorUX/DX.
You can create a mirror using lvextend -m option and then split the mirror using lvsplit command - this way u will have a static copy of the boot disk.
But remember, Mirrorux/dx will not mirror the boot LIF volumes. So if you want to be able to boot from the mirror copy then you have execute mkboot commands.
Also make sure you use -B option with pvcreate for the mirror disk.
-- Sundar.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-12-2004 10:16 AM
07-12-2004 10:16 AM
Re: Boot disk copy
You can do the mirroring but splitting will be a problem as it will split the logical volumes but not the disks. You cannot reduce the disk without reducing the logical volumes on it so that disk may not work. You can remove the mirror online (if it supports hot-pluggability) and replace it with a new one and run the usual 'mirror restore' process but you will have to fix the taken out disk booting in LV maintenance mode as it would be hardcoded with the device file names.
Safe and headache-free way is to use make_tape_recovery tape. Take the image of the original server and put it on the other one if your intention is to clone the systems.
-Sri
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-13-2004 02:46 AM
07-13-2004 02:46 AM
Re: Boot disk copy
I am going to specify with but details: Operating system: HP-UX 11i
Server: rp5470
Mirrordisk/UX
Two internal discs.
They are needed to make changes in the configuration of general software (Oracle IAS), but saving and maintaining a copy of the booteable disk and its applications (Oracle and ias) in the second disk to make a fast return back in case are not the changes.
Which is the best method?
Can be used Mirrordisk for this?
Tkank in advance
Jorge Prado T.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-13-2004 02:59 AM
07-13-2004 02:59 AM
Re: Boot disk copy
I understand as:
You are always in a mirror configuration but
use the split (as I would when it comes to install patches...) for upgrade or testing...
All the best
Victor
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-13-2004 03:13 AM
07-13-2004 03:13 AM
SolutionIn this case, split/merge will work. This would be the scenario.
1. You will have mirrors all the time.
2. Before you do the change, split the mirrors.
3. Make changes. Let the system run with the changes for a day or two.
4. If everything is fine, then merge the mirrors back to go back to step 1. If you have to back out, boot from the split mirror and re-establish the mirroring.
Merging mirror is easy. But if you have to boot from the split mirror in any unwanted situation, then the process can be confusing. There have been many threads on booting from the split mirror. Search the forums for all these procedures or let us know and one will post the procedure. In any case, keep a couple of make_tape_recovery tapes handy. They can save you from trouble.
-Sri