HPE GreenLake Administration
- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Remote copy of raw device
Operating System - HP-UX
1836360
Members
1959
Online
110100
Solutions
Forums
Categories
Company
Local Language
back
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
back
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
Blogs
Information
Community
Resources
Community Language
Language
Forums
Blogs
Go to solution
Topic Options
- 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
07-29-2002 01:10 PM
07-29-2002 01:10 PM
I am trying to copy a raw device /dev/vg02/rlvol2 from host1 to host2, prefereably with compression.
The command
dd if=/dev/vg02/rlvol2 ibs=4096k | remsh host2 dd of=/dev/vg02/rlvol2 obs=4096k
copies the contents but not compressed.
Is there a way to compress the data on host1 and then uncompress or zcat the data on host2?
TIA
Andrew
The command
dd if=/dev/vg02/rlvol2 ibs=4096k | remsh host2 dd of=/dev/vg02/rlvol2 obs=4096k
copies the contents but not compressed.
Is there a way to compress the data on host1 and then uncompress or zcat the data on host2?
TIA
Andrew
Solved! Go to Solution.
3 REPLIES 3
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-29-2002 01:14 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-29-2002 01:19 PM
07-29-2002 01:19 PM
Re: Remote copy of raw device
The key to your problem is to use compress on one end and uncompress on the receiving end. Both of these will read/write stdin/stdout.
You will be better served using a bs= value because no buffer to buffer copy is needed.
dd if=/dev/vg02/rlvol2 bs=64k | compress - | remsh host2 uncompress - | dd of=/dev/vg02/rlvol2 bs=64k
That should be close; I would try it on a couple of regular files first.
You will be better served using a bs= value because no buffer to buffer copy is needed.
dd if=/dev/vg02/rlvol2 bs=64k | compress - | remsh host2 uncompress - | dd of=/dev/vg02/rlvol2 bs=64k
That should be close; I would try it on a couple of regular files first.
If it ain't broke, I can fix that.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-29-2002 01:39 PM
07-29-2002 01:39 PM
Re: Remote copy of raw device
Thanks for the quick response.
Rodney's solution works and on a 64Mb file going through gelan card takes 14sec appox to complete.
The alternate solution, I needed to change the remote hosts "bs" parameter to an "obs" (leaving ibs to default) and this took about 10sec to complete.
Rodney's solution works and on a 64Mb file going through gelan card takes 14sec appox to complete.
The alternate solution, I needed to change the remote hosts "bs" parameter to an "obs" (leaving ibs to default) and this took about 10sec to complete.
The opinions expressed above are the personal opinions of the authors, not of Hewlett Packard Enterprise. By using this site, you accept the Terms of Use and Rules of Participation.
Company
Events and news
Customer resources
© Copyright 2025 Hewlett Packard Enterprise Development LP