- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- checksum utility
Categories
Company
Local Language
Forums
Discussions
Knowledge Base
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Knowledge Base
Forums
Discussions
- Cloud Mentoring and Education
- Software - General
- HPE OneView
- HPE Ezmeral Software platform
- HPE OpsRamp
Knowledge Base
Discussions
Forums
Discussions
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
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-12-2006 08:03 AM
11-12-2006 08:03 AM
The checksum utility is being used for checking or testing the integrity of binary/text files when these files are transferred between 2 servers/machines or operating system.
my question is; what are the various causes which alters integrity of any files so that it needs to be checked or verified by checksum ?
Thanks,
Shiv
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-12-2006 08:17 AM
11-12-2006 08:17 AM
SolutionProbably the most likely cause of loss of file integrity is a partial file transfer during an FTP (or other transfer) session.
It is also possible to transfer a file that is actively begin written to or modified during the transfer period.
In either case, above, the use of a checksum utility ('cksum' or better yet, 'md5') will provide assurance that the file is the same at both the source and destination points.
Regards!
...JRF...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-12-2006 02:03 PM
11-12-2006 02:03 PM
Re: checksum utility
Bill Hassell, sysadmin
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-12-2006 05:15 PM
11-12-2006 05:15 PM
Re: checksum utility
Integrity of a file needs to be check in order to check the data consistancy on that file , because it may experience some data loss during a file transfer or because of a network issue. checksum utility (cksum) uses a portable algorithm based on a 32-bit Cyclic Redundancy Check. This algorithm finds a broader spectrum of errors than the 16-bit algorithms used by sum.
cksum , uses sum(1) and checks blocks and byte counts of a file. sum is typically used to verify data integrity when copying files
between systems.
For further details: man cksum ; man sum
Cheers,
Raj.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-13-2006 02:45 AM
11-13-2006 02:45 AM
Re: checksum utility
Online files which should be static/unchanged for many years...
Successful file transfer is the most common purpose, but I have also used it to monitor that files do not change over time by accident...
So after the file(s) have been saved you get the checksum of the criticalfile and store it. On regulare basis you verify that the checksum for the file(s) does not change.
If the checksum changes you issue a notification.
A notification could give you opportunity to do a fast recover of the file from backup...
If you happen to find out after N years that a file is corrupt you could have problems knowing which file you should restore...
/2r
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-21-2006 03:41 AM
11-21-2006 03:41 AM
Re: checksum utility
Thanks,
Shiv
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-21-2006 04:31 AM
11-21-2006 04:31 AM
Re: checksum utility
Bill Hassell, sysadmin