Re: Change arbiter brick mount point

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



I think that replace-brick is not the recommended way to do it... yet it's not a bad one.

I would do the following.
1. gluster volume remove-brick VOL replica 2 Arbiter:/path/to/brick force
If you want to reuse the block device , just:
2. umount /path/to/brick && mkfs.xfs -f -i size=512 /dev/arbiter/disk
3. mount /dev/arbiter/disk /new/path/to/brick

Next just add the brick:
gluster volume add-brick VOL replica 3 arbiter 1 Arbiter:/new/path/to/brick


In both cases (the reset-brick and remove/add-brick) you need to work with a fresh new brick .

Best Regards,
Strahil Nikolov






В вторник, 13 октомври 2020 г., 12:36:45 Гринуич+3, Olaf Buitelaar <olaf.buitelaar@xxxxxxxxx> написа: 





Hi Andreas,

Only step 5 should be enough. Remounting would only be required, when all the bricks change their destination.

Best Olaf

Op di 13 okt. 2020 om 11:20 schreef Andreas Kirbach <akirbach@xxxxxxxxxxxxx>:
> Hi,
> 
> I'd like to change the mount point of an arbiter brick in a  1 x (2 + 1) 
> = 3 replicated volume, but I can't seem to find any information on how 
> to do this.
> 
> My idea is
> 1) Stop the arbiter brick
> 2) Unmount the brick
> 3) Change the mount point for the brick
> 4) Mount the brick
> 5) gluster volume replace-brick <volume> <host>:/old/brick/path 
> <host>:/new/brick/path commit force
> 
> Would that be the correct process?
> 
> Kind regards
> Andreas
> 
> -- 
> 
> forumhome GmbH & Co. KG
> Bruchstr. 54a
> 67098 Bad Dürkheim
> Tel.: +49-6322-91 995-15
> Fax:  +49-6322-91 995-19
> 
> Andreas Kirbach
> Technischer Leiter
> 
> akirbach@xxxxxxxxxxxxx
> www.forumhome.com
> 
> Geschäftsführer: Carsten Grentrup
> 
> Handelsregister: Ludwigshafen/ Rhein HRA 60968
> USt-Id: DE 285 908 418
> 
> ----------------------------------
> ----------------------------------
> Forumhome sucht Praktikanten im Bereich Online-Marketing, Webdesign und
> Webbasierte Softwareentwicklung!
> Interesse? Informieren Sie sich unter
> http://de.forumhome.com/content/10-jobs und schicken Sie uns Ihre
> Bewerbungsunterlagen an jobs@xxxxxxxxxxxxx
> Wir freuen uns auf Sie!
> ----------------------------------
> ----------------------------------
> 
> Diese E-Mail enthält vertrauliche oder rechtlich geschützte Informationen.
> Wenn Sie nicht der beabsichtigte Empfänger oder dessen Vertreter sind,
> informieren Sie bitte sofort den Absender und löschen Sie diese E-Mail.
> Das unbefugte Kopieren dieser E-Mail oder die unbefugte Weitergabe der
> enthaltenen Informationen ist nicht gestattet.
> 
> The information contained in this message is confidential or protected
> by law. If you are not the intended recipient, please contact the sender
> and delete this message.
> Any unauthorised copying of this message or unauthorised distribution of
> the information contained herein is prohibited.
> 
> 
> -- 
> Diese E-Mail wurde von Avast Antivirus-Software auf Viren geprüft.
> https://www.avast.com/antivirus
> 
> ________
> 
> 
> 
> Community Meeting Calendar:
> 
> Schedule -
> Every 2nd and 4th Tuesday at 14:30 IST / 09:00 UTC
> Bridge: https://bluejeans.com/441850968
> 
> Gluster-users mailing list
> Gluster-users@xxxxxxxxxxx
> https://lists.gluster.org/mailman/listinfo/gluster-users
> 
________



Community Meeting Calendar:

Schedule -
Every 2nd and 4th Tuesday at 14:30 IST / 09:00 UTC
Bridge: https://bluejeans.com/441850968

Gluster-users mailing list
Gluster-users@xxxxxxxxxxx
https://lists.gluster.org/mailman/listinfo/gluster-users
________



Community Meeting Calendar:

Schedule -
Every 2nd and 4th Tuesday at 14:30 IST / 09:00 UTC
Bridge: https://bluejeans.com/441850968

Gluster-users mailing list
Gluster-users@xxxxxxxxxxx
https://lists.gluster.org/mailman/listinfo/gluster-users




[Index of Archives]     [Gluster Development]     [Linux Filesytems Development]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Bugtraq]     [Linux OMAP]     [Linux MIPS]     [eCos]     [Asterisk Internet PBX]     [Linux API]

  Powered by Linux