Hi All,<br><br>  I&#39;ve read the FAQ on &#39;How to calculate the correct sunit,swidth values for optimal performance&#39; when setting up xfs on a RAID.  Thing is, I&#39;m using LVM, and with the colo company we use, the easiest thing I&#39;ve found, when adding more space, is to have another RAID added to the system, then I&#39;ll just pvcreate, expand the vgroup over it, lvextend and xfs_growfs and I&#39;m done.  That is probably sub-optimal on an SSD raid.<div>

<br></div>Here&#39;s the example situation.  I start off with a 6 (400GB) raid-10.  It&#39;s got 1M stripe sizes.  So I would start with pvcreate --dataalignment 1M /dev/sdb<div>after all the lvm stuff I would do: <span style="font-family:Arial;font-size:15px;text-align:-webkit-auto;white-space:pre-wrap">mkfs.xfs -L mysql -d su=1m,sw=3 /dev/mapper/db-mysql</span></div>

<div><span style="font-family:Arial;font-size:15px;text-align:-webkit-auto;white-space:pre-wrap">(so the above reflects the 3 active drives, and 1m stripe.  So far so good?)</span></div><div><span style="font-family:Arial;font-size:15px;text-align:-webkit-auto;white-space:pre-wrap"><br>

</span></div><div><span style="font-family:Arial;font-size:15px;text-align:-webkit-auto;white-space:pre-wrap">Now, I need more space.  We have a second raid-10 added, that&#39;s 4 (400gb) drives.  So I do the same </span>pvcreate --dataalignment 1M /dev/sdc</div>

<div>then vgextend and lvextend, and finally; with xfs_growfs, there&#39;s no way to specify, change su/sw values.  So how do I do this?  I&#39;d rather not use mount options, but is that the only way, and would that work?</div>

<div><br></div><div>Thanks!</div><div>Alexey</div>