- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- replicate 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
08-06-2003 12:42 PM
08-06-2003 12:42 PM
replicate root disk
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-06-2003 12:44 PM
08-06-2003 12:44 PM
Re: replicate root disk
You can use the dd command. Check the man page.
SEP
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-06-2003 12:47 PM
08-06-2003 12:47 PM
Re: replicate root disk
dd if= old disk device name of= new disk device name
start it, go home and tomorrow you have another system...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-06-2003 12:50 PM
08-06-2003 12:50 PM
Re: replicate root disk
e.g.
src=/dev/rdsk/c0t6d0
DEST=/dev/rdsk/c1t5d0
BS=256k
dd if=${SRC} of=${DEST} bs=256k
You should do this while the system is relatively quiet. Because the filesystems are not unmounted, if you attempt to use the copy as a boot disk, an fsck will be needed and automatically run but I've never had one of these to fail. I do this on my servers each weekend as a 'lifeboat'. If the boot drive fails, I can simply remove it and insert the 'lifeboat' in the boot slot; boot; and all is well. I do this IN ADDITION to mirroring because the lifeboat protects you from two things that mirrors do not: 1) Your own stupidity (e.g. rm -r * .tmp) 2) really, really bad patches.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-06-2003 12:53 PM
08-06-2003 12:53 PM
Re: replicate root disk
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-06-2003 12:54 PM
08-06-2003 12:54 PM
Re: replicate root disk
# dd if=/dev/rdsk/current_root_disk of=/dev/rdsk/duplicate_root_disk bs=1024k
the option bs=1024k speeds up the copy much faster.
Hai
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-06-2003 07:54 PM
08-06-2003 07:54 PM
Re: replicate root disk
And I think the best way to replicate root disk is mirroring the root disk, or to use make_tape_recovery to clone the system.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-06-2003 10:13 PM
08-06-2003 10:13 PM
Re: replicate root disk
Doug ,your tip is very-very important.dd - simple command but if get it wrong could destroy you server.
regards
mB