<html xmlns="http://www.w3.org/1999/xhtml" xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office"><head><!--[if gte mso 9]><xml><o:OfficeDocumentSettings><o:AllowPNG/><o:PixelsPerInch>96</o:PixelsPerInch></o:OfficeDocumentSettings></xml><![endif]--></head><body>
Yes, disk alignment is only needed as the LVM stack cannot get the details of the HW Raids.<div>In your case , use the default 256k as per documentation.</div><div><br></div><div><br></div><div>Best Regards,</div><div>Strahil Nikolov </div><div><br><br><div class="yahoo-signature"><a href="https://mail.onelink.me/107872968?pid=nativeplacement&c=Global_Acquisition_YMktg_315_Internal_EmailSignature&af_sub1=Acquisition&af_sub2=Global_YMktg&af_sub3=&af_sub4=100000604&af_sub5=EmailSignature__Static_">Sent from Yahoo Mail for iPhone</a><br></div><br><p class="yahoo-quoted-begin" style="font-size: 15px; color: #715FFA; padding-top: 15px; margin-top: 0">On Wednesday, June 7, 2023, 9:21 PM, mabi <mabi@protonmail.ch> wrote:</p><blockquote class="iosymail"><div id="yiv5643754735"><div><div>Dear Strahil,</div><div style="font-family:Arial, sans-serif;font-size:14px;color:rgb(0, 0, 0);"><br clear="none">Thank you very much for pointing me to the RedHat documentation. I wasn't aware of it and it is much more detailed. I will have to read it carefully.</div><div style="font-family:Arial, sans-serif;font-size:14px;color:rgb(0, 0, 0);"><br clear="none"></div><div style="font-family:Arial, sans-serif;font-size:14px;color:rgb(0, 0, 0);">Now as I have a single disk (no RAID) based on that documentation I understand that I should use a data alignment value of 256kB.</div><div style="font-family:Arial, sans-serif;font-size:14px;color:rgb(0, 0, 0);"><br clear="none"></div><div style="font-family:Arial, sans-serif;font-size:14px;color:rgb(0, 0, 0);">Best regards,</div><div style="font-family:Arial, sans-serif;font-size:14px;color:rgb(0, 0, 0);">Mabi<br clear="none"></div><div style="font-family:Arial, sans-serif;font-size:14px;"><br clear="none"></div><div id="yiv5643754735yqt08165" class="yiv5643754735yqt8635977886"><div class="yiv5643754735protonmail_quote">
        ------- Original Message -------<br clear="none">
        On Wednesday, June 7th, 2023 at 6:56 AM, Strahil Nikolov <hunter86_bg@yahoo.com> wrote:<br clear="none"><br clear="none">
        <blockquote type="cite" class="yiv5643754735protonmail_quote">
            Have you checked this page: https://access.redhat.com/documentation/en-us/red_hat_gluster_storage/3.5/html/administration_guide/brick_configuration ?<div><br clear="none"></div><div>The alignment depends on the HW raid stripe unit size.</div><div><br clear="none"></div><div>Best Regards,</div><div>Strahil Nikolov <br clear="none"> <br clear="none"> <blockquote style="margin:0 0 20px 0;"> <div style="font-family:Roboto, sans-serif;color:#6D00F6;"> <div>On Tue, Jun 6, 2023 at 2:35, mabi</div><div><mabi@protonmail.ch> wrote:</div> </div> <div style="padding:10px 0 0 20px;margin:10px 0 0 0;border-left:1px solid #6D00F6;"> <div dir="ltr">Hello,<br clear="none"></div><div dir="ltr"><br clear="none"></div><div dir="ltr">I am preparing a brick as LVM thin volume for a test slave node using this documentation:   <br clear="none"></div><div dir="ltr"><br clear="none"></div><div dir="ltr"><a rel="nofollow noopener noreferrer" shape="rect" target="_blank" href="https://docs.gluster.org/en/main/Administrator-Guide/formatting-and-mounting-bricks/">https://docs.gluster.org/en/main/Administrator-Guide/formatting-and-mounting-bricks/</a><br clear="none"></div><div dir="ltr"><br clear="none"></div><div dir="ltr">but I am confused regarding the right "--dataalignment" option to be used for pvcreate. The documentation mentions the following under point 1:<br clear="none"></div><div dir="ltr"><br clear="none"></div><div dir="ltr">"Create a physical volume(PV) by using the pvcreate command. For example:<br clear="none"></div><div dir="ltr"><br clear="none"></div><div dir="ltr">pvcreate --dataalignment 128K /dev/sdb<br clear="none"></div><div dir="ltr"><br clear="none"></div><div dir="ltr">Here, /dev/sdb is a storage device. Use the correct dataalignment option based on your device.<br clear="none"></div><div dir="ltr"><br clear="none"></div><div dir="ltr">    Note: The device name and the alignment value will vary based on the device you are using."<br clear="none"></div><div dir="ltr"><br clear="none"></div><div dir="ltr">As test disk for this brick I have an external USB 500GB SSD disk from Samsung PSSD T7 (https://semiconductor.samsung.com/consumer-storage/portable-ssd/t7/) but my question is where do I find the information on which alignment value I need to use for this specific disk?<br clear="none"></div><div dir="ltr"><br clear="none"></div><div dir="ltr">Best regards,<br clear="none"></div><div dir="ltr">Mabi <br clear="none"></div><div dir="ltr">________<br clear="none"></div><div dir="ltr"><br clear="none"></div><div dir="ltr"><br clear="none"></div><div dir="ltr"><br clear="none"></div><div dir="ltr">Community Meeting Calendar:<br clear="none"></div><div dir="ltr"><br clear="none"></div><div dir="ltr">Schedule -<br clear="none"></div><div dir="ltr">Every 2nd and 4th Tuesday at 14:30 IST / 09:00 UTC<br clear="none"></div><div dir="ltr">Bridge: <a rel="nofollow noopener noreferrer" shape="rect" target="_blank" href="https://meet.google.com/cpu-eiue-hvk">https://meet.google.com/cpu-eiue-hvk</a><br clear="none"></div><div dir="ltr">Gluster-users mailing list<br clear="none"></div><div dir="ltr"><a rel="nofollow noopener noreferrer" shape="rect" ymailto="mailto:Gluster-users@gluster.org" target="_blank" href="mailto:Gluster-users@gluster.org">Gluster-users@gluster.org</a><br clear="none"></div><div dir="ltr"><a rel="nofollow noopener noreferrer" shape="rect" target="_blank" href="https://lists.gluster.org/mailman/listinfo/gluster-users">https://lists.gluster.org/mailman/listinfo/gluster-users</a><br clear="none"></div> </div> </blockquote></div>
        </blockquote><br clear="none">
    </div></div></div></div><blockquote></blockquote></blockquote></div>
</body></html>