- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: Copying one disk to another for backup
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
Discussions
Discussions
Forums
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
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
тАО09-09-2006 02:45 AM
тАО09-09-2006 02:45 AM
I have a new server with two disks.
The primary boot disk is C2T0D0 (VG00).
I want to make modifications to this disk but I don't have a tape backup.
So, I would like to make a copy of this disk to the secondary disk (C2T1D0). They are both the same size and type.
What is the easiest way to do this?
I'm using HP-UX 11.23 on an RP4440 server
Thanks
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-09-2006 02:55 AM
тАО09-09-2006 02:55 AM
SolutionIf you see both disks with ioscan,
you can back up disk->disk by dd:
#> dd if=/dev/rdsk/XXXX of=/dev/rdsk/YYYY bs=32768k
XXXX is the existing system disk, YYYY is it's backup.
If you want to undo modifications, you will have to replace physically disks and to boot from the backup. The process requires fsck.
HTH
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-09-2006 02:58 AM
тАО09-09-2006 02:58 AM
Re: Copying one disk to another for backup
If I need to boot from the backup, do I need to add any boot information to the disk or can I just swap the disk and go?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-09-2006 03:17 AM
тАО09-09-2006 03:17 AM
Re: Copying one disk to another for backup
If you use DD command for backupdisk
you can boot the backup disk but before you try to boot you have to replace the backup disk to original disk
i mean you need to relocate the disks
Addition, If you want to get backup OS disk
you'd batter using Mirror UX then hard copy like that.
The Mirror UX SW make you configure mirror OS and even data vgs
you don't need to relocate physical disk location.
Regards
nanan
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-09-2006 03:24 AM
тАО09-09-2006 03:24 AM
Re: Copying one disk to another for backup
I don't mind changing the disks around.
They are at the front of the server and are easily accessible. So, a switch is pretty easy.
So, the DD command will copy everything... including system files and hidden directories?
I'm going to try it right now.
Thanks for the help.
Don
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-09-2006 04:01 AM
тАО09-09-2006 04:01 AM
Re: Copying one disk to another for backup
>>>The primary boot disk is C2T0D0 (VG00).
I want to make modifications to this disk but I don't have a tape backup.
You have one boot disk and if you have mirror/UX software installed then add another disk as a mirror and boot from it.
Or
dd command will copy everything. Make sure that it is bootable.
lifcp /dev/rdsk/alternate:AUTO -
should show
hpux
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-09-2006 07:10 AM
тАО09-09-2006 07:10 AM
Re: Copying one disk to another for backup
I was able to boot from the second disk.