[Gluster-users] How to find out data alignment for LVM thin volume brick

mabi mabi at protonmail.ch
Mon Jun 5 19:58:00 UTC 2023


Hello,

I am preparing a brick as LVM thin volume for a test slave node using this documentation:   

https://docs.gluster.org/en/main/Administrator-Guide/formatting-and-mounting-bricks/

but I am confused regarding the right "--dataalignment" option to be used for pvcreate. The documentation mentions the following under point 1:

"Create a physical volume(PV) by using the pvcreate command. For example:

pvcreate --dataalignment 128K /dev/sdb

Here, /dev/sdb is a storage device. Use the correct dataalignment option based on your device.

    Note: The device name and the alignment value will vary based on the device you are using."

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?

Best regards,
Mabi 


More information about the Gluster-users mailing list