- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Verify copy completed OK
Operating System - HP-UX
1753506
Members
6786
Online
108794
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
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
тАО02-09-2010 02:38 PM
тАО02-09-2010 02:38 PM
Hi,
I do cp of single .tar file (or scp) between Unix-to-Unix boxes. And need to verify how it went counting. That's what I have to do, don't have an option to argue, despite I'm doing md5 check.
so I'm thinking how to do it better and compact, the only idea I have to create file on source < ls -l file_mask* | wc - l and then do the same on target after tar -x. and compare those values from both files.
Will appreciate your opinion.
Tx
J
P.S. Overall on you practice after cp or scp between Unix boxes do we need to do any extra vlaidation or we can expect that we get some system error msg if something goes wrong.
Tx again
j
I do cp of single .tar file (or scp) between Unix-to-Unix boxes. And need to verify how it went counting
so I'm thinking how to do it better and compact, the only idea I have to create file on source < ls -l file_mask* | wc - l and then do the same on target after tar -x. and compare those values from both files.
Will appreciate your opinion.
Tx
J
P.S. Overall on you practice after cp or scp between Unix boxes do we need to do any extra vlaidation or we can expect that we get some system error msg if something goes wrong.
Tx again
j
Solved! Go to Solution.
3 REPLIES 3
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-09-2010 03:03 PM
тАО02-09-2010 03:03 PM
Solution
Hi:
Comparing the 'md5dum' for the source and destination 'tar' file should be your strongest integrity check following a copy operation. You could run 'md5sum' with the '-k' option to -k option to generate a three-column value of the hash, file-size and file name.
Regards!
...JRF...
Comparing the 'md5dum' for the source and destination 'tar' file should be your strongest integrity check following a copy operation. You could run 'md5sum' with the '-k' option to -k option to generate a three-column value of the hash, file-size and file name.
Regards!
...JRF...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-09-2010 03:20 PM
тАО02-09-2010 03:20 PM
Re: Verify copy completed OK
Shalom,
md5dum
Does not ship with the OS.
It is available I think at http://software.hp.com
or
http://hpux.connect.org.uk/hppd/hpux/Sysadmin/md5-1.00/
SEP
md5dum
Does not ship with the OS.
It is available I think at http://software.hp.com
or
http://hpux.connect.org.uk/hppd/hpux/Sysadmin/md5-1.00/
SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-11-2010 06:37 AM
тАО02-11-2010 06:37 AM
Re: Verify copy completed OK
>And need to verify how it went counting .
>That's what I have to do, don't have an option to argue, despite I'm doing md5 check.
Yepp, md5sum is the rock-solid solution for integrity checking. But ok, so you were told by some manager to count the number of files. In this case I would try to run "tar -tvf" and count the output lines with " | wc -l" on both sides and see if there's any difference.
>That's what I have to do, don't have an option to argue, despite I'm doing md5 check.
Yepp, md5sum is the rock-solid solution for integrity checking. But ok, so you were told by some manager to count the number of files. In this case I would try to run "tar -tvf" and count the output lines with " | wc -l" on both sides and see if there's any difference.
****
Unix operates with beer.
Unix operates with beer.
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