- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: Copy of HP11 system 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
04-20-2004 07:39 PM
04-20-2004 07:39 PM
Copy of HP11 system disk
Have got a spare unformatted disk on the system, but no tape drive.
What is the best procedure to make a copy of the system disk - without MirrorDisk or Ignite ?
The system volume group also has other stuff in it and is 26GB in size.
Would dd do the trick ?
What is the process (Add the new disk, create new vg and lvols, then do the dd)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-20-2004 07:46 PM
04-20-2004 07:46 PM
Re: Copy of HP11 system disk
Before u proceed for anything make map file for vg00 on safer side.
Simply add the disk, locate the same using
#ioscan -fnC disk
suppose it is /dev/dsk/c0t0d1
and your existing disk which is suspected bad under vg00 is /dev/dsk/c0t0d0
then you have to:
#dd if=/dev/dsk/c0t0d0 of=/dev/dsk/c0t0d1
see man dd before u proceed.
Then try replacing c0t0d0 with c0t0d1 and boot. This should hopefully work.
This will like a mirror image of your existing disk.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-20-2004 07:59 PM
04-20-2004 07:59 PM
Re: Copy of HP11 system disk
if you have disks of the same size you may give dd a try.
The alternative would be to create another VG with the unused disk and copy everything from you current boot disk.
I am attaching sample script, that you would have to adjust for lvol sizes, lvol names etc, and add a couple more mkdir, mount, newfs, find and cpio if you want to have the same lvols as today.
Regards,
Bernhard
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-20-2004 09:10 PM
04-20-2004 09:10 PM
Re: Copy of HP11 system disk
Why don't you try booting into LVM maintanance move and copy all the boot disk lvols to the new disk and compensating with lvlnboot ?
Regds,
Kaps
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-22-2004 07:59 AM
04-22-2004 07:59 AM
Re: Copy of HP11 system disk
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-22-2004 08:04 AM
04-22-2004 08:04 AM
Re: Copy of HP11 system disk
Something like this:
dd if=/dev/rdsk/c0t6d0 of=/dev/rdsk/c0t5d0 bs=256k
It's best that you do this with as little activity gpoing on as possible. Also, because these are live filesystems, an fsck will be required on the boot. Your destination disk needs to be at least as large as your source disk -- identical is greatly preferred.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-22-2004 08:07 AM
04-22-2004 08:07 AM
Re: Copy of HP11 system disk
Another possibility is that you have a CPU hardware failure, and that will have to be fixed before the system will be reliable.
Bill Hassell, sysadmin
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-22-2004 06:29 PM
04-22-2004 06:29 PM
Re: Copy of HP11 system disk
Problem was down to hardware.
In the end it was quicker to rebuild the machine and rescue what I could from the old disk.
Will insist on mirroring from now on!!