Discussion:
[Gluster-users] Problem migration 3.7.6 to 3.13.2
Daniele Frulla
2018-02-23 09:42:31 UTC
Permalink
I have done a migration to new version of gluster but
when i doing a command

df -h

the result of space are minor of total.

Configuration:
2 peers

Brick serda2:/glusterfs/p2/b2 49152 0 Y
1560
Brick serda1:/glusterfs/p2/b2 49152 0 Y
1462
Brick serda1:/glusterfs/p1/b1 49153 0 Y
1476
Brick serda2:/glusterfs/p1/b1 49153 0 Y
1566
Self-heal Daemon on localhost N/A N/A Y
1469
Self-heal Daemon on serda1 N/A N/A Y
1286

Thanks
Nithya Balachandran
2018-02-23 12:07:33 UTC
Permalink
Hi Daniele,

Do you mean that the df -h output is incorrect for the volume post the
upgrade?

If yes and the bricks are on separate partitions, you might be running into
[1]. Can you search for the string "option shared-brick-count" in the files
in /var/lib/glusterd/vols/<volumename> and let us know the value? The
workaround to get this working on the cluster is available in [2].

[1] https://bugzilla.redhat.com/show_bug.cgi?id=1517260
[2] https://bugzilla.redhat.com/show_bug.cgi?id=1517260#c19


Regards,
Nithya
Post by Daniele Frulla
I have done a migration to new version of gluster but
when i doing a command
df -h
the result of space are minor of total.
2 peers
Brick serda2:/glusterfs/p2/b2 49152 0 Y
1560
Brick serda1:/glusterfs/p2/b2 49152 0 Y
1462
Brick serda1:/glusterfs/p1/b1 49153 0 Y
1476
Brick serda2:/glusterfs/p1/b1 49153 0 Y
1566
Self-heal Daemon on localhost N/A N/A Y
1469
Self-heal Daemon on serda1 N/A N/A Y
1286
Thanks
_______________________________________________
Gluster-users mailing list
http://lists.gluster.org/mailman/listinfo/gluster-users
Daniele Frulla
2018-02-23 14:36:23 UTC
Permalink
Thanks for replay. I founded this values

datastore_temp.serda1.glusterfs-p1-b1.vol: option shared-brick-count 2
datastore_temp.serda1.glusterfs-p2-b2.vol: option shared-brick-count 2
datastore_temp.serda2.glusterfs-p1-b1.vol: option shared-brick-count 0
datastore_temp.serda2.glusterfs-p2-b2.vol: option shared-brick-count 0

I need to change the values of serda2 node?!
Post by Nithya Balachandran
Hi Daniele,
Do you mean that the df -h output is incorrect for the volume post the
upgrade?
If yes and the bricks are on separate partitions, you might be running
into [1]. Can you search for the string "option shared-brick-count" in
the files in /var/lib/glusterd/vols/<volumename> and let us know the
value? The workaround to get this working on the cluster is available in
[2].
[1] https://bugzilla.redhat.com/show_bug.cgi?id=1517260
[2] https://bugzilla.redhat.com/show_bug.cgi?id=1517260#c19
Regards,
Nithya
Post by Daniele Frulla
I have done a migration to new version of gluster but
when i doing a command
df -h
the result of space are minor of total.
2 peers
Brick serda2:/glusterfs/p2/b2 49152 0 Y
1560
Brick serda1:/glusterfs/p2/b2 49152 0 Y
1462
Brick serda1:/glusterfs/p1/b1 49153 0 Y
1476
Brick serda2:/glusterfs/p1/b1 49153 0 Y
1566
Self-heal Daemon on localhost N/A N/A Y
1469
Self-heal Daemon on serda1 N/A N/A Y
1286
Thanks
_______________________________________________
Gluster-users mailing list
http://lists.gluster.org/mailman/listinfo/gluster-users
Nithya Balachandran
2018-02-23 14:56:56 UTC
Permalink
Post by Daniele Frulla
Thanks for replay. I founded this values
datastore_temp.serda1.glusterfs-p1-b1.vol: option shared-brick-count 2
datastore_temp.serda1.glusterfs-p2-b2.vol: option shared-brick-count 2
datastore_temp.serda2.glusterfs-p1-b1.vol: option shared-brick-count 0
datastore_temp.serda2.glusterfs-p2-b2.vol: option shared-brick-count 0
I need to change the values of serda2 node?!
No, please do not change these files. You need to preform the steps listed
in
https://bugzilla.redhat.com/show_bug.cgi?id=1517260#c19 on your cluster
(copy the shell script, volume set etc). That should fix this.

Regards,
Nithya
Post by Daniele Frulla
Post by Nithya Balachandran
Hi Daniele,
Do you mean that the df -h output is incorrect for the volume post the
upgrade?
If yes and the bricks are on separate partitions, you might be running
into [1]. Can you search for the string "option shared-brick-count" in
the files in /var/lib/glusterd/vols/<volumename> and let us know the
value? The workaround to get this working on the cluster is available in
[2].
[1] https://bugzilla.redhat.com/show_bug.cgi?id=1517260
[2] https://bugzilla.redhat.com/show_bug.cgi?id=1517260#c19
Regards,
Nithya
Post by Daniele Frulla
I have done a migration to new version of gluster but
when i doing a command
df -h
the result of space are minor of total.
2 peers
Brick serda2:/glusterfs/p2/b2 49152 0 Y
1560
Brick serda1:/glusterfs/p2/b2 49152 0 Y
1462
Brick serda1:/glusterfs/p1/b1 49153 0 Y
1476
Brick serda2:/glusterfs/p1/b1 49153 0 Y
1566
Self-heal Daemon on localhost N/A N/A Y
1469
Self-heal Daemon on serda1 N/A N/A Y
1286
Thanks
_______________________________________________
Gluster-users mailing list
http://lists.gluster.org/mailman/listinfo/gluster-users
Loading...