We recently found a Brick dropped in a gluster distributed file system cluster that has been running for about half a year. Volume Name: web-volumeType: ReplicateVolume ID: cd9bf5ad-1b5f-404b-8279-6de12b8838ecStatus: StartedNumber of Bricks: 1 x 3 = 3Transport-type: tcpBricks:Brick1: 10.48.83.204:/data/gfsBrick2: 10.48.83.200:/Data/gfsBrick3: 10.48.83.196:/data/gfsStatus of volume: web-volumeGluster process Port Online Pid——————————————&mdash ;———————————Brick 10.48.83.204:/data/gfs 49152 Y 1791Brick 10.48.83.200:/data/gfs 49152 Y 17406Brick 10.48.83.196: /data/gfs N/ANN/A
This node is an SSD disk, which is caused by IO failures due to SSDs. We decided to take the node offline and replace it with a new SSD. Our GFS file system content data did not affect the replacement process. This is due to GlusterFS, which is not what we want to express today. Today we mainly talk about how to rejoin the new SSD node brick into the cluster. 1. Mount /data/of node 196. 2. We need to first get the file extension attribute of GFS (on the normal node), as follows: [[email protected] ~]# getfattr -d -m ‘. *’ /data/gfsgetfattr: Removing leading ‘/’ from absolute path names# file: data/gfstrusted.afr.web-volume-client-0=0sAAAAAAAAAAAAAAAAtrusted.afr.web-volume-client-1=0sAAAAAAAAAAAAAAAAtrusted. Afr.web-volume-client-2=0sAAAAAAAAAAAAAAAAtrusted.gfid=0sAAAAAAAAAAAAAAAAAAAAAQ== ; get the value of trusted.gfidtrusted.glusterfs.dht=0sAAAAAQAAAAAAAAAA/////w==trusted.glusterfs.volume-id=0szZv1rRtfQEuCeW3hK4g47A== Get the value of trusted.glusterfs.volume-id 3. Set the gfs folder extension property of 196 as follows: setfattr -n trusted.glusterfs.volume-id -v 0szZv1rRtfQEuCeW3hK4g47A== /data/gfssetfattr -n trusted.gfid -v 0sAAAAAAAAAAAAAAAAAAAAAQ== /data/gfs4. Restart the GFS service {/etc/init.d/glusterd restart}5.@196 Execute getfattr -d -m ‘.*’ /data/gfs; Join! The data will be synchronized like Raid1, and if your cluster is striped, it will be the same.
This article describes the solution when encountering is not in the sudoers file during Linux use. W
We have been doing a task in the usual way until we know there is a better way to handle it. As a fo
One of the benefits of learning Linux is that you can understand how the hardware works and the pri
Git as the worlds most advanced distributed version control system (no one), presumably many people
The relationship between spinlock and linux kernel scheduling
Neighbor subsystem of linux protocol stack (related process 4)
Linux system security optimization in several directions
Linux rc.local self-starting service
The linux shell implements multiple methods of random numbers (date, random, uuid)
The difference between linux lightweight process and ordinary process
Method of installing Linux (CentOS) system through the network
How to configure multiple network cards in redhat linux 6 version of bonding
Linux system prompts "cannot overwrite existing file" solution
Linux system network card binding implementation tutorial
The reason why the driver of the single-chip microcomputer should be set to low level is
How to retrieve the Win7 local connection?
Win10 build 9926 start menu no response how to do?
How to modify the default installation location of Win10 application
Win8 calls the game manager skills
The little-known use experience in the xp system is shared
Win10 boot black screen English how to do
WinXP system network can not visit the seven major solutions
VMware clone Linux prompt eth0 can not find what to do?