hi Jan,
Are you doing this as part of erasing the underlying disk(which we call as reset brick) or replacing the complete brick with a new brick?
If it is replacing and not resetting, considering you are using 3.7.6 version you can use the CLI directly without all these steps.
Just use single command "gluster volume replace-brick <volname> <old-brick> <new-brick> commit force"Are you doing this as part of erasing the underlying disk(which we call as reset brick) or replacing the complete brick with a new brick?
If it is replacing and not resetting, considering you are using 3.7.6 version you can use the CLI directly without all these steps.
We never tested it on FreeBSD though, may be it is a good idea to try this out in a test environment and do it on your production setup. This code does get executed on NetBSD regressions, not sure if that is good enough for FreeBSD.
On Tue, Aug 23, 2016 at 6:18 AM, Jan Michael Martirez <kuku@xxxxxxxxxxxx> wrote:
I can't use replace-bricks.I followed this tutorial: https://gluster.readthedocs.io/en/latest/ Administrator%20Guide/ Managing%20Volumes/#replace- brick I'm stuck with setfattr. I'm using FreeBSD, so I use setextattr instead.Volume Name: drType: Distributed-ReplicateVolume ID: 0ce3038c-55c6-4a4e-9b97-22269bce9d11 Status: StartedNumber of Bricks: 2 x 2 = 4Transport-type: tcpBricks:Brick1: gluster01:/glu1Brick2: gluster02:/glu2Brick3: gluster03:/glu3Brick4: gluster04:/glu4Options Reconfigured:features.shard-block-size: 4MBfeatures.shard: onperformance.readdir-ahead: onroot@gluster01:/mnt/fuse # setextattr system wheel abc /mnt/fuse setextattr: /mnt/fuse: failed: Operation not supportedroot@gluster01:/mnt/fuse # glusterd --versionglusterfs 3.7.6 built on Jul 13 2016 20:32:46
_______________________________________________
Gluster-users mailing list
Gluster-users@xxxxxxxxxxx
http://www.gluster.org/mailman/listinfo/gluster-users
--
Pranith
_______________________________________________ Gluster-users mailing list Gluster-users@xxxxxxxxxxx http://www.gluster.org/mailman/listinfo/gluster-users