Questions tagged [checksum]

70 questions
3
votes
2 answers

Checksumming mysql replicas over ssl

After hours of struggling to understand the way percona toolkits (2.1) pt-table-checksum works, I try to try you. Situation Running MySQL replication (Master-active:Master:passive) Slave user is required to connect via SSL pt-table-checksum can´t…
Ruben
  • 31
  • 3
3
votes
1 answer

huge packet loss and checksum errors

Our 2008 server began to work very slowly within 2 weeks. Our web sites (iis 7.5) are loading very slowly and sometimes its freezing. We began testing with wireshark and saw that our packets are lost during transmission. The client demands the…
Kamil Ovacık
  • 49
  • 1
  • 2
3
votes
3 answers

CentOS 6 on Hyper-V - network adapter doesn't work (no checksum feature)

I have installed CentOS 6.0 on Hyper-V Server 2008 R2 SP1. VM has only synthetic network adapter enabled. Installation was successfull (without any network), then I installed Linux Integration Services 3.1 from ISO, everything OK too. Now all…
Jan Svab
  • 103
  • 1
  • 2
  • 10
3
votes
2 answers

SCP - Is a checksum required?

I'm backing up and transferring files automatically each night via scp. I realize I get packet-level checksums via the protocol itself, but I'm wondering what the best practice is to ensure that a transfer hasn't failed, or partially completed…
Scott Klarenbach
  • 569
  • 2
  • 8
  • 20
3
votes
2 answers

daily rsync backups with hard links, checksums, and a new computer

I backup my laptop to a Fedora desktop daily using rsync with hard links. This has worked great for almost a year. I recently purchased a new computer, transferred over my data, and would like to continue backing up this computer daily. However, due…
user75058
  • 43
  • 4
3
votes
1 answer

File corruption (bad checksums) in large files copied to VMware guest

In setting up a development lab, I've got a desktop system running ESXi 4.1.0 (free license) on SATA RAID 0 (already purchased and configured when I started this job; I'm open to hardware input as it pertains to my problem.) Its guests so far…
AllanA
  • 91
  • 1
  • 4
3
votes
4 answers

Is there a generic filesystem checksum tool for Linux?

EDIT: clarify context I have several loosely synchronized filesystems on different machines. (some content is redundant, some is not, things get moved by hand by the users). These are large scientifical datasets (many tens of terabytes); They move…
b0fh
  • 3,313
  • 1
  • 21
  • 32
2
votes
1 answer

gpg: no valid OpenPGP data found

I am trying to make sense of the following two serverfault posts: How to verify a file using an asc signature file? and gpg --import bind-9.9.4.tar.gz.sha1.asc fails with no valid OpenPGP data found In my case here is what I do : $ wget…
malat
  • 196
  • 2
  • 11
2
votes
2 answers

Why isn't TCP corruption more noticeable?

First of all, apologies if this seems a somewhat simplistic question. According to this answer, TCP packets are corrupted all the time without the checksum catching it. If this happens so often, why is it not more noticeable? Shouldn't this result…
dt-rush
  • 23
  • 4
2
votes
1 answer

Is it possible to disable zfs self-healing without disabling checksums?

I would like to disable ZFS self-healing in case of scenario as described here: https://pthree.org/2013/12/10/zfs-administration-appendix-c-why-you-should-use-ecc-ram/ In that scenario bad RAM (ECC or non-ECC) in combination with self-healing causes…
Mathieu
  • 21
  • 1
2
votes
2 answers

Check if MySQL Replication is in sync

The MySQL documentation about CHECKSUM TABLE is very minimalistic. My question: Is CHECKSUM TABLE a good way of checking if a MySQL Slave Table is in sync with the master? In other words: Can i use the checksums to verify that the slave table is…
Informant
  • 23
  • 1
  • 3
2
votes
1 answer

Check all debian binaries against the checksum of the original

I would like to check all binaries on my server against dpkg -e (for example rkhunter could do this check against the originals when doing probupdate) How could I check all packages with one script?
rubo77
  • 2,469
  • 4
  • 34
  • 66
2
votes
4 answers

Why is the TCP checksum inverted?

From the Wikipedia page: The checksum field is the 16 bit one's complement of the one's complement sum of all 16-bit words in the header and text. Why, after summing the 16-bits in the header and text, is the one's complement taken to compute the…
Randomblue
  • 1,165
  • 5
  • 16
  • 33
2
votes
1 answer

Gzip command to produce exact same output than tar -cvzf?

I did thought the following commands where equivalent, but they produce different checksums: tar -cvzf ... and tar -cvf ...; gzip ... does not produce the same output. sha1sumdiffers. What would be the gzip command that would perfectly match the tar…
Olivier
  • 415
  • 3
  • 5
  • 15
2
votes
2 answers

Network boot (PXE) and caching of files

I'm looking into changing how to deploy network boot for clusters of servers. My worry is network transfer since not all boxes will be close to boot servers and network might be slow. The machines have ordinary disks etc, we are storing data…
Bjorn J
  • 123
  • 4