- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: dd command
Operating System - HP-UX
1753572
Members
5892
Online
108796
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
Discussions
Discussions
Forums
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
Discussion Boards
Discussion Boards
Blogs
Information
Community
Resources
Community Language
Language
Forums
Blogs
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
тАО10-30-2002 03:37 AM
тАО10-30-2002 03:37 AM
dd command
hi all,
iam using dd command to copy some raw devices of size 500MB (not mounted file systems) on to a tape. it is finishing with in 5 min. But if i try to take the backup of raw device of same size, which is of a mounted file system, the dd command is taking a large time. i unmounted the file system and tried with raw device of that LV, still it is taking more time. is dd is slow on raw device which belongs to mounted file system? what could be the reason?
thanks in advance
ravi
iam using dd command to copy some raw devices of size 500MB (not mounted file systems) on to a tape. it is finishing with in 5 min. But if i try to take the backup of raw device of same size, which is of a mounted file system, the dd command is taking a large time. i unmounted the file system and tried with raw device of that LV, still it is taking more time. is dd is slow on raw device which belongs to mounted file system? what could be the reason?
thanks in advance
ravi
Never Say No
3 REPLIES 3
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-30-2002 04:30 AM
тАО10-30-2002 04:30 AM
Re: dd command
Ravi,
Let me see if I have this right:
(1) a dd of a raw DEVICE of 500MB written to a tape took 5 min
(2) a dd of a MOUNTED filesystem took a lot longer
(3) a dd of (2)'s UNMOUNTED filesystems's LOGICAL VOLUME took even longer than (2)
------------------------------
The (1) looks good! What was "dd" writing to in the above (2) and (3) ????????????????
live free or die
harry
Let me see if I have this right:
(1) a dd of a raw DEVICE of 500MB written to a tape took 5 min
(2) a dd of a MOUNTED filesystem took a lot longer
(3) a dd of (2)'s UNMOUNTED filesystems's LOGICAL VOLUME took even longer than (2)
------------------------------
The (1) looks good! What was "dd" writing to in the above (2) and (3) ????????????????
live free or die
harry
Live Free or Die
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-30-2002 04:33 AM
тАО10-30-2002 04:33 AM
Re: dd command
dd should always be run on the raw logical volume (/dev/vgXX/r-something). The 'r' says that this is raw data and will not go through the buffer cache. It doesn't matter if it is mounted EXCEPT:
1. the data may change during the dd process, thus rendering the copy useless or at least suspect
2. the lvol may be accessed by other processes, thus slowing down access by dd.
Bill Hassell, sysadmin
1. the data may change during the dd process, thus rendering the copy useless or at least suspect
2. the lvol may be accessed by other processes, thus slowing down access by dd.
Bill Hassell, sysadmin
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-30-2002 05:34 AM
тАО10-30-2002 05:34 AM
Re: dd command
ravi,
That looks right to me. I was trying to do some manual mirroring of whole disk volumes a while back and forgot (until the experts here at the forums reminded me) that I should be using raw devices. It took forever until I switched to raw.
Pete
Pete
That looks right to me. I was trying to do some manual mirroring of whole disk volumes a while back and forgot (until the experts here at the forums reminded me) that I should be using raw devices. It took forever until I switched to raw.
Pete
Pete
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.
News and Events
Support
© Copyright 2024 Hewlett Packard Enterprise Development LP