|Subject:||Using xfs_growfs on SSD raid-10|
|From:||Alexey Zilber <alexeyzilber@xxxxxxxxx>|
|Date:||Thu, 10 Jan 2013 09:23:45 +0800|
|Dkim-signature:||v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:from:date:message-id:subject:to:content-type; bh=z8h136p5VT1RPhOcYaFFAHfo1zeDyO7/9h6Cg7+QZAA=; b=NRwG3tIatYN1o4mpdhtYPjM2014mSSMYASatdcR92cThBhu8CAWaD4pP5g58+BjOvl pcqjyMMF8m/2w8755rV+C6h5c70XBM7gCqmQFr8KkFECUymPTmvIEBzKQnJ0Ugm4VTZZ DrPOHRpq9NjBZQKbzKr2UCeZQndqWP8u/GeICmR6aYGKGCAwxk7VlCqqTh3FYNnTPURe bG6gBng+416q5l6fW0WLo1HEKT9XPc2eigwFQZpXCtF3hItvm4CqQKvI/IIeAMY/mq+a aXZgvcKlW1pJAKGotJEAzW3JSTa4ws32oZeekMvvfKZ9+qA0Bax3jZIBz2QN/LlSDvf8 Lo1g==|
I've read the FAQ on 'How to calculate the correct sunit,swidth values for optimal performance' when setting up xfs on a RAID. Thing is, I'm using LVM, and with the colo company we use, the easiest thing I've found, when adding more space, is to have another RAID added to the system, then I'll just pvcreate, expand the vgroup over it, lvextend and xfs_growfs and I'm done. That is probably sub-optimal on an SSD raid.
after all the lvm stuff I would do: mkfs.xfs -L mysql -d su=1m,sw=3 /dev/mapper/db-mysql
(so the above reflects the 3 active drives, and 1m stripe. So far so good?)
Now, I need more space. We have a second raid-10 added, that's 4 (400gb) drives. So I do the same pvcreate --dataalignment 1M /dev/sdc
then vgextend and lvextend, and finally; with xfs_growfs, there's no way to specify, change su/sw values. So how do I do this? I'd rather not use mount options, but is that the only way, and would that work?
|<Prev in Thread]||Current Thread||[Next in Thread>|