- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: copy raw devices
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
тАО10-02-2001 03:21 AM
тАО10-02-2001 03:21 AM
copy raw devices
does anybody know how i can copy raw devices. we have hp-ux 11. i want to copy the data of oracle raw devices to another server with raw devices. is this possible?
thanks for your help,
andy
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-02-2001 03:43 AM
тАО10-02-2001 03:43 AM
Re: copy raw devices
Yes, easy to copy raw devices. Use the dd comand. Source and destination logical volumes must be the same size then;
dd if=/dev/vgXX/rlvolYY of=/dev/vgXX/rlvolYY bs=64k
And it will make an image copy of one to the other. We use it all the time, never had a problem.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-02-2001 04:14 AM
тАО10-02-2001 04:14 AM
Re: copy raw devices
dd if=/dev/vgXX/lvYY of=lvYY.img bs=64k
copy lvYY.img to the second machine, then on the second machine
dd if=lyYY.img of=/dev/vgXX/lvYY bs=64k
make sure the LVs on the two systems are of the same size.
-Santosh
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-02-2001 04:18 AM
тАО10-02-2001 04:18 AM
Re: copy raw devices
If you have remsh to a remote system setup to work without requiring a password then you can dd from one raw lvol to one on a remote system in one go;
dd if=/dev/vgXX/rlvolYY bs=64k | remsh
This will copy it across the network and make an image copy on the destination VG/LV.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-02-2001 04:27 AM
тАО10-02-2001 04:27 AM
Re: copy raw devices
keep in mind, that you might need to adjust the Oracle-controlfiles, if it is not possible to use raw devices with the same name on the target machine.
Volker