<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
</head>
<body>
<div class="moz-cite-prefix"><font face="FreeSerif">FYI, I will be
traveling for the next week, and may not see email much until
then.<br>
<br>
Your questions...<br>
</font><br>
On 8/31/24 04:59, Strahil Nikolov wrote:<br>
</div>
<blockquote type="cite"
cite="mid:416177026.1154827.1725094788261@mail.yahoo.com">One
silly question: Did you try adding some files on the source volume
after the georep was created ?</blockquote>
<br>
<font face="FreeSerif">Yes. I wondered that, too, whether geo-rep
would not start simply because there was nothing to do. But yes,
there are a few files created after the geo-rep session was
created. And status remains just "Created."</font><br>
<br>
<blockquote type="cite"
cite="mid:416177026.1154827.1725094788261@mail.yahoo.com">
<div>Can you share the output of your version of '<span
style="white-space-collapse: preserve;">sh -x
/usr/libexec/glusterfs/gverify.sh masterVol slaveUser
slaveHost slaveVol sshPort logFileName' check ?</span></div>
</blockquote>
<br>
<font face="monospace">sh -x /usr/libexec/glusterfs/gverify.sh j
geoacct pms n 7887 /tmp/logger<br>
+ BUFFER_SIZE=104857600<br>
+ SSH_PORT=7887<br>
++ gluster --print-logdir<br>
+
primary_log_file=/var/log/glusterfs/geo-replication/gverify-primarymnt.log<br>
++ gluster --print-logdir<br>
+
secondary_log_file=/var/log/glusterfs/geo-replication/gverify-secondarymnt.log<br>
+ main j geoacct pms n 7887 /tmp/logger<br>
+ log_file=/tmp/logger<br>
+ inet6=<br>
+ local cmd_line<br>
+ local ver<br>
+ ping_host pms 7887<br>
+ '[' 0 -ne 0 ']'<br>
+ [[ -z '' ]]<br>
+ ssh -p 7887 -oNumberOfPasswordPrompts=0
-oStrictHostKeyChecking=no geoacct@pms 'echo
Testing_Passwordless_SSH'<br>
Testing_Passwordless_SSH<br>
+ '[' 0 -ne 0 ']'<br>
++ cmd_secondary<br>
++ local cmd_line<br>
+++ cat<br>
++ cmd_line='function do_verify() {<br>
ver=$(gluster --version | head -1 | cut -f2 -d " ");<br>
echo $ver;<br>
};<br>
source /etc/profile && do_verify;'<br>
++ echo function 'do_verify()' '{' 'ver=$(gluster' --version '|'
head -1 '|' cut -f2 -d '"' '");' echo '$ver;' '};' source
/etc/profile '&&' 'do_verify;'<br>
+ cmd_line='function do_verify() { ver=$(gluster --version | head
-1 | cut -f2 -d " "); echo $ver; }; source /etc/profile &&
do_verify;'<br>
+ [[ -z '' ]]<br>
++ ssh -p 7887 -oNumberOfPasswordPrompts=0
-oStrictHostKeyChecking=no geoacct@pms bash -c ''\''function
do_verify() { ver=$(gluster --version | head -1 | cut -f2 -d " ");
echo $ver; }; source /etc/profile && do_verify;'\'''<br>
+ ver=11.1<br>
+ '[' -z 11.1 ']'<br>
+ ERRORS=0<br>
++ primary_stats j<br>
++ PRIMARYVOL=j<br>
++ local inet6=<br>
++ local d<br>
++ local i<br>
++ local disk_size<br>
++ local used_size<br>
++ local ver<br>
++ local m_status<br>
+++ mktemp -d -t gverify.sh.XXXXXX<br>
++ d=/tmp/gverify.sh.7QpBxa<br>
++ '[' '' = inet6 ']'<br>
++ glusterfs -s localhost
'--xlator-option=*dht.lookup-unhashed=off' --volfile-id j -l
/var/log/glusterfs/geo-replication/gverify-primarymnt.log
/tmp/gverify.sh.7QpBxa<br>
+++ get_inode_num /tmp/gverify.sh.7QpBxa<br>
+++ local os<br>
+++ case `uname -s` in<br>
++++ uname -s<br>
+++ os=Linux<br>
+++ [[ XLinux = \X\N\e\t\B\S\D ]]<br>
++++ stat -c %i /tmp/gverify.sh.7QpBxa<br>
+++ echo 1<br>
++ i=1<br>
++ [[ 1 -ne 1 ]]<br>
++ cd /tmp/gverify.sh.7QpBxa<br>
+++ disk_usage /tmp/gverify.sh.7QpBxa<br>
+++ local os<br>
+++ case `uname -s` in<br>
+++ awk '{print $2}'<br>
++++ uname -s<br>
+++ os=Linux<br>
+++ [[ XLinux = \X\N\e\t\B\S\D ]]<br>
++++ df -P -B1 /tmp/gverify.sh.7QpBxa<br>
++++ tail -1<br>
+++ echo localhost:j 286755311616 2869571584 283885740032 2%
/tmp/gverify.sh.7QpBxa<br>
++ disk_size=286755311616<br>
+++ disk_usage /tmp/gverify.sh.7QpBxa<br>
+++ local os<br>
+++ case `uname -s` in<br>
+++ awk '{print $3}'<br>
++++ uname -s<br>
+++ os=Linux<br>
+++ [[ XLinux = \X\N\e\t\B\S\D ]]<br>
++++ df -P -B1 /tmp/gverify.sh.7QpBxa<br>
++++ tail -1<br>
+++ echo localhost:j 286755311616 2869571584 283885740032 2%
/tmp/gverify.sh.7QpBxa<br>
++ used_size=2869571584<br>
++ umount_lazy /tmp/gverify.sh.7QpBxa<br>
++ local os<br>
++ case `uname -s` in<br>
+++ uname -s<br>
++ os=Linux<br>
++ [[ XLinux = \X\N\e\t\B\S\D ]]<br>
++ umount -l /tmp/gverify.sh.7QpBxa<br>
++ rmdir /tmp/gverify.sh.7QpBxa<br>
+++ gluster --version<br>
+++ head -1<br>
+++ cut -f2 -d ' '<br>
++ ver=11.1<br>
+++ echo 286755311616:2869571584:11.1<br>
++ m_status=286755311616:2869571584:11.1<br>
++ echo 286755311616:2869571584:11.1<br>
+ primary_data=286755311616:2869571584:11.1<br>
++ secondary_stats geoacct pms n<br>
++ set -x<br>
++ SECONDARYUSER=geoacct<br>
++ SECONDARYHOST=pms<br>
++ SECONDARYVOL=n<br>
++ local inet6=<br>
++ local cmd_line<br>
++ local ver<br>
++ local status<br>
+++ mktemp -d -t gverify.sh.XXXXXX<br>
++ d=/tmp/gverify.sh.WqWlni<br>
++ '[' '' = inet6 ']'<br>
++ glusterfs '--xlator-option=*dht.lookup-unhashed=off'
--volfile-server pms --volfile-id n -l
/var/log/glusterfs/geo-replication/gverify-secondarymnt.log
/tmp/gverify.sh.WqWlni<br>
+++ get_inode_num /tmp/gverify.sh.WqWlni<br>
+++ local os<br>
+++ case `uname -s` in<br>
++++ uname -s<br>
+++ os=Linux<br>
+++ [[ XLinux = \X\N\e\t\B\S\D ]]<br>
++++ stat -c %i /tmp/gverify.sh.WqWlni<br>
+++ echo 1<br>
++ i=1<br>
++ [[ 1 -ne 1 ]]<br>
++ cd /tmp/gverify.sh.WqWlni<br>
+++ disk_usage /tmp/gverify.sh.WqWlni<br>
+++ local os<br>
+++ case `uname -s` in<br>
+++ awk '{print $2}'<br>
++++ uname -s<br>
+++ os=Linux<br>
+++ [[ XLinux = \X\N\e\t\B\S\D ]]<br>
++++ df -P -B1 /tmp/gverify.sh.WqWlni<br>
++++ tail -1<br>
+++ echo pms:n 286755311616 2868690944 283886620672 2%
/tmp/gverify.sh.WqWlni<br>
++ disk_size=286755311616<br>
+++ disk_usage /tmp/gverify.sh.WqWlni<br>
+++ local os<br>
+++ awk '{print $3}'<br>
+++ case `uname -s` in<br>
++++ uname -s<br>
+++ os=Linux<br>
+++ [[ XLinux = \X\N\e\t\B\S\D ]]<br>
++++ df -P -B1 /tmp/gverify.sh.WqWlni<br>
++++ tail -1<br>
+++ echo pms:n 286755311616 2868690944 283886620672 2%
/tmp/gverify.sh.WqWlni<br>
++ used_size=2868690944<br>
+++ find /tmp/gverify.sh.WqWlni -maxdepth 1 -path
/tmp/gverify.sh.WqWlni/.trashcan -prune -o -path
/tmp/gverify.sh.WqWlni -o -print0 -quit<br>
++ no_of_files=<br>
++ umount_lazy /tmp/gverify.sh.WqWlni<br>
++ local os<br>
++ case `uname -s` in<br>
+++ uname -s<br>
++ os=Linux<br>
++ [[ XLinux = \X\N\e\t\B\S\D ]]<br>
++ umount -l /tmp/gverify.sh.WqWlni<br>
++ rmdir /tmp/gverify.sh.WqWlni<br>
+++ cmd_secondary<br>
+++ local cmd_line<br>
++++ cat<br>
+++ cmd_line='function do_verify() {<br>
ver=$(gluster --version | head -1 | cut -f2 -d " ");<br>
echo $ver;<br>
};<br>
source /etc/profile && do_verify;'<br>
+++ echo function 'do_verify()' '{' 'ver=$(gluster' --version '|'
head -1 '|' cut -f2 -d '"' '");' echo '$ver;' '};' source
/etc/profile '&&' 'do_verify;'<br>
++ cmd_line='function do_verify() { ver=$(gluster --version | head
-1 | cut -f2 -d " "); echo $ver; }; source /etc/profile &&
do_verify;'<br>
+++ SSHM geoacct@pms bash -c ''\''function do_verify() {
ver=$(gluster --version | head -1 | cut -f2 -d " "); echo $ver; };
source /etc/profile && do_verify;'\'''<br>
+++ [[ -z '' ]]<br>
+++ ssh -p 7887 -q -oPasswordAuthentication=no
-oStrictHostKeyChecking=no -oControlMaster=yes geoacct@pms bash -c
''\''function do_verify() { ver=$(gluster --version | head -1 |
cut -f2 -d " "); echo $ver; }; source /etc/profile &&
do_verify;'\'''<br>
shell-init: error retrieving current directory: getcwd: cannot
access parent directories: No such file or directory<br>
++ ver=11.1<br>
++ status=286755311616:2868690944:11.1:<br>
++ echo 286755311616:2868690944:11.1:<br>
++ set +x<br>
+ secondary_data=286755311616:2868690944:11.1:<br>
++ echo 286755311616:2869571584:11.1<br>
++ cut -f1 -d:<br>
+ primary_disk_size=286755311616<br>
++ echo 286755311616:2868690944:11.1:<br>
++ cut -f1 -d:<br>
+ secondary_disk_size=286755311616<br>
++ echo 286755311616:2869571584:11.1<br>
++ cut -f2 -d:<br>
+ primary_used_size=2869571584<br>
++ echo 286755311616:2868690944:11.1:<br>
++ cut -f2 -d:<br>
+ secondary_used_size=2868690944<br>
++ echo 286755311616:2869571584:11.1<br>
++ cut -f3 -d:<br>
+ primary_version=11.1<br>
++ echo 286755311616:2868690944:11.1:<br>
++ cut -f3 -d:<br>
+ secondary_version=11.1<br>
++ echo 286755311616:2868690944:11.1:<br>
++ cut -f4 -d:<br>
+ secondary_no_of_files=<br>
+ [[ x286755311616 = \x ]]<br>
+ [[ x11.1 = \x ]]<br>
+ [[ 286755311616 -eq 0 ]]<br>
+ [[ x286755311616 = \x ]]<br>
+ [[ x11.1 = \x ]]<br>
+ [[ 286755311616 -eq 0 ]]<br>
+ '[' 286755311616 -lt 286755311616 ']'<br>
+ effective_primary_used_size=2974429184<br>
+ secondary_available_size=283886620672<br>
+ primary_available_size=283780882432<br>
+ '[' 283886620672 -lt 283780882432 ']'<br>
+ '[' '!' -z ']'<br>
+ [[ 11.1 != 11.1 ]]<br>
+ exit 0</font><br>
</body>
</html>