<div dir="ltr"><div>I am dealing here with just 2 nodes and a bunch of disks on it... Just a scenario for study but real in many cases we face low budgets...</div><div>Anyway thanks for the tips! <br></div><div><br></div><div><br></div><div><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>---</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 13:34, Strahil Nikolov <<a href="mailto:hunter86_bg@yahoo.com" target="_blank">hunter86_bg@yahoo.com</a>> 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">Anyway in raid1+spare on a replica 2 volume you will be using 6 disks in total.<br>
It will be more optimal to get all those disks in 'replica 3' or 'replica 3 arbiter 1' (for the arbiter it would be optimal to have a small ssd and the data disks for tge actual data).<br>
<br>
Best Regards,<br>
Strahil Nikolov<br>
<br>
На 30 юли 2020 г. 19:32:32 GMT+03:00, Strahil Nikolov <<a href="mailto:hunter86_bg@yahoo.com" target="_blank">hunter86_bg@yahoo.com</a>> написа:<br>
>When using legacy, you need to prepare the MBR on each disk, so the<br>
>BIOS will be able to boot from it and load grub.<br>
><br>
>On UEFI, you will need 2 entries each pointing to the other disk. There<br>
>is a thread for each approach in the CentOS7 forums and the peocedure<br>
>is almost the same on all linux .<br>
><br>
>Best Regards,<br>
>Strahil Nikolov<br>
><br>
>На 30 юли 2020 г. 18:17:49 GMT+03:00, Gilberto Nunes<br>
><<a href="mailto:gilberto.nunes32@gmail.com" target="_blank">gilberto.nunes32@gmail.com</a>> написа:<br>
>>I am using Legacy... But I am using Virtualbox in my labs... Perhaps<br>
>>this<br>
>>is the problem...<br>
>>I don't do that in real hardware. But with spare disk (2 + 1) in mdadm<br>
>>it's<br>
>>fine.<br>
>><br>
>>---<br>
>>Gilberto Nunes Ferreira<br>
>><br>
>>(47) 3025-5907<br>
>>(47) 99676-7530 - Whatsapp / Telegram<br>
>><br>
>>Skype: gilberto.nunes36<br>
>><br>
>><br>
>><br>
>><br>
>><br>
>>Em qui., 30 de jul. de 2020 às 12:16, Strahil Nikolov<br>
>><<a href="mailto:hunter86_bg@yahoo.com" target="_blank">hunter86_bg@yahoo.com</a>><br>
>>escreveu:<br>
>><br>
>>> The crash with failed mdadm disk is not normal. We need to check<br>
>it<br>
>>out.<br>
>>><br>
>>> Are you using Legacy or UEFI ?<br>
>>><br>
>>> Best Regards,<br>
>>> Strahil Nikolov<br>
>>><br>
>>> На 30 юли 2020 г. 16:25:47 GMT+03:00, Gilberto Nunes <<br>
>>> <a href="mailto:gilberto.nunes32@gmail.com" target="_blank">gilberto.nunes32@gmail.com</a>> написа:<br>
>>> >But I will give it a try in the lvm mirroring process.... Thanks<br>
>>> >---<br>
>>> >Gilberto Nunes Ferreira<br>
>>> ><br>
>>> >(47) 3025-5907<br>
>>> >(47) 99676-7530 - Whatsapp / Telegram<br>
>>> ><br>
>>> >Skype: gilberto.nunes36<br>
>>> ><br>
>>> ><br>
>>> ><br>
>>> ><br>
>>> ><br>
>>> >Em qui., 30 de jul. de 2020 às 10:23, Gilberto Nunes <<br>
>>> ><a href="mailto:gilberto.nunes32@gmail.com" target="_blank">gilberto.nunes32@gmail.com</a>> escreveu:<br>
>>> ><br>
>>> >> Well, actually I am not concerned ONLY about mirroring the data,<br>
>>but<br>
>>> >with<br>
>>> >> reliability on it.<br>
>>> >> Here during my lab tests I notice if I pull off a disk and then<br>
>>power<br>
>>> >on<br>
>>> >> the server, the LVM crashes...<br>
>>> >> On the other hand, with ZFS even in degraded state the system<br>
>>booted<br>
>>> >> normally.<br>
>>> >> The same happens with mdadm. That's the point.<br>
>>> >><br>
>>> >> ---<br>
>>> >> Gilberto Nunes Ferreira<br>
>>> >><br>
>>> >> (47) 3025-5907<br>
>>> >> (47) 99676-7530 - Whatsapp / Telegram<br>
>>> >><br>
>>> >> Skype: gilberto.nunes36<br>
>>> >><br>
>>> >><br>
>>> >><br>
>>> >><br>
>>> >><br>
>>> >> Em qui., 30 de jul. de 2020 às 10:18, Alvin Starr<br>
>><<a href="mailto:alvin@netvel.net" target="_blank">alvin@netvel.net</a>><br>
>>> >> escreveu:<br>
>>> >><br>
>>> >>> LVM supports mirroring or raid1.<br>
>>> >>> So to create a raid1 you would do something like "lvcreate -n<br>
>>> >raidvol -L<br>
>>> >>> 1T --mirrors 1 /dev/bigvg"<br>
>>> >>> You can add a mirror to an existing logical volume using<br>
>>lvconvert<br>
>>> >with<br>
>>> >>> something like "lvconvert --mirrors +1 bigvg/unmirroredlv"<br>
>>> >>><br>
>>> >>> But other than simple mirroring you will need mdadm.<br>
>>> >>><br>
>>> >>><br>
>>> >>><br>
>>> >>> On 7/30/20 8:39 AM, Gilberto Nunes wrote:<br>
>>> >>><br>
>>> >>> Doing some research and the chvg command, which is responsable<br>
>>for<br>
>>> >create<br>
>>> >>> hotspare disks in LVM is available only in AIX!<br>
>>> >>> I have a Debian Buster box and there is no such command chvg.<br>
>>> >Correct me<br>
>>> >>> if I am wrong....<br>
>>> >>> ---<br>
>>> >>> Gilberto Nunes Ferreira<br>
>>> >>><br>
>>> >>> (47) 3025-5907<br>
>>> >>> (47) 99676-7530 - Whatsapp / Telegram<br>
>>> >>><br>
>>> >>> Skype: gilberto.nunes36<br>
>>> >>><br>
>>> >>><br>
>>> >>><br>
>>> >>><br>
>>> >>><br>
>>> >>> Em qui., 30 de jul. de 2020 às 02:05, Strahil Nikolov <<br>
>>> >>> <a href="mailto:hunter86_bg@yahoo.com" target="_blank">hunter86_bg@yahoo.com</a>> escreveu:<br>
>>> >>><br>
>>> >>>> LVM allows creating/converting striped/mirrored LVs without any<br>
>>> >dowtime<br>
>>> >>>> and it's using the md module.<br>
>>> >>>><br>
>>> >>>> Best Regards,<br>
>>> >>>> Strahil Nikolov<br>
>>> >>>><br>
>>> >>>> На 28 юли 2020 г. 22:43:39 GMT+03:00, Gilberto Nunes <<br>
>>> >>>> <a href="mailto:gilberto.nunes32@gmail.com" target="_blank">gilberto.nunes32@gmail.com</a>> написа:<br>
>>> >>>> >Hi there....<br>
>>> >>>> ><br>
>>> >>>> >'till now, I am using glusterfs over XFS and so far so good.<br>
>>> >>>> >Using LVM too....<br>
>>> >>>> >Unfortunately, there is no way with XFS to merge two or more<br>
>>HDD,<br>
>>> >in<br>
>>> >>>> >order<br>
>>> >>>> >to use more than one HDD, like RAID1 or RAID5.<br>
>>> >>>> >My primary goal is to use two server with GlusterFS on top of<br>
>>> >multiples<br>
>>> >>>> >HDDs for qemu images.<br>
>>> >>>> >I have think about BTRFS or mdadm.<br>
>>> >>>> >Anybody has some experience on this?<br>
>>> >>>> ><br>
>>> >>>> >Thanks a lot<br>
>>> >>>> ><br>
>>> >>>> >---<br>
>>> >>>> >Gilberto Nunes Ferreira<br>
>>> >>>><br>
>>> >>><br>
>>> >>> ________<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<br>
>>> >listGluster-users@gluster.orghttps://<br>
>>> <a href="http://lists.gluster.org/mailman/listinfo/gluster-users" rel="noreferrer" target="_blank">lists.gluster.org/mailman/listinfo/gluster-users</a><br>
>>> >>><br>
>>> >>><br>
>>> >>> --<br>
>>> >>> Alvin Starr || land: (647)478-6285<br>
>>> >>> Netvel Inc. || Cell:<br>
>>> >(416)<a href="mailto:806-0133alvin@netvel.net" target="_blank">806-0133alvin@netvel.net</a> ||<br>
>>> >>><br>
>>> >>><br>
>>> >>> ________<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>
>>> >>><br>
>>> >><br>
>>><br>
</blockquote></div>