- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- dd commmand
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
11-25-2003 07:47 AM
11-25-2003 07:47 AM
/dev/vg01/lvol1 => 20GB
This file system contains only 200MB data.
/dev/vg03/lvol3 => 10GB
dd if=/dev/vg01/lvol1 of=/dev/vg03/lvol3 bs=64k
I try to reduce new file system because it doesn't need 20GB space.
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-25-2003 07:54 AM
11-25-2003 07:54 AM
Re: dd commmand
# cd /source_directory
# find . -depth | cpio -pdmv /target_directory.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-25-2003 07:54 AM
11-25-2003 07:54 AM
Re: dd commmand
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-25-2003 07:54 AM
11-25-2003 07:54 AM
SolutionSince the current need is only 200Mb, I would suggest something like tar or pax.
I don't have the manual of pax by hand, but with tar it would be something like this:
cd
pax has an easier way by using -rw, but I don't know the options to keep permissions etc the same.
cp -rp might even suffice.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-25-2003 07:56 AM
11-25-2003 07:56 AM
Re: dd commmand
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-25-2003 07:58 AM
11-25-2003 07:58 AM
Re: dd commmand
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-25-2003 07:58 AM
11-25-2003 07:58 AM
Re: dd commmand
I ran fsck after finishing the task and then could mount the file system.
However, the problem is that there is a read error with one file in the file system.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-25-2003 08:04 AM
11-25-2003 08:04 AM
Re: dd commmand
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-25-2003 08:05 AM
11-25-2003 08:05 AM
Re: dd commmand
# newfs -F fs_name /dev/vgXX/rlvolX
This will erase the file system errors. But if 'dd' or 'stm' returned an I/O error, that's possibly a hardware error, which needs that disk to be replaced.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-25-2003 08:12 AM
11-25-2003 08:12 AM
Re: dd commmand
The situation is now like this: You are told to go to 20001 Main Street but we forgot to tell you that we blew up everything past 10000 Main Street.