[Gluster-users] GlusterFS Changing Hash of Large Files?
runmatt at live.com
Sat Jul 27 13:30:31 UTC 2019
Hi Ravishankar - I figured out the issue. The 4th node was showing "online" under 'gluster peer status' as well as 'gluster volume status' - but 'gluster volume status' wasn't showing a TCP port for that 4th node. When I opened 49152 in firewalld and then re-copied the ISO, the hash didn't change.
So, now I guess the question would be, why would having one malfunctioning node override 3 functioning nodes and cause a file to be altered? I wasn't performing the initial copy onto the malfunctioning node.
matt at docker1:~$ sudo glusterfs --version
matt at docker1:~$ sudo gluster volume info
Volume Name: swarm-vols
Volume ID: 0b51e6b3-786e-454e-8a16-89b47e94828a
Snapshot Count: 0
Number of Bricks: 1 x 4 = 4
From: Ravishankar N <ravishankar at redhat.com>
Sent: Saturday, July 27, 2019 2:04 AM
To: Matthew Evans <runmatt at live.com>; gluster-users at gluster.org <gluster-users at gluster.org>
Subject: Re: [Gluster-users] GlusterFS Changing Hash of Large Files?
On 26/07/19 6:50 PM, Matthew Evans wrote:
I've got a new glusterfs 4 node replica cluster running under CentOS 7. All hosts are backed by SSD drives and are connected to a 1Gbps Ethernet network. 3 nodes are running on CentOS 7 under ESXi on the same physical host, 1 is running on CentOS 7 under Hyper-V. I use this for my docker swarm persistent storage and all seems to work well.
Yesterday however, I copied a 4GB .ISO file to my volume for a friend to download. I noticed the SHA256 hash of the ISO was altered. I downloaded a fresh copy to my desktop, verified the hash, scp'd it to the local glusterfs host storage and again, re-verified the hash. The moment I copied it to my glusterfs volume, the file hash changed. When my friend downloaded the ISO, his hash matched changed hash.
Can you provide the below details?
- glusterfs version
-`gluster volume info`
I am new to glusterfs, having deployed this as my first cluster ever about a week ago. Can someone help me work through why this file's hash would be changing?
Gluster-users mailing list
Gluster-users at gluster.org<mailto:Gluster-users at gluster.org>
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Gluster-users