<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns:mv="http://macVmlSchemaUri" xmlns="http://www.w3.org/TR/REC-html40">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<meta name="Title" content="">
<meta name="Keywords" content="">
<meta name="Generator" content="Microsoft Word 15 (filtered medium)">
<style><!--
/* Font Definitions */
@font-face
        {font-family:"Cambria Math";
        panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0cm;
        margin-bottom:.0001pt;
        font-size:12.0pt;
        font-family:"Calibri",sans-serif;
        mso-fareast-language:EN-US;}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:#0563C1;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:#954F72;
        text-decoration:underline;}
span.EmailStyle17
        {mso-style-type:personal;
        font-family:"Calibri",sans-serif;
        color:windowtext;}
span.EmailStyle18
        {mso-style-type:personal-compose;
        font-family:"Calibri",sans-serif;
        color:windowtext;}
span.msoIns
        {mso-style-type:export-only;
        mso-style-name:"";
        text-decoration:underline;
        color:teal;}
.MsoChpDefault
        {mso-style-type:export-only;
        font-size:10.0pt;
        font-family:"Calibri",sans-serif;
        mso-fareast-language:EN-US;}
@page WordSection1
        {size:595.0pt 842.0pt;
        margin:70.85pt 70.85pt 70.85pt 70.85pt;}
div.WordSection1
        {page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1027"/>
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1"/>
</o:shapelayout></xml><![endif]-->
</head>
<body bgcolor="white" lang="EN-GB" link="#0563C1" vlink="#954F72">
<div class="WordSection1">
<p class="MsoNormal"><span style="font-size:11.0pt">Hi,<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt">Have a glusterfs 3.10.10 (tried 3.12.6 as well) volume on Ubuntu 16.04 with a 3 ssd tier where one ssd is bad.<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt">Status of volume: labgreenbin<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Courier",serif">Gluster process TCP Port RDMA Port Online Pid<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Courier",serif">------------------------------------------------------------------------------<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Courier",serif">Hot Bricks:<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Courier",serif">Brick labgfs81:/gfs/p1-tier/mount 49156 0 Y 4217<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Courier",serif">Brick labgfs51:/gfs/p1-tier/mount N/A N/A N N/A<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Courier",serif">Brick labgfs11:/gfs/p1-tier/mount 49152 0 Y 643<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Courier",serif">Cold Bricks:<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Courier",serif">Brick labgfs11:/gfs/p1/mount 49153 0 Y 312<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Courier",serif">Brick labgfs51:/gfs/p1/mount 49153 0 Y 295<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Courier",serif">Brick labgfs81:/gfs/p1/mount 49153 0 Y 307<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt">Cannot find a command to replace the ssd so instead trying detach the tier but:<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt"># gluster volume tier labgreenbin detach start<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt">volume tier detach start: failed: Pre Validation failed on labgfs51. Found stopped brick labgfs51:/gfs/p1-tier/mount. Use force option to remove the offline brick<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt">Tier command failed<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt">‘force’ results in Usage:<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt"># gluster volume tier labgreenbin detach start force<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt">Usage:<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt">volume tier <VOLNAME> status<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt">volume tier <VOLNAME> start [force]<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt">volume tier <VOLNAME> stop<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt">volume tier <VOLNAME> attach [<replica COUNT>] <NEW-BRICK>... [force]<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt">volume tier <VOLNAME> detach <start|stop|status|commit|[force]><o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt">So trying to remove the brick:<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt"># gluster v remove-brick labgreenbin replica 2 labgfs51:/gfs/p1-tier/mount force<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt">Removing brick(s) can result in data loss. Do you want to Continue? (y/n) y<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt">volume remove-brick commit force: failed: Removing brick from a Tier volume is not allowed<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt">Succeeded removing the tier with:
<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt"># gluster volume tier labgreenbin detach force<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt">but what does that mean? Will the content of tier get lost?<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt">How to solve this situation?<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt">/Curt<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt"><o:p> </o:p></span></p>
</div>
</body>
</html>