<html><head><meta http-equiv="Content-Type" content="text/html charset=utf-8"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class=""><div class=""></div><br class=""><div><blockquote type="cite" class=""><div class="">Il giorno 03 ott 2018, alle ore 23:12, Mauro Tridici <<a href="mailto:mauro.tridici@cmcc.it" class="">mauro.tridici@cmcc.it</a>> ha scritto:</div><br class="Apple-interchange-newline"><div class=""><meta http-equiv="Content-Type" content="text/html charset=utf-8" class=""><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class=""><div class=""><br class=""></div><div class="">Hi Nithya,</div><div class=""><br class=""></div><div class="">I created and executed the following simple script in order to check each brick content.</div><div class=""><br class=""></div><div class="">---</div><div class=""><div style="margin: 0px; line-height: normal; font-family: 'Courier New'; color: rgb(184, 180, 59); background-color: rgb(0, 0, 0);" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">#!/bin/bash</span></div><div style="margin: 0px; line-height: normal; font-family: 'Courier New'; color: rgb(184, 180, 59); background-color: rgb(0, 0, 0); min-height: 18px;" class=""><span style="font-variant-ligatures: no-common-ligatures" class=""></span><br class=""></div><div style="margin: 0px; line-height: normal; font-family: 'Courier New'; color: rgb(184, 180, 59); background-color: rgb(0, 0, 0);" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">for i in {1..12}</span></div><div style="margin: 0px; line-height: normal; font-family: 'Courier New'; color: rgb(184, 180, 59); background-color: rgb(0, 0, 0);" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">do</span></div><div style="margin: 0px; line-height: normal; font-family: 'Courier New'; color: rgb(184, 180, 59); background-color: rgb(0, 0, 0); min-height: 18px;" class=""><span style="font-variant-ligatures: no-common-ligatures" class=""></span><br class=""></div><div style="margin: 0px; line-height: normal; font-family: 'Courier New'; color: rgb(184, 180, 59); background-color: rgb(0, 0, 0);" class=""><span style="font-variant-ligatures: no-common-ligatures" class=""># ls -lR /gluster/mnt$i/brick/ > $HOSTNAME.brick$i.txt</span></div><div style="margin: 0px; line-height: normal; font-family: 'Courier New'; color: rgb(184, 180, 59); background-color: rgb(0, 0, 0);" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">find /gluster/mnt$i/brick -type f -print0|xargs -0r ls -l > $HOSTNAME.brick$i.txt</span></div><div style="margin: 0px; line-height: normal; font-family: 'Courier New'; color: rgb(184, 180, 59); background-color: rgb(0, 0, 0);" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">wc -l $HOSTNAME.brick$i.txt >> report.txt</span></div><div style="margin: 0px; line-height: normal; font-family: 'Courier New'; color: rgb(184, 180, 59); background-color: rgb(0, 0, 0);" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">grep -v '\-\-T' $HOSTNAME.brick$i.txt >> report.txt</span></div><div style="margin: 0px; line-height: normal; font-family: 'Courier New'; color: rgb(184, 180, 59); background-color: rgb(0, 0, 0); min-height: 18px;" class=""><span style="font-variant-ligatures: no-common-ligatures" class=""></span><br class=""></div><div style="margin: 0px; line-height: normal; font-family: 'Courier New'; color: rgb(184, 180, 59); background-color: rgb(0, 0, 0);" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">done</span></div></div>—<div class=""><br class=""></div><div class="">It scans all files left on the bricks and save, for each brick, the “ls -l” output to separated log files (named s04.brick#.txt).</div><div class="">Moreover, the bash script creates a report file (report.txt) to collect all file without “- - T” tag.</div><div class=""><br class=""></div><div class=""><div style="margin: 0px; line-height: normal; font-family: 'Courier New'; color: rgb(184, 180, 59); background-color: rgb(0, 0, 0);" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">[root@s04 left]# ll</span></div><div style="margin: 0px; line-height: normal; font-family: 'Courier New'; color: rgb(184, 180, 59); background-color: rgb(0, 0, 0);" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">totale 557236</span></div><div style="margin: 0px; line-height: normal; font-family: 'Courier New'; color: rgb(184, 180, 59); background-color: rgb(0, 0, 0);" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">-rwxr--r-- 1 root root 273 3 ott 22.45 </span><span style="font-variant-ligatures: no-common-ligatures; color: #34bd26" class=""><b class="">check</b></span></div><div style="margin: 0px; line-height: normal; font-family: 'Courier New'; color: rgb(184, 180, 59); background-color: rgb(0, 0, 0);" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">-rw------- 1 root root 0 3 ott 22.46 nohup.out</span></div><div style="margin: 0px; line-height: normal; font-family: 'Courier New'; color: rgb(184, 180, 59); background-color: rgb(0, 0, 0);" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">-rw-r--r-- 1 root root 7581 3 ott 22.49 report.txt</span></div><div style="margin: 0px; line-height: normal; font-family: 'Courier New'; color: rgb(184, 180, 59); background-color: rgb(0, 0, 0);" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">-rw-r--r-- 1 root root 44801236 3 ott 22.48 s04.brick10.txt</span></div><div style="margin: 0px; line-height: normal; font-family: 'Courier New'; color: rgb(184, 180, 59); background-color: rgb(0, 0, 0);" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">-rw-r--r-- 1 root root 44801236 3 ott 22.49 s04.brick11.txt</span></div><div style="margin: 0px; line-height: normal; font-family: 'Courier New'; color: rgb(184, 180, 59); background-color: rgb(0, 0, 0);" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">-rw-r--r-- 1 root root 44801236 3 ott 22.49 s04.brick12.txt</span></div><div style="margin: 0px; line-height: normal; font-family: 'Courier New'; color: rgb(184, 180, 59); background-color: rgb(0, 0, 0);" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">-rw-r--r-- 1 root root 45007600 3 ott 22.46 s04.brick1.txt</span></div><div style="margin: 0px; line-height: normal; font-family: 'Courier New'; color: rgb(184, 180, 59); background-color: rgb(0, 0, 0);" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">-rw-r--r-- 1 root root 45007600 3 ott 22.46 s04.brick2.txt</span></div><div style="margin: 0px; line-height: normal; font-family: 'Courier New'; color: rgb(184, 180, 59); background-color: rgb(0, 0, 0);" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">-rw-r--r-- 1 root root 45007600 3 ott 22.47 s04.brick3.txt</span></div><div style="margin: 0px; line-height: normal; font-family: 'Courier New'; color: rgb(184, 180, 59); background-color: rgb(0, 0, 0);" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">-rw-r--r-- 1 root root 45007600 3 ott 22.47 s04.brick4.txt</span></div><div style="margin: 0px; line-height: normal; font-family: 'Courier New'; color: rgb(184, 180, 59); background-color: rgb(0, 0, 0);" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">-rw-r--r-- 1 root root 45007600 3 ott 22.47 s04.brick5.txt</span></div><div style="margin: 0px; line-height: normal; font-family: 'Courier New'; color: rgb(184, 180, 59); background-color: rgb(0, 0, 0);" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">-rw-r--r-- 1 root root 45007600 3 ott 22.47 s04.brick6.txt</span></div><div style="margin: 0px; line-height: normal; font-family: 'Courier New'; color: rgb(184, 180, 59); background-color: rgb(0, 0, 0);" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">-rw-r--r-- 1 root root 44474106 3 ott 22.48 s04.brick7.txt</span></div><div style="margin: 0px; line-height: normal; font-family: 'Courier New'; color: rgb(184, 180, 59); background-color: rgb(0, 0, 0);" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">-rw-r--r-- 1 root root 44474106 3 ott 22.48 s04.brick8.txt</span></div><div style="margin: 0px; line-height: normal; font-family: 'Courier New'; color: rgb(184, 180, 59); background-color: rgb(0, 0, 0);" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">-rw-r--r-- 1 root root 44474106 3 ott 22.48 s04.brick9.txt</span></div></div><div class=""><br class=""></div><div class="">So, at the end of the script execution, I obtained that:</div><div class=""><br class=""></div><div class="">- s04 server bricks don’t contain files without “ - - T” tag except for the following files (I think I can delete them, right?)</div><div class=""><br class=""></div><div class=""><div style="margin: 0px; line-height: normal; font-family: 'Courier New'; color: rgb(184, 180, 59); background-color: rgb(0, 0, 0);" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">-rw-r--r-- 1 root root 4096 11 set 11.22 /gluster/mnt12/brick/.glusterfs/brick.db</span></div><div style="margin: 0px; line-height: normal; font-family: 'Courier New'; color: rgb(184, 180, 59); background-color: rgb(0, 0, 0);" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">-rw-r--r-- 1 root root 32768 16 set 03.21 /gluster/mnt12/brick/.glusterfs/brick.db-shm</span></div><div style="margin: 0px; line-height: normal; font-family: 'Courier New'; color: rgb(184, 180, 59); background-color: rgb(0, 0, 0);" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">-rw-r--r-- 1 root root 20632 11 set 11.22 /gluster/mnt12/brick/.glusterfs/brick.db-wal</span></div><div style="margin: 0px; line-height: normal; font-family: 'Courier New'; color: rgb(184, 180, 59); background-color: rgb(0, 0, 0);" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">-rw-r--r-- 1 root root 19 29 set 15.14 /gluster/mnt12/brick/.glusterfs/health_check</span></div><div style="margin: 0px; line-height: normal; font-family: 'Courier New'; color: rgb(184, 180, 59); background-color: rgb(0, 0, 0);" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">---------- 1 root root 0 29 set 00.05 /gluster/mnt12/brick/.glusterfs/indices/xattrop/xattrop-9040d2ea-6acb-42c2-b515-0a44380e60d8</span></div><div style="margin: 0px; line-height: normal; font-family: 'Courier New'; color: rgb(184, 180, 59); background-color: rgb(0, 0, 0);" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">---------- 1 root root 0 11 set 11.22 /gluster/mnt12/brick/.glusterfs/quarantine/stub-00000000-0000-0000-0000-000000000008</span></div></div><div class=""><br class=""></div><div class="">- s05 server bricks don’t contain files without “ - - T” tag except for the following files:</div><div class=""><br class=""></div><div class=""><div style="margin: 0px; line-height: normal; font-family: 'Courier New'; color: rgb(184, 180, 59); background-color: rgb(0, 0, 0);" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">-rw-r--r-- 1 root root 4096 11 set 11.22 /gluster/mnt8/brick/.glusterfs/brick.db</span></div><div style="margin: 0px; line-height: normal; font-family: 'Courier New'; color: rgb(184, 180, 59); background-color: rgb(0, 0, 0);" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">-rw-r--r-- 1 root root 32768 16 set 03.19 /gluster/mnt8/brick/.glusterfs/brick.db-shm</span></div><div style="margin: 0px; line-height: normal; font-family: 'Courier New'; color: rgb(184, 180, 59); background-color: rgb(0, 0, 0);" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">-rw-r--r-- 1 root root 20632 11 set 11.22 /gluster/mnt8/brick/.glusterfs/brick.db-wal</span></div><div style="margin: 0px; line-height: normal; font-family: 'Courier New'; color: rgb(184, 180, 59); background-color: rgb(0, 0, 0);" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">-rw-r--r-- 1 root root 19 1 ott 07.30 /gluster/mnt8/brick/.glusterfs/health_check</span></div><div style="margin: 0px; line-height: normal; font-family: 'Courier New'; color: rgb(184, 180, 59); background-color: rgb(0, 0, 0);" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">---------- 1 root root 0 30 set 16.42 /gluster/mnt8/brick/.glusterfs/indices/xattrop/xattrop-9db3d840-35e0-4359-8d7a-14d305760247</span></div><div style="margin: 0px; line-height: normal; font-family: 'Courier New'; color: rgb(184, 180, 59); background-color: rgb(0, 0, 0);" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">---------- 1 root root 0 11 set 11.22 /gluster/mnt8/brick/.glusterfs/quarantine/stub-00000000-0000-0000-0000-000000000008</span></div></div><div class=""><br class=""></div><div class="">- s06 server bricks HAVE some files that I think are important. This is the files list:</div><div class=""><br class=""></div><div class=""><div style="margin: 0px; line-height: normal; font-family: 'Courier New'; color: rgb(184, 180, 59); background-color: rgb(0, 0, 0);" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">-rw-r--r-- 2 5219 5200 519226880 14 set 17.29 /gluster/mnt6/brick/.glusterfs/ef/87/ef870cb8-03be-45c8-8b72-38941f08b8a5</span></div><div style="margin: 0px; line-height: normal; font-family: 'Courier New'; color: rgb(184, 180, 59); background-color: rgb(0, 0, 0);" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">-rw-r--r-- 2 5219 5200 844800 17 gen 2017 /gluster/mnt6/brick/.glusterfs/ef/98/ef98b463-3a0a-46a2-ad18-37149d4dd65c</span></div><div style="margin: 0px; line-height: normal; font-family: 'Courier New'; color: rgb(184, 180, 59); background-color: rgb(0, 0, 0);" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">-rw-r--r-- 2 5219 5200 3164160 23 apr 2016 /gluster/mnt6/brick/.glusterfs/a4/25/a4255b8e-de1f-4acc-a5cf-d47ac7767d46</span></div><div style="margin: 0px; line-height: normal; font-family: 'Courier New'; color: rgb(184, 180, 59); background-color: rgb(0, 0, 0);" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">-rw-r--r-- 2 12001 12000 0 12 ago 05.06 /gluster/mnt6/brick/.glusterfs/a4/52/a4520383-eaa1-4c82-a6f0-d9ea7de4c48d</span></div><div style="margin: 0px; line-height: normal; font-family: 'Courier New'; color: rgb(184, 180, 59); background-color: rgb(0, 0, 0);" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">---------- 1 root root 0 11 set 11.22 /gluster/mnt6/brick/.glusterfs/quarantine/stub-00000000-0000-0000-0000-000000000008</span></div><div style="margin: 0px; line-height: normal; font-family: 'Courier New'; color: rgb(184, 180, 59); background-color: rgb(0, 0, 0);" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">-rw-r--r-- 2 12001 12000 0 23 lug 22.22 /gluster/mnt6/brick/OPA/tessa01/work/REA_exp/rea_1986_simu/prepobs_19860823/COST.DAT</span></div><div style="margin: 0px; line-height: normal; font-family: 'Courier New'; color: rgb(184, 180, 59); background-color: rgb(0, 0, 0);" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">-rw-r--r-- 2 12001 12000 0 24 lug 00.28 /gluster/mnt6/brick/OPA/tessa01/work/REA_exp/rea_1986_simu/prepobs_19860828/COST.DAT</span></div><div style="margin: 0px; line-height: normal; font-family: 'Courier New'; color: rgb(184, 180, 59); background-color: rgb(0, 0, 0);" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">-rw-r--r-- 2 12001 12000 0 24 lug 08.27 /gluster/mnt6/brick/OPA/tessa01/work/REA_exp/rea_1986_simu/prepobs_19860916/COST.DAT</span></div><div style="margin: 0px; line-height: normal; font-family: 'Courier New'; color: rgb(184, 180, 59); background-color: rgb(0, 0, 0);" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">-rw-r--r-- 2 12001 12000 0 26 lug 00.50 /gluster/mnt6/brick/OPA/tessa01/work/REA_exp/rea_1986_simu/prepobs_19861221/COST.DAT</span></div><div style="margin: 0px; line-height: normal; font-family: 'Courier New'; color: rgb(184, 180, 59); background-color: rgb(0, 0, 0);" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">-rw-r--r-- 2 12001 12000 0 26 lug 03.23 /gluster/mnt6/brick/OPA/tessa01/work/REA_exp/rea_1986_simu/prepobs_19861230/COST.DAT</span></div><div style="margin: 0px; line-height: normal; font-family: 'Courier New'; color: rgb(184, 180, 59); background-color: rgb(0, 0, 0);" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">-rw-r--r-- 2 12001 12000 0 7 ago 15.21 /gluster/mnt6/brick/OPA/tessa01/work/REA_exp/rea_1987_simu/model/wind/in/procday.20180101</span></div><div style="margin: 0px; line-height: normal; font-family: 'Courier New'; color: rgb(184, 180, 59); background-color: rgb(0, 0, 0);" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">-rw-r--r-- 2 12001 12000 0 7 ago 15.22 /gluster/mnt6/brick/OPA/tessa01/work/REA_exp/rea_1987_simu/model/wind/work/err.log</span></div><div style="margin: 0px; line-height: normal; font-family: 'Courier New'; color: rgb(184, 180, 59); background-color: rgb(0, 0, 0);" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">-rw-r--r-- 2 12001 12000 0 14 ago 12.55 /gluster/mnt6/brick/OPA/tessa01/work/REA_exp/rea_1988_simu/assim/no_obs_19881231</span></div><div style="margin: 0px; line-height: normal; font-family: 'Courier New'; color: rgb(184, 180, 59); background-color: rgb(0, 0, 0);" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">-rw-r--r-- 2 12001 12000 0 14 ago 12.55 /gluster/mnt6/brick/OPA/tessa01/work/REA_exp/rea_1988_simu/model/wind/in/endday.19881231</span></div><div style="margin: 0px; line-height: normal; font-family: 'Courier New'; color: rgb(184, 180, 59); background-color: rgb(0, 0, 0);" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">-rw-r--r-- 2 12001 12000 0 14 ago 12.55 /gluster/mnt6/brick/OPA/tessa01/work/REA_exp/rea_1988_simu/model/wind/in/procday.20180101</span></div><div style="margin: 0px; line-height: normal; font-family: 'Courier New'; color: rgb(184, 180, 59); background-color: rgb(0, 0, 0);" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">-rw-r--r-- 2 12001 12000 0 14 ago 12.55 /gluster/mnt6/brick/OPA/tessa01/work/REA_exp/rea_1988_simu/model/wind/in/startday.19881230</span></div><div style="margin: 0px; line-height: normal; font-family: 'Courier New'; color: rgb(184, 180, 59); background-color: rgb(0, 0, 0);" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">-rw-r--r-- 2 12001 12000 0 14 ago 12.55 /gluster/mnt6/brick/OPA/tessa01/work/REA_exp/rea_1988_simu/model/wind/work/err.log</span></div><div style="margin: 0px; line-height: normal; font-family: 'Courier New'; color: rgb(184, 180, 59); background-color: rgb(0, 0, 0);" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">-rw-r--r-- 2 12001 12000 0 8 ago 13.51 /gluster/mnt6/brick/OPA/tessa01/work/REA_exp/rea_1988_simu/prepobs_19880114/COST.DAT</span></div><div style="margin: 0px; line-height: normal; font-family: 'Courier New'; color: rgb(184, 180, 59); background-color: rgb(0, 0, 0);" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">-rw-r--r-- 2 5219 5200 844800 22 giu 2016 /gluster/mnt6/brick/CSP/sp1/CESM/archive/sps_199301_001/atm/hist/postproc/sps_199301_001.cam.h0.1993-03_grid.nc</span></div><div style="margin: 0px; line-height: normal; font-family: 'Courier New'; color: rgb(184, 180, 59); background-color: rgb(0, 0, 0);" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">-rw-r--r-- 2 5219 5200 3203072 22 apr 2016 /gluster/mnt6/brick/CSP/sp1/CESM/archive/sps_199301_001/lnd/hist/lnd/hist/sps_199301_001.clm2.h0.1993-03.nc.gz</span></div><div style="margin: 0px; line-height: normal; font-family: 'Courier New'; color: rgb(184, 180, 59); background-color: rgb(0, 0, 0);" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">-rw-r--r-- 2 5219 5200 3164160 23 apr 2016 /gluster/mnt6/brick/CSP/sp1/CESM/archive/sps_199301_001/lnd/hist/lnd/hist/sps_199301_001.clm2.h0.1993-05.nc.gz</span></div><div style="margin: 0px; line-height: normal; font-family: 'Courier New'; color: rgb(184, 180, 59); background-color: rgb(0, 0, 0);" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">-rw-r--r-- 2 5219 5200 844800 17 gen 2017 /gluster/mnt6/brick/CSP/sp1/CESM/archive/sps_199301_002/atm/hist/postproc/sps_199301_002.cam.h0.1993-01_grid.nc</span></div><div style="margin: 0px; line-height: normal; font-family: 'Courier New'; color: rgb(184, 180, 59); background-color: rgb(0, 0, 0);" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">-rw-r--r-- 2 5219 5200 844800 17 gen 2017 /gluster/mnt6/brick/CSP/sp1/CESM/archive/sps_199301_002/atm/hist/postproc/sps_199301_002.cam.h0.1993-05_grid.nc</span></div><div style="margin: 0px; line-height: normal; font-family: 'Courier New'; color: rgb(184, 180, 59); background-color: rgb(0, 0, 0);" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">-rw-r--r-- 2 5219 5200 844800 17 gen 2017 /gluster/mnt6/brick/CSP/sp1/CESM/archive/sps_199301_002/atm/hist/postproc/sps_199301_002.cam.h0.1993-06_grid.nc</span></div><div style="margin: 0px; line-height: normal; font-family: 'Courier New'; color: rgb(184, 180, 59); background-color: rgb(0, 0, 0);" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">-rw-r--r-- 2 5219 5200 844800 22 giu 2016 /gluster/mnt6/brick/CSP/sp1/CESM/archive/sps_199301_003/atm/hist/postproc/sps_199301_003.cam.h0.1993-03_grid.nc</span></div></div><div class=""><br class=""></div><div class="">What can I do with the files not moved by rebalance?</div><div class=""><br class=""></div><div class="">Thank you,</div><div class="">Mauro</div><div class=""><br class=""><div class=""><blockquote type="cite" class=""><div class="">Il giorno 03 ott 2018, alle ore 17:48, Mauro Tridici <<a href="mailto:mauro.tridici@cmcc.it" class="">mauro.tridici@cmcc.it</a>> ha scritto:</div><br class="Apple-interchange-newline"><div class=""><meta http-equiv="Content-Type" content="text/html charset=us-ascii" class=""><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class=""><div class=""><br class=""></div><div class="">Hi Nithya,</div><div class=""><br class=""></div><div class="">in order to give an answer to your question as soon as possible, I just considered only the content of one brick of server s06 (in attachment you can find the content of /gluster/mnt1/brick).</div><div class=""><br class=""></div><div class=""><div class=""><div style="margin: 0px; line-height: normal; font-family: 'Courier New'; color: rgb(184, 180, 59); background-color: rgb(0, 0, 0);" class=""><span style="font-variant-ligatures: no-common-ligatures;" class="">[root@s06 ~]# df -h</span></div><div style="margin: 0px; line-height: normal; font-family: 'Courier New'; color: rgb(184, 180, 59); background-color: rgb(0, 0, 0);" class=""><span style="font-variant-ligatures: no-common-ligatures;" class="">File system Dim. Usati Dispon. Uso% Montato su</span></div><div style="margin: 0px; line-height: normal; font-family: 'Courier New'; color: rgb(184, 180, 59); background-color: rgb(0, 0, 0);" class=""><span style="font-variant-ligatures: no-common-ligatures;" class="">/dev/mapper/cl_s06-root 100G 2,1G 98G 3% /</span></div><div style="margin: 0px; line-height: normal; font-family: 'Courier New'; color: rgb(184, 180, 59); background-color: rgb(0, 0, 0);" class=""><span style="font-variant-ligatures: no-common-ligatures;" class="">devtmpfs 32G 0 32G 0% /dev</span></div><div style="margin: 0px; line-height: normal; font-family: 'Courier New'; color: rgb(184, 180, 59); background-color: rgb(0, 0, 0);" class=""><span style="font-variant-ligatures: no-common-ligatures;" class="">tmpfs 32G 4,0K 32G 1% /dev/shm</span></div><div style="margin: 0px; line-height: normal; font-family: 'Courier New'; color: rgb(184, 180, 59); background-color: rgb(0, 0, 0);" class=""><span style="font-variant-ligatures: no-common-ligatures;" class="">tmpfs 32G 106M 32G 1% /run</span></div><div style="margin: 0px; line-height: normal; font-family: 'Courier New'; color: rgb(184, 180, 59); background-color: rgb(0, 0, 0);" class=""><span style="font-variant-ligatures: no-common-ligatures;" class="">tmpfs 32G 0 32G 0% /sys/fs/cgroup</span></div><div style="margin: 0px; line-height: normal; font-family: 'Courier New'; color: rgb(184, 180, 59); background-color: rgb(0, 0, 0);" class=""><span style="font-variant-ligatures: no-common-ligatures;" class="">/dev/mapper/cl_s06-var 100G 3,0G 97G 3% /var</span></div><div style="margin: 0px; line-height: normal; font-family: 'Courier New'; color: rgb(184, 180, 59); background-color: rgb(0, 0, 0);" class=""><span style="font-variant-ligatures: no-common-ligatures;" class="">/dev/mapper/cl_s06-gluster 100G 33M 100G 1% /gluster</span></div><div style="margin: 0px; line-height: normal; font-family: 'Courier New'; color: rgb(184, 180, 59); background-color: rgb(0, 0, 0);" class=""><span style="font-variant-ligatures: no-common-ligatures;" class="">/dev/sda1 1014M 152M 863M 15% /boot</span></div><div style="margin: 0px; line-height: normal; font-family: 'Courier New'; color: rgb(184, 180, 59); background-color: rgb(0, 0, 0);" class=""><span style="font-variant-ligatures: no-common-ligatures;" class="">/dev/mapper/gluster_vgd-gluster_lvd 9,0T 12G 9,0T 1% /gluster/mnt3</span></div><div style="margin: 0px; line-height: normal; font-family: 'Courier New'; color: rgb(184, 180, 59); background-color: rgb(0, 0, 0);" class=""><span style="font-variant-ligatures: no-common-ligatures;" class="">/dev/mapper/gluster_vgg-gluster_lvg 9,0T 12G 9,0T 1% /gluster/mnt6</span></div><div style="margin: 0px; line-height: normal; font-family: 'Courier New'; color: rgb(184, 180, 59); background-color: rgb(0, 0, 0);" class=""><span style="font-variant-ligatures: no-common-ligatures;" class="">/dev/mapper/gluster_vgc-gluster_lvc 9,0T 12G 9,0T 1% /gluster/mnt2</span></div><div style="margin: 0px; line-height: normal; font-family: 'Courier New'; color: rgb(184, 180, 59); background-color: rgb(0, 0, 0);" class=""><span style="font-variant-ligatures: no-common-ligatures;" class="">/dev/mapper/gluster_vge-gluster_lve 9,0T 12G 9,0T 1% /gluster/mnt4</span></div><div style="margin: 0px; line-height: normal; font-family: 'Courier New'; color: rgb(184, 180, 59); background-color: rgb(0, 0, 0);" class=""><span style="font-variant-ligatures: no-common-ligatures;" class="">/dev/mapper/gluster_vgj-gluster_lvj 9,0T 1,4T 7,7T 16% /gluster/mnt9</span></div><div style="margin: 0px; line-height: normal; font-family: 'Courier New'; background-color: rgb(0, 0, 0);" class=""><span style="font-variant-ligatures: no-common-ligatures;" class=""><b class=""><font color="#ff2600" class="">/dev/mapper/gluster_vgb-gluster_lvb 9,0T 12G 9,0T 1% /gluster/mnt1</font></b></span></div><div style="margin: 0px; line-height: normal; font-family: 'Courier New'; color: rgb(184, 180, 59); background-color: rgb(0, 0, 0);" class=""><span style="font-variant-ligatures: no-common-ligatures;" class="">/dev/mapper/gluster_vgh-gluster_lvh 9,0T 1,4T 7,7T 16% /gluster/mnt7</span></div><div style="margin: 0px; line-height: normal; font-family: 'Courier New'; color: rgb(184, 180, 59); background-color: rgb(0, 0, 0);" class=""><span style="font-variant-ligatures: no-common-ligatures;" class="">/dev/mapper/gluster_vgf-gluster_lvf 9,0T 12G 9,0T 1% /gluster/mnt5</span></div><div style="margin: 0px; line-height: normal; font-family: 'Courier New'; color: rgb(184, 180, 59); background-color: rgb(0, 0, 0);" class=""><span style="font-variant-ligatures: no-common-ligatures;" class="">/dev/mapper/gluster_vgi-gluster_lvi 9,0T 1,4T 7,7T 16% /gluster/mnt8</span></div><div style="margin: 0px; line-height: normal; font-family: 'Courier New'; color: rgb(184, 180, 59); background-color: rgb(0, 0, 0);" class=""><span style="font-variant-ligatures: no-common-ligatures;" class="">/dev/mapper/gluster_vgl-gluster_lvl 9,0T 1,4T 7,7T 16% /gluster/mnt11</span></div><div style="margin: 0px; line-height: normal; font-family: 'Courier New'; color: rgb(184, 180, 59); background-color: rgb(0, 0, 0);" class=""><span style="font-variant-ligatures: no-common-ligatures;" class="">/dev/mapper/gluster_vgk-gluster_lvk 9,0T 1,4T 7,7T 16% /gluster/mnt10</span></div><div style="margin: 0px; line-height: normal; font-family: 'Courier New'; color: rgb(184, 180, 59); background-color: rgb(0, 0, 0);" class=""><span style="font-variant-ligatures: no-common-ligatures;" class="">/dev/mapper/gluster_vgm-gluster_lvm 9,0T 1,4T 7,7T 16% /gluster/mnt12</span></div></div></div><div class=""><br class=""></div><div class="">The scenario is almost the same for all the bricks removed from server s04, s05 and s06.</div><div class="">In the next hours, I will check every files on each removed bricks.</div><div class=""><br class=""></div><div class="">So, if I understand, I can proceed with deletion of directories and files left on the bricks only if each file have T tag, right?</div><div class=""><br class=""></div><div class="">Thank you in advance,</div><div class="">Mauro</div><div class=""><br class=""></div><div class=""></div></div><span id="cid:823C025D-694F-4AAF-A2F2-B401D4A9BBFB@openvpn" class=""><ls-l_on_a_brick.txt.gz></span><meta http-equiv="Content-Type" content="text/html charset=utf-8" class=""><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class=""><div class=""></div><div class=""><blockquote type="cite" class=""><div class="">Il giorno 03 ott 2018, alle ore 16:49, Nithya Balachandran <<a href="mailto:nbalacha@redhat.com" class="">nbalacha@redhat.com</a>> ha scritto:</div><br class="Apple-interchange-newline"><div class=""><div dir="ltr" class=""><br class=""><div class="gmail_extra"><br class=""><div class="gmail_quote">On 1 October 2018 at 15:35, Mauro Tridici <span dir="ltr" class=""><<a href="mailto:mauro.tridici@cmcc.it" target="_blank" class="">mauro.tridici@cmcc.it</a>></span> wrote:<br class=""><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div style="word-wrap:break-word" class=""><div class="">Good morning Ashish,</div><div class=""><br class=""></div><div class="">your explanations are always very useful, thank you very much: I will remember these suggestions for any future needs.</div><div class="">Anyway, during the week-end, the remove-brick procedures ended successfully and we were able to free up all bricks defined on server s04, s05 and 6 bricks of 12 on server s06.</div><div class="">So, we can say that, thanks to your suggestions, we are about to complete this first phase (removing of all bricks defined on s04, s05 and s06 servers).</div><div class=""><br class=""></div><div class="">I really appreciated your support. </div><div class="">Now I have a last question (I hope): after remove-brick commit I noticed that some data remain on each brick (about 1.2GB of data).</div><div class="">Please, take a look to the “df-h_on_s04_s05_s06.txt”.</div><div class="">The situation is almost the same on all 3 servers mentioned above: a long list of directories names and some files that are still on the brick, but respective size is 0.</div><div class=""><br class=""></div><div class="">Examples:</div><div class=""><br class=""></div><div class="">a lot of empty directories on /gluster/mnt*/brick/.glusterfs</div><div class=""><br class=""></div><div class=""><div style="margin:0px;line-height:normal;font-family:'Courier New';color:rgb(184,180,59);background-color:rgb(0,0,0)" class=""><span style="font-variant-ligatures:no-common-ligatures" class="">8<span class="m_7033693957646443005Apple-tab-span" style="white-space:pre-wrap">        </span>/gluster/mnt2/brick/.<wbr class="">glusterfs/b7/1b</span></div><div style="margin:0px;line-height:normal;font-family:'Courier New';color:rgb(184,180,59);background-color:rgb(0,0,0)" class=""><span style="font-variant-ligatures:no-common-ligatures" class="">0<span class="m_7033693957646443005Apple-tab-span" style="white-space:pre-wrap">        </span>/gluster/mnt2/brick/.<wbr class="">glusterfs/b7/ee/b7ee94a5-a77c-<wbr class="">4c02-85a5-085992840c83</span></div><div style="margin:0px;line-height:normal;font-family:'Courier New';color:rgb(184,180,59);background-color:rgb(0,0,0)" class=""><span style="font-variant-ligatures:no-common-ligatures" class="">0<span class="m_7033693957646443005Apple-tab-span" style="white-space:pre-wrap">        </span>/gluster/mnt2/brick/.<wbr class="">glusterfs/b7/ee/b7ee85d4-ce48-<wbr class="">43a7-a89a-69c728ee8273</span></div></div><div class=""><br class=""></div><div class="">some empty files in directories in /gluster/mnt*/brick/*</div><div class=""><br class=""></div><div class=""><div style="margin:0px;line-height:normal;font-family:'Courier New';color:rgb(184,180,59);background-color:rgb(0,0,0)" class=""><span style="font-variant-ligatures:no-common-ligatures" class="">[root@s04 ~]# cd /gluster/mnt1/brick/</span></div><div style="margin:0px;line-height:normal;font-family:'Courier New';color:rgb(184,180,59);background-color:rgb(0,0,0)" class=""><span style="font-variant-ligatures:no-common-ligatures" class="">[root@s04 brick]# ls -l</span></div><div style="margin:0px;line-height:normal;font-family:'Courier New';color:rgb(184,180,59);background-color:rgb(0,0,0)" class=""><span style="font-variant-ligatures:no-common-ligatures" class="">totale 32</span></div><div style="margin:0px;line-height:normal;font-family:'Courier New';color:rgb(184,180,59);background-color:rgb(0,0,0)" class=""><span style="font-variant-ligatures:no-common-ligatures" class="">drwxr-xr-x 7 root root 100 11 set 22.14 </span><span style="font-variant-ligatures:no-common-ligatures;color:#5330e1" class=""><b class="">archive_calypso</b></span></div></div><div class=""><br class=""></div><div class=""><div style="margin:0px;line-height:normal;font-family:'Courier New';color:rgb(184,180,59);background-color:rgb(0,0,0)" class=""><span style="font-variant-ligatures:no-common-ligatures" class="">[root@s04 brick]# cd archive_calypso/</span></div><div style="margin:0px;line-height:normal;font-family:'Courier New';color:rgb(184,180,59);background-color:rgb(0,0,0)" class=""><span style="font-variant-ligatures:no-common-ligatures" class="">[root@s04 archive_calypso]# ll</span></div><div style="margin:0px;line-height:normal;font-family:'Courier New';color:rgb(184,180,59);background-color:rgb(0,0,0)" class=""><span style="font-variant-ligatures:no-common-ligatures" class="">totale 0</span></div><div style="margin:0px;line-height:normal;font-family:'Courier New';color:rgb(184,180,59);background-color:rgb(0,0,0)" class=""><span style="font-variant-ligatures:no-common-ligatures" class="">drwxr-x--- 3 root 5200 29 11 set 22.13 </span><span style="font-variant-ligatures:no-common-ligatures;color:#5330e1" class=""><b class="">ans002</b></span></div><div style="margin:0px;line-height:normal;font-family:'Courier New';color:rgb(184,180,59);background-color:rgb(0,0,0)" class=""><span style="font-variant-ligatures:no-common-ligatures" class="">drwxr-x--- 3 5104 5100 32 11 set 22.14 </span><span style="font-variant-ligatures:no-common-ligatures;color:#5330e1" class=""><b class="">ans004</b></span></div><div style="margin:0px;line-height:normal;font-family:'Courier New';color:rgb(184,180,59);background-color:rgb(0,0,0)" class=""><span style="font-variant-ligatures:no-common-ligatures" class="">drwxr-x--- 3 4506 4500 31 11 set 22.14 </span><span style="font-variant-ligatures:no-common-ligatures;color:#5330e1" class=""><b class="">ans006</b></span></div><div style="margin:0px;line-height:normal;font-family:'Courier New';color:rgb(184,180,59);background-color:rgb(0,0,0)" class=""><span style="font-variant-ligatures:no-common-ligatures" class="">drwxr-x--- 3 4515 4500 28 11 set 22.14 </span><span style="font-variant-ligatures:no-common-ligatures;color:#5330e1" class=""><b class="">ans015</b></span></div><div style="margin:0px;line-height:normal;font-family:'Courier New';color:rgb(184,180,59);background-color:rgb(0,0,0)" class=""><span style="font-variant-ligatures:no-common-ligatures" class="">drwxr-x--- 4 4321 4300 54 11 set 22.14 </span><span style="font-variant-ligatures:no-common-ligatures;color:#5330e1" class=""><b class="">ans021</b></span></div><div style="margin:0px;line-height:normal;font-family:'Courier New';color:rgb(184,180,59);background-color:rgb(0,0,0)" class=""><span style="font-variant-ligatures:no-common-ligatures" class="">[root@s04 archive_calypso]# du -a *</span></div><div style="margin:0px;line-height:normal;font-family:'Courier New';color:rgb(184,180,59);background-color:rgb(0,0,0)" class=""><span style="font-variant-ligatures:no-common-ligatures" class="">0<span class="m_7033693957646443005Apple-tab-span" style="white-space:pre-wrap">        </span>ans002/archive/ans002/<wbr class="">HINDCASTS/RUN_ATMWANG_LANSENS/<wbr class="">19810501.0/echam5/echam_sf006_<wbr class="">198110.01.gz</span></div><div style="margin:0px;line-height:normal;font-family:'Courier New';color:rgb(184,180,59);background-color:rgb(0,0,0)" class=""><span style="font-variant-ligatures:no-common-ligatures" class="">0<span class="m_7033693957646443005Apple-tab-span" style="white-space:pre-wrap">        </span>ans002/archive/ans002/<wbr class="">HINDCASTS/RUN_ATMWANG_LANSENS/<wbr class="">19810501.0/echam5</span></div><div style="margin:0px;line-height:normal;font-family:'Courier New';color:rgb(184,180,59);background-color:rgb(0,0,0)" class=""><span style="font-variant-ligatures:no-common-ligatures" class="">0<span class="m_7033693957646443005Apple-tab-span" style="white-space:pre-wrap">        </span>ans002/archive/ans002/<wbr class="">HINDCASTS/RUN_ATMWANG_LANSENS/<wbr class="">19810501.0</span></div><div style="margin:0px;line-height:normal;font-family:'Courier New';color:rgb(184,180,59);background-color:rgb(0,0,0)" class=""><span style="font-variant-ligatures:no-common-ligatures" class="">0<span class="m_7033693957646443005Apple-tab-span" style="white-space:pre-wrap">        </span>ans002/archive/ans002/<wbr class="">HINDCASTS/RUN_ATMWANG_LANSENS/<wbr class="">19810501.1/echam5/echam_sf006_<wbr class="">198105.01.gz</span></div><div style="margin:0px;line-height:normal;font-family:'Courier New';color:rgb(184,180,59);background-color:rgb(0,0,0)" class=""><span style="font-variant-ligatures:no-common-ligatures" class="">0<span class="m_7033693957646443005Apple-tab-span" style="white-space:pre-wrap">        </span>ans002/archive/ans002/<wbr class="">HINDCASTS/RUN_ATMWANG_LANSENS/<wbr class="">19810501.1/echam5/echam_sf006_<wbr class="">198109.01.gz</span></div><div style="margin:0px;line-height:normal;font-family:'Courier New';color:rgb(184,180,59);background-color:rgb(0,0,0)" class=""><span style="font-variant-ligatures:no-common-ligatures" class="">8<span class="m_7033693957646443005Apple-tab-span" style="white-space:pre-wrap">        </span>ans002/archive/ans002/<wbr class="">HINDCASTS/RUN_ATMWANG_LANSENS/<wbr class="">19810501.1/echam5</span></div></div><div class=""><br class=""></div><div class="">What we have to do with this data? Should I backup this “empty” dirs and files on a different storage before deleting them?</div></div></blockquote><div class=""><br class=""></div><div class="">Hi Mauro,</div><div class=""><br class=""></div><div class="">Are you sure these files and directories are empty? Please provide the ls -l output for the files. If they are 'T' files , they can be ignored.</div><div class=""><br class=""></div><div class="">Regards,</div><div class="">Nithya </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div style="word-wrap:break-word" class=""><div class=""><br class=""></div><div class="">As soon as all the bricks will be empty, I plan to re-add the new bricks using the following commands:</div><div class=""><br class=""></div><div class=""><i class="">gluster peer detach s04</i></div><div class=""><i class="">gluster peer detach s05</i></div><div class=""><i class="">gluster peer detach s06</i></div><div class=""><i class=""><br class=""></i></div><div class=""><i class="">gluster peer probe s04</i></div><div class=""><i class="">gluster peer probe s05</i></div><div class=""><i class="">gluster peer probe s06</i></div><div class=""><i class=""><br class=""></i></div><div class=""><i class="">gluster volume add-brick tier2 s04-stg:/gluster/mnt1/brick s05-stg:/gluster/mnt1/brick s06-stg:/gluster/mnt1/brick s04-stg:/gluster/mnt2/brick s05-stg:/gluster/mnt2/brick s06-stg:/gluster/mnt2/brick s04-stg:/gluster/mnt3/brick s05-stg:/gluster/mnt3/brick s06-stg:/gluster/mnt3/brick s04-stg:/gluster/mnt4/brick s05-stg:/gluster/mnt4/brick s06-stg:/gluster/mnt4/brick s04-stg:/gluster/mnt5/brick s05-stg:/gluster/mnt5/brick s06-stg:/gluster/mnt5/brick s04-stg:/gluster/mnt6/brick s05-stg:/gluster/mnt6/brick s06-stg:/gluster/mnt6/brick s04-stg:/gluster/mnt7/brick s05-stg:/gluster/mnt7/brick s06-stg:/gluster/mnt7/brick s04-stg:/gluster/mnt8/brick s05-stg:/gluster/mnt8/brick s06-stg:/gluster/mnt8/brick s04-stg:/gluster/mnt9/brick s05-stg:/gluster/mnt9/brick s06-stg:/gluster/mnt9/brick s04-stg:/gluster/mnt10/brick s05-stg:/gluster/mnt10/brick s06-stg:/gluster/mnt10/brick s04-stg:/gluster/mnt11/brick s05-stg:/gluster/mnt11/brick s06-stg:/gluster/mnt11/brick s04-stg:/gluster/mnt12/brick s05-stg:/gluster/mnt12/brick s06-stg:/gluster/mnt12/brick force</i></div><div class=""><i class=""><br class=""></i></div><div class=""><i class="">gluster volume rebalance tier2 fix-layout start</i></div><div class=""><i class=""><br class=""></i></div><div class=""><i class="">gluster volume rebalance tier2 start</i></div><div class=""><br class=""></div><div class="">From your point of view, are they the right commands to close this repairing task?</div><div class=""><br class=""></div><div class="">Thank you very much for your help.</div><div class="">Regards,</div><div class="">Mauro</div><div class=""><br class=""></div><div class=""></div></div><br class=""><div style="word-wrap:break-word" class=""><div class=""></div><div class=""><br class=""></div><div class=""></div></div><br class=""><div style="word-wrap:break-word" class=""><div class=""></div><br class=""><div class=""><blockquote type="cite" class=""><div class="">Il giorno 01 ott 2018, alle ore 09:17, Ashish Pandey <<a href="mailto:aspandey@redhat.com" target="_blank" class="">aspandey@redhat.com</a>> ha scritto:</div><br class="m_-6378917339899735691Apple-interchange-newline"><div class=""><div class=""><div style="font-family:'times new roman','new york',times,serif;font-size:12pt" class=""><div class=""><br class=""></div><div class="">Ohh!! It is because brick-multiplexing is "ON" on your setup. Not sure if it is by default ON for 3.12.14 or not.<br class=""></div><div class=""><br class=""></div><div class="">See "<span style="font-variant-ligatures:no-common-ligatures" class="">cluster.brick-multiplex: on</span>" in gluster v <volname> info<br class=""></div><div class="">If brick multiplexing is ON, you will see only one process running for all the bricks on a Node.<br class=""></div><div class=""><br class=""></div><div class="">So we have to do following step to kill any one brick on a node.<br class=""></div><div class=""><br class=""></div><div class=""><strong class="">Steps to kill a brick when multiplex is on -</strong> <br class=""></div><div class=""><br class=""></div><div class=""><strong class="">Step - 1 </strong> <br class=""></div><div class="">Find <strong class="">unix domain_socket</strong> of the process on a node.<br class=""></div><div class="">Run "ps -aef | grep glusterfsd" on a node. Example : <br class=""></div><div class=""><br class=""></div><div class="">This is on my machine when I have all the bricks on same machine<br class=""></div><div class=""><br class=""></div><div class="">[root@apandey glusterfs]# ps -aef | grep glusterfsd | grep -v mnt<br class="">root 28311 1 0 11:16 ? 00:00:06 /usr/local/sbin/glusterfsd -s apandey --volfile-id vol.apandey.home-apandey-<wbr class="">bricks-gluster-vol-1 -p /var/run/gluster/vols/vol/<wbr class="">apandey-home-apandey-bricks-<wbr class="">gluster-vol-1.pid -S /var/run/gluster/<wbr class="">1259033d2ff4f4e5.socket --brick-name /home/apandey/bricks/gluster/<wbr class="">vol-1 -l /var/log/glusterfs/bricks/<wbr class="">home-apandey-bricks-gluster-<wbr class="">vol-1.log --xlator-option *-posix.glusterd-uuid=<wbr class="">61b4524c-ccf3-4219-aaff-<wbr class="">b3497ac6dd24 --process-name brick --brick-port 49158 --xlator-option vol-server.listen-port=49158<br class=""><br class=""></div><div class="">Here, /var/run/gluster/<wbr class="">1259033d2ff4f4e5.socket is the unix domain socket<br class=""></div><div class=""><br class=""></div><div class=""><strong class="">Step - 2</strong> <br class=""></div><div class="">Run following command to kill a brick on the same node - <br class=""></div><div class=""><br class=""></div><div class="">gf_attach -d <unix domain_socket> brick_path_on_that_node</div><div class=""><br class=""></div><div class="">Example: <br class=""><br class=""></div><div class=""><em class="">gf_attach -d /var/run/gluster/<wbr class="">1259033d2ff4f4e5.socket /home/apandey/bricks/gluster/<wbr class="">vol-6</em></div><div class=""><br class=""></div><div class="">Status of volume: vol<br class="">Gluster process <wbr class=""> TCP Port RDMA Port Online Pid<br class="">------------------------------<wbr class="">------------------------------<wbr class="">------------------<br class="">Brick apandey:/home/apandey/bricks/<wbr class="">gluster/<br class="">vol-1 <wbr class=""> 49158 0 Y 28311<br class="">Brick apandey:/home/apandey/bricks/<wbr class="">gluster/<br class="">vol-2 <wbr class=""> 49158 0 Y 28311<br class="">Brick apandey:/home/apandey/bricks/<wbr class="">gluster/<br class="">vol-3 <wbr class=""> 49158 0 Y 28311<br class="">Brick apandey:/home/apandey/bricks/<wbr class="">gluster/<br class="">vol-4 <wbr class=""> 49158 0 Y 28311<br class="">Brick apandey:/home/apandey/bricks/<wbr class="">gluster/<br class="">vol-5 <wbr class=""> 49158 0 Y 28311<br class="">Brick apandey:/home/apandey/bricks/<wbr class="">gluster/<br class="">vol-6 <wbr class=""> 49158 0 Y 28311<br class="">Self-heal Daemon on localhost N/A N/A Y 29787<br class=""> <br class="">Task Status of Volume vol<br class="">------------------------------<wbr class="">------------------------------<wbr class="">------------------<br class="">There are no active volume tasks<br class=""> <br class="">[root@apandey glusterfs]# <br class="">[root@apandey glusterfs]# <br class="">[root@apandey glusterfs]# gf_attach -d /var/run/gluster/<wbr class="">1259033d2ff4f4e5.socket /home/apandey/bricks/gluster/<wbr class="">vol-6 <br class="">OK<br class="">[root@apandey glusterfs]# gluster v status<br class="">Status of volume: vol<br class="">Gluster process <wbr class=""> TCP Port RDMA Port Online Pid<br class="">------------------------------<wbr class="">------------------------------<wbr class="">------------------<br class="">Brick apandey:/home/apandey/bricks/<wbr class="">gluster/<br class="">vol-1 <wbr class=""> 49158 0 Y 28311<br class="">Brick apandey:/home/apandey/bricks/<wbr class="">gluster/<br class="">vol-2 <wbr class=""> 49158 0 Y 28311<br class="">Brick apandey:/home/apandey/bricks/<wbr class="">gluster/<br class="">vol-3 <wbr class=""> 49158 0 Y 28311<br class="">Brick apandey:/home/apandey/bricks/<wbr class="">gluster/<br class="">vol-4 <wbr class=""> 49158 0 Y 28311<br class="">Brick apandey:/home/apandey/bricks/<wbr class="">gluster/<br class="">vol-5 <wbr class=""> 49158 0 Y 28311<br class="">Brick apandey:/home/apandey/bricks/<wbr class="">gluster/<br class="">vol-6 <wbr class=""> N/A N/A N N/A <br class="">Self-heal Daemon on localhost N/A N/A Y 29787<br class=""> <br class="">Task Status of Volume vol<br class="">------------------------------<wbr class="">------------------------------<wbr class="">------------------<br class="">There are no active volume tasks<br class=""><br class=""></div><br class=""><div class="">To start a brick we just need to start volume using "force"<br class=""></div><div class=""><br class=""></div><div class="">gluster v start <volname> force<br class=""></div><div class=""><br class=""></div><div class="">----<br class=""></div><div class="">Ashish<br class=""></div><div class=""><br class=""></div><div class=""><br class=""></div><div class=""><br class=""></div><div class=""><br class=""></div><div class=""><br class=""></div><div class=""><br class=""></div><hr id="m_-6378917339899735691zwchr" class=""><div style="font-weight:normal;font-style:normal;text-decoration:none;font-family:Helvetica,Arial,sans-serif;font-size:12pt" class=""><b class="">From: </b>"Mauro Tridici" <<a href="mailto:mauro.tridici@cmcc.it" target="_blank" class="">mauro.tridici@cmcc.it</a>><br class=""><b class="">To: </b>"Ashish Pandey" <<a href="mailto:aspandey@redhat.com" target="_blank" class="">aspandey@redhat.com</a>><br class=""><b class="">Cc: </b>"Gluster Users" <<a href="mailto:gluster-users@gluster.org" target="_blank" class="">gluster-users@gluster.org</a>><br class=""><b class="">Sent: </b>Friday, September 28, 2018 9:25:53 PM<br class=""><b class="">Subject: </b>Re: [Gluster-users] Rebalance failed on Distributed Disperse volume based on 3.12.14 version<br class=""><div class=""><br class=""></div><div class=""><br class=""></div><div class="">I asked you how to detect the PID of a specific brick because I see that more than one brick has the same PID (also on my virtual env).</div><div class="">If I kill one of them I risk to kill some other brick. Is it normal?</div><div class=""><br class=""></div><div class=""><div style="margin:0px;line-height:normal;font-family:'Courier New';color:rgb(184,180,59);background-color:rgb(0,0,0)" class=""><span style="font-variant-ligatures:no-common-ligatures" class="">[root@s01 ~]# gluster vol status</span></div><div style="margin:0px;line-height:normal;font-family:'Courier New';color:rgb(184,180,59);background-color:rgb(0,0,0)" class=""><span style="font-variant-ligatures:no-common-ligatures" class="">Status of volume: tier2</span></div><div style="margin:0px;line-height:normal;font-family:'Courier New';color:rgb(184,180,59);background-color:rgb(0,0,0)" class=""><span style="font-variant-ligatures:no-common-ligatures" class="">Gluster process TCP Port RDMA Port Online Pid</span></div><div style="margin:0px;line-height:normal;font-family:'Courier New';color:rgb(184,180,59);background-color:rgb(0,0,0)" class=""><span style="font-variant-ligatures:no-common-ligatures" class="">------------------------------<wbr class="">------------------------------<wbr class="">------------------</span></div><div style="margin:0px;line-height:normal;font-family:'Courier New';color:rgb(184,180,59);background-color:rgb(0,0,0)" class=""><span style="font-variant-ligatures:no-common-ligatures" class="">Brick s01-stg:/gluster/mnt1/brick 49153 0 Y 3956 </span></div><div style="margin:0px;line-height:normal;font-family:'Courier New';color:rgb(184,180,59);background-color:rgb(0,0,0)" class=""><span style="font-variant-ligatures:no-common-ligatures" class="">Brick s02-stg:/gluster/mnt1/brick 49153 0 Y 3956 </span></div><div style="margin:0px;line-height:normal;font-family:'Courier New';color:rgb(184,180,59);background-color:rgb(0,0,0)" class=""><span style="font-variant-ligatures:no-common-ligatures" class="">Brick s03-stg:/gluster/mnt1/brick 49153 0 Y 3953 </span></div><div style="margin:0px;line-height:normal;font-family:'Courier New';color:rgb(184,180,59);background-color:rgb(0,0,0)" class=""><span style="font-variant-ligatures:no-common-ligatures" class="">Brick s01-stg:/gluster/mnt2/brick 49153 0 Y 3956 </span></div><div style="margin:0px;line-height:normal;font-family:'Courier New';color:rgb(184,180,59);background-color:rgb(0,0,0)" class=""><span style="font-variant-ligatures:no-common-ligatures" class="">Brick s02-stg:/gluster/mnt2/brick 49153 0 Y 3956 </span></div><div style="margin:0px;line-height:normal;font-family:'Courier New';color:rgb(184,180,59);background-color:rgb(0,0,0)" class=""><span style="font-variant-ligatures:no-common-ligatures" class="">Brick s03-stg:/gluster/mnt2/brick 49153 0 Y 3953 </span></div><div style="margin:0px;line-height:normal;font-family:'Courier New';color:rgb(184,180,59);background-color:rgb(0,0,0)" class=""><span style="font-variant-ligatures:no-common-ligatures" class="">Brick s01-stg:/gluster/mnt3/brick 49153 0 Y 3956 </span></div><div style="margin:0px;line-height:normal;font-family:'Courier New';color:rgb(184,180,59);background-color:rgb(0,0,0)" class=""><span style="font-variant-ligatures:no-common-ligatures" class="">Brick s02-stg:/gluster/mnt3/brick 49153 0 Y 3956 </span></div><div style="margin:0px;line-height:normal;font-family:'Courier New';color:rgb(184,180,59);background-color:rgb(0,0,0)" class=""><span style="font-variant-ligatures:no-common-ligatures" class="">Brick s03-stg:/gluster/mnt3/brick 49153 0 Y 3953 </span></div><div style="margin:0px;line-height:normal;font-family:'Courier New';color:rgb(184,180,59);background-color:rgb(0,0,0)" class=""><span style="font-variant-ligatures:no-common-ligatures" class="">Brick s01-stg:/gluster/mnt4/brick 49153 0 Y 3956 </span></div><div style="margin:0px;line-height:normal;font-family:'Courier New';color:rgb(184,180,59);background-color:rgb(0,0,0)" class=""><span style="font-variant-ligatures:no-common-ligatures" class="">Brick s02-stg:/gluster/mnt4/brick 49153 0 Y 3956 </span></div><div style="margin:0px;line-height:normal;font-family:'Courier New';color:rgb(184,180,59);background-color:rgb(0,0,0)" class=""><span style="font-variant-ligatures:no-common-ligatures" class="">Brick s03-stg:/gluster/mnt4/brick 49153 0 Y 3953 </span></div><div style="margin:0px;line-height:normal;font-family:'Courier New';color:rgb(184,180,59);background-color:rgb(0,0,0)" class=""><span style="font-variant-ligatures:no-common-ligatures" class="">Brick s01-stg:/gluster/mnt5/brick 49153 0 Y 3956 </span></div><div style="margin:0px;line-height:normal;font-family:'Courier New';color:rgb(184,180,59);background-color:rgb(0,0,0)" class=""><span style="font-variant-ligatures:no-common-ligatures" class="">Brick s02-stg:/gluster/mnt5/brick 49153 0 Y 3956 </span></div><div style="margin:0px;line-height:normal;font-family:'Courier New';color:rgb(184,180,59);background-color:rgb(0,0,0)" class=""><span style="font-variant-ligatures:no-common-ligatures" class="">Brick s03-stg:/gluster/mnt5/brick 49153 0 Y 3953 </span></div><div style="margin:0px;line-height:normal;font-family:'Courier New';color:rgb(184,180,59);background-color:rgb(0,0,0)" class=""><span style="font-variant-ligatures:no-common-ligatures" class="">Brick s01-stg:/gluster/mnt6/brick 49153 0 Y 3956 </span></div><div style="margin:0px;line-height:normal;font-family:'Courier New';color:rgb(184,180,59);background-color:rgb(0,0,0)" class=""><span style="font-variant-ligatures:no-common-ligatures" class="">Brick s02-stg:/gluster/mnt6/brick 49153 0 Y 3956 </span></div><div style="margin:0px;line-height:normal;font-family:'Courier New';color:rgb(184,180,59);background-color:rgb(0,0,0)" class=""><span style="font-variant-ligatures:no-common-ligatures" class="">Brick s03-stg:/gluster/mnt6/brick 49153 0 Y 3953 </span></div><div style="margin:0px;line-height:normal;font-family:'Courier New';color:rgb(184,180,59);background-color:rgb(0,0,0)" class=""><span style="font-variant-ligatures:no-common-ligatures" class="">Brick s01-stg:/gluster/mnt7/brick 49153 0 Y 3956 </span></div><div style="margin:0px;line-height:normal;font-family:'Courier New';color:rgb(184,180,59);background-color:rgb(0,0,0)" class=""><span style="font-variant-ligatures:no-common-ligatures" class="">Brick s02-stg:/gluster/mnt7/brick 49153 0 Y 3956 </span></div><div style="margin:0px;line-height:normal;font-family:'Courier New';color:rgb(184,180,59);background-color:rgb(0,0,0)" class=""><span style="font-variant-ligatures:no-common-ligatures" class="">Brick s03-stg:/gluster/mnt7/brick 49153 0 Y 3953 </span></div><div style="margin:0px;line-height:normal;font-family:'Courier New';color:rgb(184,180,59);background-color:rgb(0,0,0)" class=""><span style="font-variant-ligatures:no-common-ligatures" class="">Brick s01-stg:/gluster/mnt8/brick 49153 0 Y 3956 </span></div><div style="margin:0px;line-height:normal;font-family:'Courier New';color:rgb(184,180,59);background-color:rgb(0,0,0)" class=""><span style="font-variant-ligatures:no-common-ligatures" class="">Brick s02-stg:/gluster/mnt8/brick 49153 0 Y 3956 </span></div><div style="margin:0px;line-height:normal;font-family:'Courier New';color:rgb(184,180,59);background-color:rgb(0,0,0)" class=""><span style="font-variant-ligatures:no-common-ligatures" class="">Brick s03-stg:/gluster/mnt8/brick 49153 0 Y 3953 </span></div><div style="margin:0px;line-height:normal;font-family:'Courier New';color:rgb(184,180,59);background-color:rgb(0,0,0)" class=""><span style="font-variant-ligatures:no-common-ligatures" class="">Brick s01-stg:/gluster/mnt9/brick 49153 0 Y 3956 </span></div><div style="margin:0px;line-height:normal;font-family:'Courier New';color:rgb(184,180,59);background-color:rgb(0,0,0)" class=""><span style="font-variant-ligatures:no-common-ligatures" class="">Brick s02-stg:/gluster/mnt9/brick 49153 0 Y 3956 </span></div><div style="margin:0px;line-height:normal;font-family:'Courier New';color:rgb(184,180,59);background-color:rgb(0,0,0)" class=""><span style="font-variant-ligatures:no-common-ligatures" class="">Brick s03-stg:/gluster/mnt9/brick 49153 0 Y 3953 </span></div><div style="margin:0px;line-height:normal;font-family:'Courier New';color:rgb(184,180,59);background-color:rgb(0,0,0)" class=""><span style="font-variant-ligatures:no-common-ligatures" class="">Brick s01-stg:/gluster/mnt10/brick 49153 0 Y 3956 </span></div><div style="margin:0px;line-height:normal;font-family:'Courier New';color:rgb(184,180,59);background-color:rgb(0,0,0)" class=""><span style="font-variant-ligatures:no-common-ligatures" class="">Brick s02-stg:/gluster/mnt10/brick 49153 0 Y 3956 </span></div><div style="margin:0px;line-height:normal;font-family:'Courier New';color:rgb(184,180,59);background-color:rgb(0,0,0)" class=""><span style="font-variant-ligatures:no-common-ligatures" class="">Brick s03-stg:/gluster/mnt10/brick 49153 0 Y 3953 </span></div><div style="margin:0px;line-height:normal;font-family:'Courier New';color:rgb(184,180,59);background-color:rgb(0,0,0)" class=""><span style="font-variant-ligatures:no-common-ligatures" class="">Brick s01-stg:/gluster/mnt11/brick 49153 0 Y 3956 </span></div><div style="margin:0px;line-height:normal;font-family:'Courier New';color:rgb(184,180,59);background-color:rgb(0,0,0)" class=""><span style="font-variant-ligatures:no-common-ligatures" class="">Brick s02-stg:/gluster/mnt11/brick 49153 0 Y 3956 </span></div><div style="margin:0px;line-height:normal;font-family:'Courier New';color:rgb(184,180,59);background-color:rgb(0,0,0)" class=""><span style="font-variant-ligatures:no-common-ligatures" class="">Brick s03-stg:/gluster/mnt11/brick 49153 0 Y 3953 </span></div><div style="margin:0px;line-height:normal;font-family:'Courier New';color:rgb(184,180,59);background-color:rgb(0,0,0)" class=""><span style="font-variant-ligatures:no-common-ligatures" class="">Brick s01-stg:/gluster/mnt12/brick 49153 0 Y 3956 </span></div><div style="margin:0px;line-height:normal;font-family:'Courier New';color:rgb(184,180,59);background-color:rgb(0,0,0)" class=""><span style="font-variant-ligatures:no-common-ligatures" class="">Brick s02-stg:/gluster/mnt12/brick 49153 0 Y 3956 </span></div><div style="margin:0px;line-height:normal;font-family:'Courier New';color:rgb(184,180,59);background-color:rgb(0,0,0)" class=""><span style="font-variant-ligatures:no-common-ligatures" class="">Brick s03-stg:/gluster/mnt12/brick 49153 0 Y 3953 </span></div><div style="margin:0px;line-height:normal;font-family:'Courier New';color:rgb(184,180,59);background-color:rgb(0,0,0)" class=""><span style="font-variant-ligatures:no-common-ligatures" class="">Brick s04-stg:/gluster/mnt1/brick 49153 0 Y 3433 </span></div><div style="margin:0px;line-height:normal;font-family:'Courier New';color:rgb(184,180,59);background-color:rgb(0,0,0)" class=""><span style="font-variant-ligatures:no-common-ligatures" class="">Brick s04-stg:/gluster/mnt2/brick 49153 0 Y 3433 </span></div><div style="margin:0px;line-height:normal;font-family:'Courier New';color:rgb(184,180,59);background-color:rgb(0,0,0)" class=""><span style="font-variant-ligatures:no-common-ligatures" class="">Brick s04-stg:/gluster/mnt3/brick 49153 0 Y 3433 </span></div><div style="margin:0px;line-height:normal;font-family:'Courier New';color:rgb(184,180,59);background-color:rgb(0,0,0)" class=""><span style="font-variant-ligatures:no-common-ligatures" class="">Brick s04-stg:/gluster/mnt4/brick 49153 0 Y 3433 </span></div><div style="margin:0px;line-height:normal;font-family:'Courier New';color:rgb(184,180,59);background-color:rgb(0,0,0)" class=""><span style="font-variant-ligatures:no-common-ligatures" class="">Brick s04-stg:/gluster/mnt5/brick 49153 0 Y 3433 </span></div><div style="margin:0px;line-height:normal;font-family:'Courier New';color:rgb(184,180,59);background-color:rgb(0,0,0)" class=""><span style="font-variant-ligatures:no-common-ligatures" class="">Brick s04-stg:/gluster/mnt6/brick 49153 0 Y 3433 </span></div><div style="margin:0px;line-height:normal;font-family:'Courier New';color:rgb(184,180,59);background-color:rgb(0,0,0)" class=""><span style="font-variant-ligatures:no-common-ligatures" class="">Brick s04-stg:/gluster/mnt7/brick 49153 0 Y 3433 </span></div><div style="margin:0px;line-height:normal;font-family:'Courier New';color:rgb(184,180,59);background-color:rgb(0,0,0)" class=""><span style="font-variant-ligatures:no-common-ligatures" class="">Brick s04-stg:/gluster/mnt8/brick 49153 0 Y 3433 </span></div><div style="margin:0px;line-height:normal;font-family:'Courier New';color:rgb(184,180,59);background-color:rgb(0,0,0)" class=""><span style="font-variant-ligatures:no-common-ligatures" class="">Brick s04-stg:/gluster/mnt9/brick 49153 0 Y 3433 </span></div><div style="margin:0px;line-height:normal;font-family:'Courier New';color:rgb(184,180,59);background-color:rgb(0,0,0)" class=""><span style="font-variant-ligatures:no-common-ligatures" class="">Brick s04-stg:/gluster/mnt10/brick 49153 0 Y 3433 </span></div><div style="margin:0px;line-height:normal;font-family:'Courier New';color:rgb(184,180,59);background-color:rgb(0,0,0)" class=""><span style="font-variant-ligatures:no-common-ligatures" class="">Brick s04-stg:/gluster/mnt11/brick 49153 0 Y 3433 </span></div><div style="margin:0px;line-height:normal;font-family:'Courier New';color:rgb(184,180,59);background-color:rgb(0,0,0)" class=""><span style="font-variant-ligatures:no-common-ligatures" class="">Brick s04-stg:/gluster/mnt12/brick 49153 0 Y 3433 </span></div><div style="margin:0px;line-height:normal;font-family:'Courier New';color:rgb(184,180,59);background-color:rgb(0,0,0)" class=""><span style="font-variant-ligatures:no-common-ligatures" class="">Brick s05-stg:/gluster/mnt1/brick 49153 0 Y 3709 </span></div><div style="margin:0px;line-height:normal;font-family:'Courier New';color:rgb(184,180,59);background-color:rgb(0,0,0)" class=""><span style="font-variant-ligatures:no-common-ligatures" class="">Brick s05-stg:/gluster/mnt2/brick 49153 0 Y 3709 </span></div><div style="margin:0px;line-height:normal;font-family:'Courier New';color:rgb(184,180,59);background-color:rgb(0,0,0)" class=""><span style="font-variant-ligatures:no-common-ligatures" class="">Brick s05-stg:/gluster/mnt3/brick 49153 0 Y 3709 </span></div><div style="margin:0px;line-height:normal;font-family:'Courier New';color:rgb(184,180,59);background-color:rgb(0,0,0)" class=""><span style="font-variant-ligatures:no-common-ligatures" class="">Brick s05-stg:/gluster/mnt4/brick 49153 0 Y 3709 </span></div><div style="margin:0px;line-height:normal;font-family:'Courier New';color:rgb(184,180,59);background-color:rgb(0,0,0)" class=""><span style="font-variant-ligatures:no-common-ligatures" class="">Brick s05-stg:/gluster/mnt5/brick 49153 0 Y 3709 </span></div><div style="margin:0px;line-height:normal;font-family:'Courier New';color:rgb(184,180,59);background-color:rgb(0,0,0)" class=""><span style="font-variant-ligatures:no-common-ligatures" class="">Brick s05-stg:/gluster/mnt6/brick 49153 0 Y 3709 </span></div><div style="margin:0px;line-height:normal;font-family:'Courier New';color:rgb(184,180,59);background-color:rgb(0,0,0)" class=""><span style="font-variant-ligatures:no-common-ligatures" class="">Brick s05-stg:/gluster/mnt7/brick 49153 0 Y 3709 </span></div><div style="margin:0px;line-height:normal;font-family:'Courier New';color:rgb(184,180,59);background-color:rgb(0,0,0)" class=""><span style="font-variant-ligatures:no-common-ligatures" class="">Brick s05-stg:/gluster/mnt8/brick 49153 0 Y 3709 </span></div><div style="margin:0px;line-height:normal;font-family:'Courier New';color:rgb(184,180,59);background-color:rgb(0,0,0)" class=""><span style="font-variant-ligatures:no-common-ligatures" class="">Brick s05-stg:/gluster/mnt9/brick 49153 0 Y 3709 </span></div><div style="margin:0px;line-height:normal;font-family:'Courier New';color:rgb(184,180,59);background-color:rgb(0,0,0)" class=""><span style="font-variant-ligatures:no-common-ligatures" class="">Brick s05-stg:/gluster/mnt10/brick 49153 0 Y 3709 </span></div><div style="margin:0px;line-height:normal;font-family:'Courier New';color:rgb(184,180,59);background-color:rgb(0,0,0)" class=""><span style="font-variant-ligatures:no-common-ligatures" class="">Brick s05-stg:/gluster/mnt11/brick 49153 0 Y 3709 </span></div><div style="margin:0px;line-height:normal;font-family:'Courier New';color:rgb(184,180,59);background-color:rgb(0,0,0)" class=""><span style="font-variant-ligatures:no-common-ligatures" class="">Brick s05-stg:/gluster/mnt12/brick 49153 0 Y 3709 </span></div><div style="margin:0px;line-height:normal;font-family:'Courier New';color:rgb(184,180,59);background-color:rgb(0,0,0)" class=""><span style="font-variant-ligatures:no-common-ligatures" class="">Brick s06-stg:/gluster/mnt1/brick 49153 0 Y 3644 </span></div><div style="margin:0px;line-height:normal;font-family:'Courier New';color:rgb(184,180,59);background-color:rgb(0,0,0)" class=""><span style="font-variant-ligatures:no-common-ligatures" class="">Brick s06-stg:/gluster/mnt2/brick 49153 0 Y 3644 </span></div><div style="margin:0px;line-height:normal;font-family:'Courier New';color:rgb(184,180,59);background-color:rgb(0,0,0)" class=""><span style="font-variant-ligatures:no-common-ligatures" class="">Brick s06-stg:/gluster/mnt3/brick 49153 0 Y 3644 </span></div><div style="margin:0px;line-height:normal;font-family:'Courier New';color:rgb(184,180,59);background-color:rgb(0,0,0)" class=""><span style="font-variant-ligatures:no-common-ligatures" class="">Brick s06-stg:/gluster/mnt4/brick 49153 0 Y 3644 </span></div><div style="margin:0px;line-height:normal;font-family:'Courier New';color:rgb(184,180,59);background-color:rgb(0,0,0)" class=""><span style="font-variant-ligatures:no-common-ligatures" class="">Brick s06-stg:/gluster/mnt5/brick 49153 0 Y 3644 </span></div><div style="margin:0px;line-height:normal;font-family:'Courier New';color:rgb(184,180,59);background-color:rgb(0,0,0)" class=""><span style="font-variant-ligatures:no-common-ligatures" class="">Brick s06-stg:/gluster/mnt6/brick 49153 0 Y 3644 </span></div><div style="margin:0px;line-height:normal;font-family:'Courier New';color:rgb(184,180,59);background-color:rgb(0,0,0)" class=""><span style="font-variant-ligatures:no-common-ligatures" class="">Brick s06-stg:/gluster/mnt7/brick 49153 0 Y 3644 </span></div><div style="margin:0px;line-height:normal;font-family:'Courier New';color:rgb(184,180,59);background-color:rgb(0,0,0)" class=""><span style="font-variant-ligatures:no-common-ligatures" class="">Brick s06-stg:/gluster/mnt8/brick 49153 0 Y 3644 </span></div><div style="margin:0px;line-height:normal;font-family:'Courier New';color:rgb(184,180,59);background-color:rgb(0,0,0)" class=""><span style="font-variant-ligatures:no-common-ligatures" class="">Brick s06-stg:/gluster/mnt9/brick 49153 0 Y 3644 </span></div><div style="margin:0px;line-height:normal;font-family:'Courier New';color:rgb(184,180,59);background-color:rgb(0,0,0)" class=""><span style="font-variant-ligatures:no-common-ligatures" class="">Brick s06-stg:/gluster/mnt10/brick 49153 0 Y 3644 </span></div><div style="margin:0px;line-height:normal;font-family:'Courier New';color:rgb(184,180,59);background-color:rgb(0,0,0)" class=""><span style="font-variant-ligatures:no-common-ligatures" class="">Brick s06-stg:/gluster/mnt11/brick 49153 0 Y 3644 </span></div><div style="margin:0px;line-height:normal;font-family:'Courier New';color:rgb(184,180,59);background-color:rgb(0,0,0)" class=""><span style="font-variant-ligatures:no-common-ligatures" class="">Brick s06-stg:/gluster/mnt12/brick 49153 0 Y 3644 </span></div><div style="margin:0px;line-height:normal;font-family:'Courier New';color:rgb(184,180,59);background-color:rgb(0,0,0)" class=""><span style="font-variant-ligatures:no-common-ligatures" class="">Self-heal Daemon on localhost N/A N/A Y 79376</span></div><div style="margin:0px;line-height:normal;font-family:'Courier New';color:rgb(184,180,59);background-color:rgb(0,0,0)" class=""><span style="font-variant-ligatures:no-common-ligatures" class="">Quota Daemon on localhost N/A N/A Y 79472</span></div><div style="margin:0px;line-height:normal;font-family:'Courier New';color:rgb(184,180,59);background-color:rgb(0,0,0)" class=""><span style="font-variant-ligatures:no-common-ligatures" class="">Bitrot Daemon on localhost N/A N/A Y 79485</span></div><div style="margin:0px;line-height:normal;font-family:'Courier New';color:rgb(184,180,59);background-color:rgb(0,0,0)" class=""><span style="font-variant-ligatures:no-common-ligatures" class="">Scrubber Daemon on localhost N/A N/A Y 79505</span></div><div style="margin:0px;line-height:normal;font-family:'Courier New';color:rgb(184,180,59);background-color:rgb(0,0,0)" class=""><span style="font-variant-ligatures:no-common-ligatures" class="">Self-heal Daemon on s03-stg N/A N/A Y 77073</span></div><div style="margin:0px;line-height:normal;font-family:'Courier New';color:rgb(184,180,59);background-color:rgb(0,0,0)" class=""><span style="font-variant-ligatures:no-common-ligatures" class="">Quota Daemon on s03-stg N/A N/A Y 77148</span></div><div style="margin:0px;line-height:normal;font-family:'Courier New';color:rgb(184,180,59);background-color:rgb(0,0,0)" class=""><span style="font-variant-ligatures:no-common-ligatures" class="">Bitrot Daemon on s03-stg N/A N/A Y 77160</span></div><div style="margin:0px;line-height:normal;font-family:'Courier New';color:rgb(184,180,59);background-color:rgb(0,0,0)" class=""><span style="font-variant-ligatures:no-common-ligatures" class="">Scrubber Daemon on s03-stg N/A N/A Y 77191</span></div><div style="margin:0px;line-height:normal;font-family:'Courier New';color:rgb(184,180,59);background-color:rgb(0,0,0)" class=""><span style="font-variant-ligatures:no-common-ligatures" class="">Self-heal Daemon on s02-stg N/A N/A Y 80150</span></div><div style="margin:0px;line-height:normal;font-family:'Courier New';color:rgb(184,180,59);background-color:rgb(0,0,0)" class=""><span style="font-variant-ligatures:no-common-ligatures" class="">Quota Daemon on s02-stg N/A N/A Y 80226</span></div><div style="margin:0px;line-height:normal;font-family:'Courier New';color:rgb(184,180,59);background-color:rgb(0,0,0)" class=""><span style="font-variant-ligatures:no-common-ligatures" class="">Bitrot Daemon on s02-stg N/A N/A Y 80238</span></div><div style="margin:0px;line-height:normal;font-family:'Courier New';color:rgb(184,180,59);background-color:rgb(0,0,0)" class=""><span style="font-variant-ligatures:no-common-ligatures" class="">Scrubber Daemon on s02-stg N/A N/A Y 80269</span></div><div style="margin:0px;line-height:normal;font-family:'Courier New';color:rgb(184,180,59);background-color:rgb(0,0,0)" class=""><span style="font-variant-ligatures:no-common-ligatures" class="">Self-heal Daemon on s04-stg N/A N/A Y 106815</span></div><div style="margin:0px;line-height:normal;font-family:'Courier New';color:rgb(184,180,59);background-color:rgb(0,0,0)" class=""><span style="font-variant-ligatures:no-common-ligatures" class="">Quota Daemon on s04-stg N/A N/A Y 106866</span></div><div style="margin:0px;line-height:normal;font-family:'Courier New';color:rgb(184,180,59);background-color:rgb(0,0,0)" class=""><span style="font-variant-ligatures:no-common-ligatures" class="">Bitrot Daemon on s04-stg N/A N/A Y 106878</span></div><div style="margin:0px;line-height:normal;font-family:'Courier New';color:rgb(184,180,59);background-color:rgb(0,0,0)" class=""><span style="font-variant-ligatures:no-common-ligatures" class="">Scrubber Daemon on s04-stg N/A N/A Y 106897</span></div><div style="margin:0px;line-height:normal;font-family:'Courier New';color:rgb(184,180,59);background-color:rgb(0,0,0)" class=""><span style="font-variant-ligatures:no-common-ligatures" class="">Self-heal Daemon on s05-stg N/A N/A Y 130807</span></div><div style="margin:0px;line-height:normal;font-family:'Courier New';color:rgb(184,180,59);background-color:rgb(0,0,0)" class=""><span style="font-variant-ligatures:no-common-ligatures" class="">Quota Daemon on s05-stg N/A N/A Y 130884</span></div><div style="margin:0px;line-height:normal;font-family:'Courier New';color:rgb(184,180,59);background-color:rgb(0,0,0)" class=""><span style="font-variant-ligatures:no-common-ligatures" class="">Bitrot Daemon on s05-stg N/A N/A Y 130896</span></div><div style="margin:0px;line-height:normal;font-family:'Courier New';color:rgb(184,180,59);background-color:rgb(0,0,0)" class=""><span style="font-variant-ligatures:no-common-ligatures" class="">Scrubber Daemon on s05-stg N/A N/A Y 130927</span></div><div style="margin:0px;line-height:normal;font-family:'Courier New';color:rgb(184,180,59);background-color:rgb(0,0,0)" class=""><span style="font-variant-ligatures:no-common-ligatures" class="">Self-heal Daemon on s06-stg N/A N/A Y 157146</span></div><div style="margin:0px;line-height:normal;font-family:'Courier New';color:rgb(184,180,59);background-color:rgb(0,0,0)" class=""><span style="font-variant-ligatures:no-common-ligatures" class="">Quota Daemon on s06-stg N/A N/A Y 157239</span></div><div style="margin:0px;line-height:normal;font-family:'Courier New';color:rgb(184,180,59);background-color:rgb(0,0,0)" class=""><span style="font-variant-ligatures:no-common-ligatures" class="">Bitrot Daemon on s06-stg N/A N/A Y 157252</span></div><div style="margin:0px;line-height:normal;font-family:'Courier New';color:rgb(184,180,59);background-color:rgb(0,0,0)" class=""><span style="font-variant-ligatures:no-common-ligatures" class="">Scrubber Daemon on s06-stg N/A N/A Y 157288</span></div><div style="margin:0px;line-height:normal;font-family:'Courier New';color:rgb(184,180,59);background-color:rgb(0,0,0);min-height:18px" class=""><span style="font-variant-ligatures:no-common-ligatures" class=""> </span><br class="m_-6378917339899735691webkit-block-placeholder"></div><div style="margin:0px;line-height:normal;font-family:'Courier New';color:rgb(184,180,59);background-color:rgb(0,0,0)" class=""><span style="font-variant-ligatures:no-common-ligatures" class="">Task Status of Volume tier2</span></div><div style="margin:0px;line-height:normal;font-family:'Courier New';color:rgb(184,180,59);background-color:rgb(0,0,0)" class=""><span style="font-variant-ligatures:no-common-ligatures" class="">------------------------------<wbr class="">------------------------------<wbr class="">------------------</span></div><div style="margin:0px;line-height:normal;font-family:'Courier New';color:rgb(184,180,59);background-color:rgb(0,0,0)" class=""><span style="font-variant-ligatures:no-common-ligatures" class="">Task : Remove brick </span></div><div style="margin:0px;line-height:normal;font-family:'Courier New';color:rgb(184,180,59);background-color:rgb(0,0,0)" class=""><span style="font-variant-ligatures:no-common-ligatures" class="">ID : 06ec63bb-a441-4b85-b3cf-<wbr class="">ac8e9df4830f</span></div><div style="margin:0px;line-height:normal;font-family:'Courier New';color:rgb(184,180,59);background-color:rgb(0,0,0)" class=""><span style="font-variant-ligatures:no-common-ligatures" class="">Removed bricks: </span></div><div style="margin:0px;line-height:normal;font-family:'Courier New';color:rgb(184,180,59);background-color:rgb(0,0,0)" class=""><span style="font-variant-ligatures:no-common-ligatures" class="">s04-stg:/gluster/mnt1/brick</span></div><div style="margin:0px;line-height:normal;font-family:'Courier New';color:rgb(184,180,59);background-color:rgb(0,0,0)" class=""><span style="font-variant-ligatures:no-common-ligatures" class="">s04-stg:/gluster/mnt2/brick</span></div><div style="margin:0px;line-height:normal;font-family:'Courier New';color:rgb(184,180,59);background-color:rgb(0,0,0)" class=""><span style="font-variant-ligatures:no-common-ligatures" class="">s04-stg:/gluster/mnt3/brick</span></div><div style="margin:0px;line-height:normal;font-family:'Courier New';color:rgb(184,180,59);background-color:rgb(0,0,0)" class=""><span style="font-variant-ligatures:no-common-ligatures" class="">s04-stg:/gluster/mnt4/brick</span></div><div style="margin:0px;line-height:normal;font-family:'Courier New';color:rgb(184,180,59);background-color:rgb(0,0,0)" class=""><span style="font-variant-ligatures:no-common-ligatures" class="">s04-stg:/gluster/mnt5/brick</span></div><div style="margin:0px;line-height:normal;font-family:'Courier New';color:rgb(184,180,59);background-color:rgb(0,0,0)" class=""><span style="font-variant-ligatures:no-common-ligatures" class="">s04-stg:/gluster/mnt6/brick</span></div><div style="margin:0px;line-height:normal;font-family:'Courier New';color:rgb(184,180,59);background-color:rgb(0,0,0)" class=""><span style="font-variant-ligatures:no-common-ligatures" class="">Status : in progress </span></div></div><div class=""><br class=""></div><div class=""><div style="margin:0px;line-height:normal;font-family:'Courier New';color:rgb(184,180,59);background-color:rgb(0,0,0)" class=""><span style="font-variant-ligatures:no-common-ligatures" class="">[root@s01 ~]# ps -ef|grep glusterfs</span></div><div style="margin:0px;line-height:normal;font-family:'Courier New';color:rgb(184,180,59);background-color:rgb(0,0,0)" class=""><span style="font-variant-ligatures:no-common-ligatures" class="">root 3956 1 79 set25 ? 2-14:33:57 /usr/sbin/</span><span style="font-variant-ligatures:no-common-ligatures;color:#c33720" class=""><b class="">glusterfs</b></span><span style="font-variant-ligatures:no-common-ligatures" class="">d -s s01-stg --volfile-id tier2.s01-stg.gluster-mnt1-<wbr class="">brick -p /var/run/gluster/vols/tier2/<wbr class="">s01-stg-gluster-mnt1-brick.pid -S /var/run/gluster/<wbr class="">a889b8a21ac2afcbfa0563b9dd4db2<wbr class="">65.socket --brick-name /gluster/mnt1/brick -l /var/log/</span><span style="font-variant-ligatures:no-common-ligatures;color:#c33720" class=""><b class="">glusterfs</b></span><span style="font-variant-ligatures:no-common-ligatures" class="">/bricks/<wbr class="">gluster-mnt1-brick.log --xlator-option *-posix.glusterd-uuid=<wbr class="">b734b083-4630-4523-9402-<wbr class="">05d03565efee --brick-port 49153 --xlator-option tier2-server.listen-port=49153</span></div><div style="margin:0px;line-height:normal;font-family:'Courier New';color:rgb(184,180,59);background-color:rgb(0,0,0)" class=""><span style="font-variant-ligatures:no-common-ligatures" class="">root 79376 1 0 09:16 ? 00:04:16 /usr/sbin/</span><span style="font-variant-ligatures:no-common-ligatures;color:#c33720" class=""><b class="">glusterfs</b></span><span style="font-variant-ligatures:no-common-ligatures" class=""> -s localhost --volfile-id gluster/glustershd -p /var/run/gluster/glustershd/<wbr class="">glustershd.pid -l /var/log/</span><span style="font-variant-ligatures:no-common-ligatures;color:#c33720" class=""><b class="">glusterfs</b></span><span style="font-variant-ligatures:no-common-ligatures" class="">/glustershd.<wbr class="">log -S /var/run/gluster/<wbr class="">4fab1a27e6ee700b3b9a3b3393ab74<wbr class="">45.socket --xlator-option *replicate*.node-uuid=<wbr class="">b734b083-4630-4523-9402-<wbr class="">05d03565efee</span></div><div style="margin:0px;line-height:normal;font-family:'Courier New';color:rgb(184,180,59);background-color:rgb(0,0,0)" class=""><span style="font-variant-ligatures:no-common-ligatures" class="">root 79472 1 0 09:16 ? 00:00:42 /usr/sbin/</span><span style="font-variant-ligatures:no-common-ligatures;color:#c33720" class=""><b class="">glusterfs</b></span><span style="font-variant-ligatures:no-common-ligatures" class=""> -s localhost --volfile-id gluster/quotad -p /var/run/gluster/quotad/<wbr class="">quotad.pid -l /var/log/</span><span style="font-variant-ligatures:no-common-ligatures;color:#c33720" class=""><b class="">glusterfs</b></span><span style="font-variant-ligatures:no-common-ligatures" class="">/quotad.log -S /var/run/gluster/<wbr class="">958ab34799fc58f4dfe20e5732eea7<wbr class="">0b.socket --xlator-option *replicate*.data-self-heal=off --xlator-option *replicate*.metadata-self-<wbr class="">heal=off --xlator-option *replicate*.entry-self-heal=<wbr class="">off</span></div><div style="margin:0px;line-height:normal;font-family:'Courier New';color:rgb(184,180,59);background-color:rgb(0,0,0)" class=""><span style="font-variant-ligatures:no-common-ligatures" class="">root 79485 1 7 09:16 ? 00:40:43 /usr/sbin/</span><span style="font-variant-ligatures:no-common-ligatures;color:#c33720" class=""><b class="">glusterfs</b></span><span style="font-variant-ligatures:no-common-ligatures" class=""> -s localhost --volfile-id gluster/bitd -p /var/run/gluster/bitd/bitd.pid -l /var/log/</span><span style="font-variant-ligatures:no-common-ligatures;color:#c33720" class=""><b class="">glusterfs</b></span><span style="font-variant-ligatures:no-common-ligatures" class="">/bitd.log -S /var/run/gluster/<wbr class="">b2ea9da593fae1bc4d94e65aefdbdd<wbr class="">a9.socket --global-timer-wheel</span></div><div style="margin:0px;line-height:normal;font-family:'Courier New';color:rgb(184,180,59);background-color:rgb(0,0,0)" class=""><span style="font-variant-ligatures:no-common-ligatures" class="">root 79505 1 0 09:16 ? 00:00:01 /usr/sbin/</span><span style="font-variant-ligatures:no-common-ligatures;color:#c33720" class=""><b class="">glusterfs</b></span><span style="font-variant-ligatures:no-common-ligatures" class=""> -s localhost --volfile-id gluster/scrub -p /var/run/gluster/scrub/scrub.<wbr class="">pid -l /var/log</span><span style="font-variant-ligatures:no-common-ligatures;color:#c33720" class=""><b class="">glusterfs</b></span><span style="font-variant-ligatures:no-common-ligatures" class="">/scrub.log -S /var/run/gluster/<wbr class="">ee7886cbcf8d2adf261084b608c905<wbr class="">d5.socket --global-timer-wheel</span></div><div style="margin:0px;line-height:normal;font-family:'Courier New';color:rgb(184,180,59);background-color:rgb(0,0,0)" class=""><span style="font-variant-ligatures:no-common-ligatures" class="">root 137362 137225 0 17:53 pts/0 00:00:00 grep --color=auto </span><span style="font-variant-ligatures:no-common-ligatures;color:#c33720" class=""><b class="">glusterfs</b></span></div></div><br class=""><div class=""><blockquote class=""><div class="">Il giorno 28 set 2018, alle ore 17:47, Ashish Pandey <<a href="mailto:aspandey@redhat.com" target="_blank" class="">aspandey@redhat.com</a>> ha scritto:</div><br class="m_-6378917339899735691Apple-interchange-newline"><div class=""><div class=""><div style="font-family:'times new roman','new york',times,serif;font-size:12pt" class=""><div class=""><br class=""></div><div class=""><br class=""></div><hr id="m_-6378917339899735691zwchr" class=""><div style="font-weight:normal;font-style:normal;text-decoration:none;font-family:Helvetica,Arial,sans-serif;font-size:12pt" class=""><b class="">From: </b>"Mauro Tridici" <<a href="mailto:mauro.tridici@cmcc.it" target="_blank" class="">mauro.tridici@cmcc.it</a>><br class=""><b class="">To: </b>"Ashish Pandey" <<a href="mailto:aspandey@redhat.com" target="_blank" class="">aspandey@redhat.com</a>><br class=""><b class="">Cc: </b>"Gluster Users" <<a href="mailto:gluster-users@gluster.org" target="_blank" class="">gluster-users@gluster.org</a>><br class=""><b class="">Sent: </b>Friday, September 28, 2018 9:08:52 PM<br class=""><b class="">Subject: </b>Re: [Gluster-users] Rebalance failed on Distributed Disperse volume based on 3.12.14 version<br class=""><div class=""><br class=""></div><div dir="auto" class=""><div class="">Thank you, Ashish.<div dir="auto" class=""><br class=""></div><div dir="auto" class="">I will study and try your solution on my virtual env.</div><div dir="auto" class="">How I can detect the process of a brick on gluster server?</div><div dir="auto" class=""><br class=""></div><div dir="auto" class="">Many Thanks,</div><div dir="auto" class="">Mauro</div><div dir="auto" class=""><br class=""></div><br class=""><div class="">gluster v status <volname> will give you the list of bricks and the respective process id.<br class=""></div><div class="">Also, you can use "ps aux | grep glusterfs" to see all the processes on a node but I think the above step also do the same.<br class=""></div><div class=""><br class=""></div><div class="">---<br class=""></div><div class="">Ashish<br class=""></div><div class=""><br class=""></div><div class=""><br class=""></div><div class=""><br class=""></div><div class="gmail_quote"><div dir="ltr" class="">Il ven 28 set 2018 16:39 Ashish Pandey <<a href="mailto:aspandey@redhat.com" target="_blank" class="">aspandey@redhat.com</a>> ha scritto:<br class=""></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class=""><div style="font-family:'times new roman','new york',times,serif;font-size:12pt" class=""><div class=""><br class=""></div><div class=""><br class=""></div><hr id="m_-6378917339899735691m_4766848556606636788zwchr" class=""><div style="font-weight:normal;font-style:normal;text-decoration:none;font-family:Helvetica,Arial,sans-serif;font-size:12pt" class=""><b class="">From: </b>"Mauro Tridici" <<a href="mailto:mauro.tridici@cmcc.it" rel="noreferrer" target="_blank" class="">mauro.tridici@cmcc.it</a>><br class=""><b class="">To: </b>"Ashish Pandey" <<a href="mailto:aspandey@redhat.com" rel="noreferrer" target="_blank" class="">aspandey@redhat.com</a>><br class=""><b class="">Cc: </b>"gluster-users" <<a href="mailto:gluster-users@gluster.org" rel="noreferrer" target="_blank" class="">gluster-users@gluster.org</a>><br class=""><b class="">Sent: </b>Friday, September 28, 2018 7:08:41 PM<br class=""><b class="">Subject: </b>Re: [Gluster-users] Rebalance failed on Distributed Disperse volume based on 3.12.14 version<br class=""><div class=""><br class=""></div><div class=""><div class=""><br class=""></div><div class="">Dear Ashish,</div><div class=""><br class=""></div><div class="">please excuse me, I'm very sorry for misunderstanding.</div><div class="">Before contacting you during last days, we checked all network devices (switch 10GbE, cables, NICs, servers ports, and so on), operating systems version and settings, network bonding configuration, gluster packages versions, tuning profiles, etc. but everything seems to be ok. The first 3 servers (and volume) operated without problem for one year. After we added the new 3 servers we noticed something wrong.</div><div class="">Fortunately, yesterday you gave me an hand to understand where is (or could be) the problem. </div><div class=""><br class=""></div><div class="">At this moment, after we re-launched the remove-brick command, it seems that the rebalance is going ahead without errors, but it is only scanning the files.</div><div class="">May be that during the future data movement some errors could appear.</div><div class=""><br class=""></div><div class="">For this reason, it could be useful to know how to proceed in case of a new failure: insist with approach n.1 or change the strategy?</div><div class="">We are thinking to try to complete the running remove-brick procedure and make a decision based on the outcome.</div><div class=""><br class=""></div><div class="">Question: could we start approach n.2 also after having successfully removed the V1 subvolume?!</div><div class=""><br class=""></div><div class="">>>> Yes, we can do that. My idea is to use replace-brick command. <br class=""></div><div class="">We will kill "ONLY" one brick process on s06. We will format this brick. Then use replace-brick command to replace brick of a volume on s05 with this formatted brick.<br class=""></div><div class="">heal will be triggered and data of the respective volume will be placed on this brick.<br class=""></div><div class=""><br class=""></div><div class="">Now, we can format the brick which got freed up on s05 and replace the brick which we killed on s06 to s05.<br class=""></div><div class="">During this process, we have to make sure heal completed before trying any other replace/kill brick. <br class=""></div><div class=""><br class=""></div><div class="">It is tricky but looks doable. Think about it and try to perform it on your virtual environment first before trying on production.</div><div class="">-------<br class=""></div><div class=""><br class=""></div><div class="">If it is still possible, could you please illustrate the approach n.2 even if I dont have free disks?</div><div class="">I would like to start thinking about it and test it on a virtual environment.</div><div class=""><br class=""></div><div class="">Thank you in advance for your help and patience.</div><div class="">Regards,</div><div class="">Mauro</div></div><div class=""><br class=""></div><div class=""><br class=""></div><br class=""><div class=""><blockquote class=""><div class="">Il giorno 28 set 2018, alle ore 14:36, Ashish Pandey <<a href="mailto:aspandey@redhat.com" rel="noreferrer" target="_blank" class="">aspandey@redhat.com</a>> ha scritto:</div><br class="m_-6378917339899735691m_4766848556606636788Apple-interchange-newline"><div class=""><div class=""><div style="font-family:'times new roman','new york',times,serif;font-size:12pt" class=""><br class="">We could have taken approach -2 even if you did not have free disks. You should have told me why are you<br class="">opting Approach-1 or perhaps I should have asked.<br class="">I was wondering for approach 1 because sometimes re-balance takes time depending upon the data size.<br class=""><div class=""><br class=""></div>Anyway, I hope whole setup is stable, I mean it is not in the middle of something which we can not stop.<br class="">If free disks are the only concern I will give you some more steps to deal with it and follow the approach 2.<br class=""><div class=""><br class=""></div>Let me know once you think everything is fine with the system and there is nothing to heal.<br class=""><div class=""><br class=""></div>---<br class="">Ashish<br class=""><div class=""><br class=""></div><hr id="m_-6378917339899735691m_4766848556606636788zwchr" class=""><div style="font-weight:normal;font-style:normal;text-decoration:none;font-family:Helvetica,Arial,sans-serif;font-size:12pt" class=""><b class="">From: </b>"Mauro Tridici" <<a href="mailto:mauro.tridici@cmcc.it" rel="noreferrer" target="_blank" class="">mauro.tridici@cmcc.it</a>><br class=""><b class="">To: </b>"Ashish Pandey" <<a href="mailto:aspandey@redhat.com" rel="noreferrer" target="_blank" class="">aspandey@redhat.com</a>><br class=""><b class="">Cc: </b>"gluster-users" <<a href="mailto:gluster-users@gluster.org" rel="noreferrer" target="_blank" class="">gluster-users@gluster.org</a>><br class=""><b class="">Sent: </b>Friday, September 28, 2018 4:21:03 PM<br class=""><b class="">Subject: </b>Re: [Gluster-users] Rebalance failed on Distributed Disperse volume based on 3.12.14 version<br class=""><div class=""><br class=""></div><div class=""><br class=""></div><div class=""><div class="">Hi Ashish,</div><div class=""><br class=""></div><div class="">as I said in my previous message, we adopted the first approach you suggested (setting network.ping-timeout option to 0).</div><div class="">This choice was due to the absence of empty brick to be used as indicated in the second approach.</div><div class=""><br class=""></div><div class="">So, we launched remove-brick command on the first subvolume (V1, bricks 1,2,3,4,5,6 on server s04).</div><div class="">Rebalance started moving the data across the other bricks, but, after about 3TB of moved data, rebalance speed slowed down and some transfer errors appeared in the rebalance.log of server s04.</div><div class="">At this point, since remaining 1,8TB need to be moved in order to complete the step, we decided to stop the remove-brick execution and start it again (I hope it doesn’t stop again before complete the rebalance)</div><div class=""><br class=""></div><div class="">Now rebalance is not moving data, it’s only scanning files (please, take a look to the following output)</div></div><div class=""><br class=""></div><div class=""><div style="margin:0px;line-height:normal;font-family:'Courier New';color:rgb(184,180,59);background-color:rgb(0,0,0)" class=""><span style="font-variant-ligatures:no-common-ligatures" class="">[root@s01 ~]# gluster volume remove-brick tier2 s04-stg:/gluster/mnt1/brick s04-stg:/gluster/mnt2/brick s04-stg:/gluster/mnt3/brick s04-stg:/gluster/mnt4/brick s04-stg:/gluster/mnt5/brick s04-stg:/gluster/mnt6/brick status</span></div><div style="margin:0px;line-height:normal;font-family:'Courier New';color:rgb(184,180,59);background-color:rgb(0,0,0)" class=""><span style="font-variant-ligatures:no-common-ligatures" class=""> Node Rebalanced-files size scanned failures skipped status run time in h:m:s</span></div><div style="margin:0px;line-height:normal;font-family:'Courier New';color:rgb(184,180,59);background-color:rgb(0,0,0)" class=""><span style="font-variant-ligatures:no-common-ligatures" class=""> --------- ----------- ----------- ----------- ----------- ----------- ------------ --------------</span></div><div style="margin:0px;line-height:normal;font-family:'Courier New';color:rgb(184,180,59);background-color:rgb(0,0,0)" class=""><span style="font-variant-ligatures:no-common-ligatures" class=""> s04-stg 0 0Bytes 182008 0 0 in progress 3:08:09</span></div><div style="margin:0px;line-height:normal;font-family:'Courier New';color:rgb(184,180,59);background-color:rgb(0,0,0)" class=""><span style="font-variant-ligatures:no-common-ligatures" class="">Estimated time left for rebalance to complete : 442:45:06</span></div></div><div class=""><br class=""></div><div class=""><div class="">If I’m not wrong, remove-brick rebalances entire cluster each time it start.</div><div class="">Is there a way to speed up this procedure? Do you have some other suggestion that, in this particular case, could be useful to reduce errors (I know that they are related to the current volume configuration) and improve rebalance performance avoiding to rebalance the entire cluster?</div></div><div class=""><br class=""></div><div class="">Thank you in advance,</div><div class="">Mauro</div><br class=""><div class=""><blockquote class=""><div class="">Il giorno 27 set 2018, alle ore 13:14, Ashish Pandey <<a href="mailto:aspandey@redhat.com" rel="noreferrer" target="_blank" class="">aspandey@redhat.com</a>> ha scritto:</div><br class="m_-6378917339899735691m_4766848556606636788Apple-interchange-newline"><div class=""><div class=""><div style="font-family:'times new roman','new york',times,serif;font-size:12pt" class=""><div class=""><br class=""></div><div class="">Yes, you can.</div><div class="">If not me others may also reply.<br class=""></div><div class=""><br class=""></div><div class="">---<br class=""></div><div class="">Ashish<br class=""></div><div class=""><br class=""></div><hr id="m_-6378917339899735691m_4766848556606636788zwchr" class=""><div style="font-weight:normal;font-style:normal;text-decoration:none;font-family:Helvetica,Arial,sans-serif;font-size:12pt" class=""><b class="">From: </b>"Mauro Tridici" <<a href="mailto:mauro.tridici@cmcc.it" rel="noreferrer" target="_blank" class="">mauro.tridici@cmcc.it</a>><br class=""><b class="">To: </b>"Ashish Pandey" <<a href="mailto:aspandey@redhat.com" rel="noreferrer" target="_blank" class="">aspandey@redhat.com</a>><br class=""><b class="">Cc: </b>"gluster-users" <<a href="mailto:gluster-users@gluster.org" rel="noreferrer" target="_blank" class="">gluster-users@gluster.org</a>><br class=""><b class="">Sent: </b>Thursday, September 27, 2018 4:24:12 PM<br class=""><b class="">Subject: </b>Re: [Gluster-users] Rebalance failed on Distributed Disperse volume based on 3.12.14 version<br class=""><div class=""><br class=""></div><div class=""><br class=""></div><div class="">Dear Ashish,</div><div class=""><br class=""></div><div class="">I can not thank you enough!</div><div class="">Your procedure and description is very detailed.</div><div class="">I think to follow the first approach after setting network.ping-timeout option to 0 (If I’m not wrong “0" means “infinite”...I noticed that this value reduced rebalance errors).</div><div class="">After the fix I will set network.ping-timeout option to default value.</div><div class=""><br class=""></div><div class="">Could I contact you again if I need some kind of suggestion?</div><div class=""><br class=""></div><div class="">Thank you very much again.</div><div class="">Have a good day,</div><div class="">Mauro</div><div class=""><br class=""></div><br class=""><div class=""><blockquote class=""><div class="">Il giorno 27 set 2018, alle ore 12:38, Ashish Pandey <<a href="mailto:aspandey@redhat.com" rel="noreferrer" target="_blank" class="">aspandey@redhat.com</a>> ha scritto:</div><br class="m_-6378917339899735691m_4766848556606636788Apple-interchange-newline"><div class=""><div class=""><div style="font-family:'times new roman','new york',times,serif;font-size:12pt" class=""><div class=""><br class=""></div><div class=""><div class="">Hi Mauro,</div><div class=""><br class=""></div><div class="">We can divide the 36 newly added bricks into 6 set of 6 bricks each starting from brick37.</div><div class="">That means, there are 6 ec subvolumes and we have to deal with one sub volume at a time.</div><div class="">I have named it V1 to V6.</div><div class=""><br class=""></div><div class="">Problem:</div><div class="">Take the case of V1.</div><div class="">The best configuration/setup would be to have all the 6 bricks of V1 on 6 different nodes.</div><div class="">However, in your case you have added 3 new nodes. So, at least we should have 2 bricks on 3 different newly added nodes.</div><div class="">This way, in 4+2 EC configuration, even if one node goes down you will have 4 other bricks of that volume</div></div></div></div></div></blockquote></div></div></div></div></div></blockquote></div></div></div></div></div></blockquote></div></div></div></div></blockquote></div></div></div></div></div></div></div></blockquote></div></div></div></div></div></blockquote></div></div><br class="">______________________________<wbr class="">_________________<br class="">
Gluster-users mailing list<br class="">
<a href="mailto:Gluster-users@gluster.org" class="">Gluster-users@gluster.org</a><br class="">
<a href="https://lists.gluster.org/mailman/listinfo/gluster-users" rel="noreferrer" target="_blank" class="">https://lists.gluster.org/<wbr class="">mailman/listinfo/gluster-users</a><br class="">...<br class=""><br class="">[Message clipped] </blockquote></div><br class=""></div></div>
</div></blockquote></div><br class=""><div class="">
<span class="Apple-style-span" style="border-collapse: separate; font-variant-ligatures: normal; font-variant-position: normal; font-variant-numeric: normal; font-variant-alternates: normal; font-variant-east-asian: normal; line-height: normal; border-spacing: 0px;"><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class=""><span class="Apple-style-span" style="border-collapse: separate; font-variant-ligatures: normal; font-variant-position: normal; font-variant-numeric: normal; font-variant-alternates: normal; font-variant-east-asian: normal; line-height: normal; orphans: 2; text-align: -webkit-auto; text-indent: 0px; widows: 2; border-spacing: 0px;"><div style="font-family: Helvetica; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-stroke-width: 0px;" class=""><br class="Apple-interchange-newline">--------</div></span></div></span></div></div></div></blockquote></div></div></div></div></blockquote></div><br class=""><div class="">
<span class="Apple-style-span" style="border-collapse: separate; font-variant-ligatures: normal; font-variant-position: normal; font-variant-numeric: normal; font-variant-alternates: normal; font-variant-east-asian: normal; line-height: normal; orphans: 2; text-align: -webkit-auto; text-indent: 0px; widows: 2; border-spacing: 0px;"><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class=""><span class="Apple-style-span" style="border-collapse: separate; font-variant-ligatures: normal; font-variant-position: normal; font-variant-numeric: normal; font-variant-alternates: normal; font-variant-east-asian: normal; line-height: normal; orphans: 2; text-align: -webkit-auto; text-indent: 0px; widows: 2; border-spacing: 0px;"><div style="color: rgb(0, 0, 0); font-family: Helvetica; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-stroke-width: 0px;" class=""><br class="Apple-interchange-newline">-------------------------</div><div style="color: rgb(0, 0, 0); font-family: Helvetica; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-stroke-width: 0px;" class="">Mauro Tridici</div><div style="color: rgb(0, 0, 0); font-family: Helvetica; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-stroke-width: 0px;" class=""><br class=""></div><div style="color: rgb(0, 0, 0); font-family: Helvetica; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-stroke-width: 0px;" class="">Fondazione CMCC</div><div style="color: rgb(0, 0, 0); font-family: Helvetica; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-stroke-width: 0px;" class="">CMCC Supercomputing Center</div><div style="color: rgb(0, 0, 0); font-family: Helvetica; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-stroke-width: 0px;" class="">presso Complesso Ecotekne - Università del Salento -</div><div style="color: rgb(0, 0, 0); font-family: Helvetica; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-stroke-width: 0px;" class="">Strada Prov.le Lecce - Monteroni sn</div><div style="color: rgb(0, 0, 0); font-family: Helvetica; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-stroke-width: 0px;" class="">73100 Lecce IT</div><div style="color: rgb(0, 0, 0); font-family: Helvetica; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-stroke-width: 0px;" class=""><a href="http://www.cmcc.it" class="">http://www.cmcc.it</a></div><div style="color: rgb(0, 0, 0); font-family: Helvetica; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-stroke-width: 0px;" class=""><br class=""></div><div style="color: rgb(0, 0, 0); font-family: Helvetica; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-stroke-width: 0px;" class="">mobile: (+39) 327 5630841</div><div style="color: rgb(0, 0, 0); font-family: Helvetica; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-stroke-width: 0px;" class="">email:<span class="Apple-converted-space"> </span><a href="mailto:mauro.tridici@cmcc.it" class="">mauro.tridici@cmcc.it</a></div><div class=""><a href="https://it.linkedin.com/in/mauro-tridici-5977238b" class="">https://it.linkedin.com/in/mauro-tridici-5977238b</a></div></span></div></span>
</div>
<br class=""></body></html>