HPE GreenLake Administration
- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Using dd to copy a filesystem
Operating System - HP-UX
1830310
Members
2372
Online
110000
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
09-07-2007 09:28 AM
09-07-2007 09:28 AM
I would like to use dd to copy a filesystem from one lvol to another.
Will this work and should I use the raw or cooked lvol?
e.g.
dd if=/dev/vg03/rlvol3 of=/dev/vg04/rlvol3 bs=1024K
Thank you in advance.
Will this work and should I use the raw or cooked lvol?
e.g.
dd if=/dev/vg03/rlvol3 of=/dev/vg04/rlvol3 bs=1024K
Thank you in advance.
Solved! Go to Solution.
3 REPLIES 3
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-07-2007 09:35 AM
09-07-2007 09:35 AM
Solution
As long as the destination LVOL is at least as large as the source that will work just fine --- and yes, you want the raw (character) device nodes. The filesystem should be unmounted before the dd is run.
If it ain't broke, I can fix that.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-07-2007 09:35 AM
09-07-2007 09:35 AM
Re: Using dd to copy a filesystem
Hi Bill:
Use the raw filesystem and a large blocksize as you have shown for the best performance. There is no sense to invoking the buffer cache by using the cooked device files.
The source and target filesystems should not be mounted during the copy and an 'fsck' afterwards is advisable.
Regards!
...JRF...
Use the raw filesystem and a large blocksize as you have shown for the best performance. There is no sense to invoking the buffer cache by using the cooked device files.
The source and target filesystems should not be mounted during the copy and an 'fsck' afterwards is advisable.
Regards!
...JRF...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-07-2007 09:40 AM
09-07-2007 09:40 AM
Re: Using dd to copy a filesystem
Thank you both!
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