- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: copying raw devices with command dd
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
03-21-2005 01:57 AM
03-21-2005 01:57 AM
I have this hard task that copy raw devices into another vg. I have to duplicate a Informix BD, the raw devices have differents sizes.
I think the best command to do this is dd, but is importante the size of block size? And can you give any suggestions?
Thanks.
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-21-2005 02:02 AM
03-21-2005 02:02 AM
Solutiondd if=/dev/rdsk/c1t5d0 bs=1024k of=/dev/rdsk/c2t6d0
If using LVM, then make sure that you use the rlvol device nodes.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-21-2005 02:02 AM
03-21-2005 02:02 AM
Re: copying raw devices with command dd
There are dramatic improvements prossible as you go fromteh default to 8kb to 16k to 64kb and such. After that, the benefits diminish, but are still there.
so i woudl pick bs=1024k for 1mb/io.
That also helps to do the final count :-0.
Or pick bs=262144 or such for 256KB per io
fwiw,
Hein.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-21-2005 02:56 AM
03-21-2005 02:56 AM
Re: copying raw devices with command dd
but what is rlvol device nodes?
Thanks.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-21-2005 03:01 AM
03-21-2005 03:01 AM
Re: copying raw devices with command dd
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-21-2005 03:52 AM
03-21-2005 03:52 AM
Re: copying raw devices with command dd
only i have to do is create the other lv in other vg and use the command dd, something like this:
lvcreate -n lvol3 -L 2056 vgxp
dd if=/dev/vg01/rlvol3 bs=1024k of=/dev/vgxp/rlvol3
... and nothing more
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-21-2005 04:51 AM
03-21-2005 04:51 AM
Re: copying raw devices with command dd
The block device and the raw device both point to the same data, so you don't need or even want to copy both. You don't want to use the block device for the copy via dd because it just goes way too slow. Using dd on the raw(character) device is the best way to do this.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-21-2005 05:07 AM
03-21-2005 05:07 AM
Re: copying raw devices with command dd
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-21-2005 09:37 PM
03-21-2005 09:37 PM
Re: copying raw devices with command dd
Thanks for all your suggestions...