- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- How do you copy from one raw volume to another?
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
тАО08-31-2004 02:50 AM
тАО08-31-2004 02:50 AM
Do we just:
..dd if=/dev/vg20/rlvol02 of=/dev/vg21/rlvol02 bs=4096k
Are there other commands for copying raw volumes? cp, cpio, etc..?
You use the "r"-lvol02 name, right? Not the "lvol02" name...
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-31-2004 02:53 AM
тАО08-31-2004 02:53 AM
SolutionYou should use the block device (ie lvol02) as this is buffered, and will be faster than the character (rlvol02) device.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-31-2004 02:58 AM
тАО08-31-2004 02:58 AM
Re: How do you copy from one raw volume to another?
Pete
Pete
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-31-2004 02:58 AM
тАО08-31-2004 02:58 AM
Re: How do you copy from one raw volume to another?
yes when copying from raw to raw you should use the "dd" command
Regards
Franky
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-01-2004 02:47 AM
тАО09-01-2004 02:47 AM
Re: How do you copy from one raw volume to another?
some months before, i just try the same action, and my conclusion is
1) dd is the best way,
2) on raw device,
3) but bs=1024k is for me the faster way.
It is also very useful to verify an complete disk, with something like :
dd if=/dev/rdsk/cxtydz of=/dev/null bs=1024k
Take a look at :
http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=454369
for a complete thread on the block size argument.
Olivier.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-01-2004 04:23 AM
тАО09-01-2004 04:23 AM
Re: How do you copy from one raw volume to another?
If the source device is being used by a filesystem, will the file system be accessible by the fs? I don't think so but want to confirm that.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-16-2004 04:41 PM
тАО10-16-2004 04:41 PM
Re: How do you copy from one raw volume to another?
If LV sizes are same, then you have an easy option of using mirroring
lvextend -m 1
then split with
lvsplit
Now you have identical copy of the LV in two places.
Hope it helps.
Mohan