<div dir="ltr">Well, actually I am not concerned ONLY about mirroring the data, but with reliability on it.<div>Here during my lab tests I notice if I pull off a disk and then power on the server, the LVM crashes... </div><div>On the other hand, with ZFS even in degraded state the system booted normally.<br clear="all"><div><div dir="ltr" data-smartmail="gmail_signature"><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div dir="ltr"><div dir="ltr"><div>The same happens with mdadm. That&#39;s the point.</div><div><br></div><div>---</div><div><div><div>Gilberto Nunes Ferreira</div></div><div><span style="font-size:12.8px"><br></span></div><div><span style="font-size:12.8px">(47) 3025-5907</span><br></div><div><font size="4"><b></b></font></div><div><span style="font-size:12.8px">(47) 99676-7530 - Whatsapp / Telegram</span><br></div><div><p style="font-size:12.8px;margin:0px"></p><p style="font-size:12.8px;margin:0px">Skype: gilberto.nunes36</p><p style="font-size:12.8px;margin:0px"><br></p></div></div><div><br></div></div></div></div></div></div></div></div></div></div><br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">Em qui., 30 de jul. de 2020 às 10:18, Alvin Starr &lt;<a href="mailto:alvin@netvel.net" target="_blank">alvin@netvel.net</a>&gt; escreveu:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
  
    
  
  <div>
    LVM supports mirroring or raid1.<br>
    So to create a raid1 you would do something like &quot;lvcreate -n
    raidvol  -L 1T --mirrors 1  /dev/bigvg&quot;<br>
    You can add a mirror to an existing logical volume using lvconvert 
    with something like &quot;lvconvert --mirrors +1 bigvg/unmirroredlv&quot;<br>
    <br>
    But other than simple mirroring you will need mdadm.<br>
    <br>
    <br>
    <br>
    <div>On 7/30/20 8:39 AM, Gilberto Nunes
      wrote:<br>
    </div>
    <blockquote type="cite">
      
      <div dir="ltr">Doing some research and the chvg command, which is
        responsable for create hotspare disks in LVM is available only
        in AIX!
        <div>I have a Debian Buster box and there is no such command
          chvg. Correct me if I am wrong....<br clear="all">
          <div>
            <div dir="ltr">
              <div dir="ltr">
                <div>
                  <div dir="ltr">
                    <div>
                      <div dir="ltr">
                        <div dir="ltr">
                          <div dir="ltr">
                            <div>---</div>
                            <div>
                              <div>
                                <div>Gilberto Nunes Ferreira</div>
                              </div>
                              <div><span style="font-size:12.8px"><br>
                                </span></div>
                              <div><span style="font-size:12.8px">(47)
                                  3025-5907</span><br>
                              </div>
                              <div><span style="font-size:12.8px">(47)
                                  99676-7530 - Whatsapp / Telegram</span><br>
                              </div>
                              <div>
                                <p style="font-size:12.8px;margin:0px">Skype:
                                  gilberto.nunes36</p>
                                <p style="font-size:12.8px;margin:0px"><br>
                                </p>
                              </div>
                            </div>
                            <div><br>
                            </div>
                          </div>
                        </div>
                      </div>
                    </div>
                  </div>
                </div>
              </div>
            </div>
          </div>
          <br>
        </div>
      </div>
      <br>
      <div class="gmail_quote">
        <div dir="ltr" class="gmail_attr">Em qui., 30 de jul. de 2020 às
          02:05, Strahil Nikolov &lt;<a href="mailto:hunter86_bg@yahoo.com" target="_blank">hunter86_bg@yahoo.com</a>&gt;
          escreveu:<br>
        </div>
        <blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">LVM
          allows creating/converting striped/mirrored LVs without any
          dowtime and it&#39;s using the md module.<br>
          <br>
          Best Regards,<br>
          Strahil Nikolov<br>
          <br>
          На 28 юли 2020 г. 22:43:39 GMT+03:00, Gilberto Nunes &lt;<a href="mailto:gilberto.nunes32@gmail.com" target="_blank">gilberto.nunes32@gmail.com</a>&gt;
          написа:<br>
          &gt;Hi there....<br>
          &gt;<br>
          &gt;&#39;till now, I am using glusterfs over XFS and so far so
          good.<br>
          &gt;Using LVM too....<br>
          &gt;Unfortunately, there is no way with XFS to merge two or
          more HDD, in<br>
          &gt;order<br>
          &gt;to use more than one HDD, like RAID1 or RAID5.<br>
          &gt;My primary goal is to use two server with GlusterFS on top
          of multiples<br>
          &gt;HDDs for qemu images.<br>
          &gt;I have think about BTRFS or mdadm.<br>
          &gt;Anybody has some experience on this?<br>
          &gt;<br>
          &gt;Thanks a lot<br>
          &gt;<br>
          &gt;---<br>
          &gt;Gilberto Nunes Ferreira<br>
        </blockquote>
      </div>
      <br>
      <fieldset></fieldset>
      <pre>________



Community Meeting Calendar:

Schedule -
Every 2nd and 4th Tuesday at 14:30 IST / 09:00 UTC
Bridge: <a href="https://bluejeans.com/441850968" target="_blank">https://bluejeans.com/441850968</a>

Gluster-users mailing list
<a href="mailto:Gluster-users@gluster.org" target="_blank">Gluster-users@gluster.org</a>
<a href="https://lists.gluster.org/mailman/listinfo/gluster-users" target="_blank">https://lists.gluster.org/mailman/listinfo/gluster-users</a>
</pre>
    </blockquote>
    <br>
    <pre cols="72">-- 
Alvin Starr                   ||   land:  (647)478-6285
Netvel Inc.                   ||   Cell:  (416)806-0133
<a href="mailto:alvin@netvel.net" target="_blank">alvin@netvel.net</a>              ||

</pre>
  </div>

________<br>
<br>
<br>
<br>
Community Meeting Calendar:<br>
<br>
Schedule -<br>
Every 2nd and 4th Tuesday at 14:30 IST / 09:00 UTC<br>
Bridge: <a href="https://bluejeans.com/441850968" rel="noreferrer" target="_blank">https://bluejeans.com/441850968</a><br>
<br>
Gluster-users mailing list<br>
<a href="mailto:Gluster-users@gluster.org" target="_blank">Gluster-users@gluster.org</a><br>
<a href="https://lists.gluster.org/mailman/listinfo/gluster-users" rel="noreferrer" target="_blank">https://lists.gluster.org/mailman/listinfo/gluster-users</a><br>
</blockquote></div>