<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40"><head><meta http-equiv=Content-Type content="text/html; charset=us-ascii"><meta name=Generator content="Microsoft Word 12 (filtered medium)"><style><!--
/* Font Definitions */
@font-face
{font-family:"Cambria Math";
panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
{font-family:Calibri;
panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
{font-family:Tahoma;
panose-1:2 11 6 4 3 5 4 4 2 4;}
@font-face
{font-family:"Arial Black";
panose-1:2 11 10 4 2 1 2 2 2 4;}
@font-face
{font-family:Consolas;
panose-1:2 11 6 9 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
{margin:0in;
margin-bottom:.0001pt;
font-size:11.0pt;
font-family:"Calibri","sans-serif";}
a:link, span.MsoHyperlink
{mso-style-priority:99;
color:blue;
text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
{mso-style-priority:99;
color:purple;
text-decoration:underline;}
p.MsoAcetate, li.MsoAcetate, div.MsoAcetate
{mso-style-priority:99;
mso-style-link:"Balloon Text Char";
margin:0in;
margin-bottom:.0001pt;
font-size:8.0pt;
font-family:"Tahoma","sans-serif";}
span.EmailStyle17
{mso-style-type:personal-compose;
font-family:"Calibri","sans-serif";
color:windowtext;}
span.BalloonTextChar
{mso-style-name:"Balloon Text Char";
mso-style-priority:99;
mso-style-link:"Balloon Text";
font-family:"Tahoma","sans-serif";}
.MsoChpDefault
{mso-style-type:export-only;}
@page WordSection1
{size:8.5in 11.0in;
margin:1.0in 1.0in 1.0in 1.0in;}
div.WordSection1
{page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]--></head><body lang=EN-US link=blue vlink=purple><div class=WordSection1><p class=MsoNormal>Greetings,<o:p></o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal> I’m in the process of tracking down lower than expected performance and occasional blocked tasks on some internal file servers with XFS datastores. Several sources have pointed out the importance of using the correct stripe unit and stripe size when formatting and mounting XFS filesystems, and that XFS can detect these values for some, but not all, hardware RAID controllers. The servers in question are PowerEdge R510b servers with PERC H700 controllers. Datastores are RAID5 with a 128K stripe.<o:p></o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal> Is there any way to determine if the stripe unit and stripe size were detected correctly? These values were not specified when the filesystems were formatted or mounted. If they were not detected, is there any way to determine them programmatically?<o:p></o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal> If this is not the correct forum for this question please point me in the right direction.<o:p></o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>Best regards,<o:p></o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>John Simpson<o:p></o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>Format command: mkfs.xfs /dev/sdb1<o:p></o:p></p><p class=MsoNormal>Fstab entry: /dev/sdb1 /DS01 xfs defaults,logbufs=8 1 2<o:p></o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal><span style='font-family:Consolas'># uname -a<o:p></o:p></span></p><p class=MsoNormal><span style='font-family:Consolas'>Linux reyqa-ribs001 2.6.32-573.12.1.el6.x86_64 #1 SMP Tue Dec 15 21:19:08 UTC 2015 x86_64 x86_64 x86_64 GNU/Linux<o:p></o:p></span></p><p class=MsoNormal><span style='font-family:Consolas'><o:p> </o:p></span></p><p class=MsoNormal><span style='font-family:Consolas'># cat /etc/redhat-release<o:p></o:p></span></p><p class=MsoNormal><span style='font-family:Consolas'>CentOS release 6.7 (Final)<o:p></o:p></span></p><p class=MsoNormal><span style='font-family:Consolas'><o:p> </o:p></span></p><p class=MsoNormal><span style='font-family:Consolas'># rpm -qi xfsprogs<o:p></o:p></span></p><p class=MsoNormal><span style='font-family:Consolas'>Name : xfsprogs Relocations: (not relocatable)<o:p></o:p></span></p><p class=MsoNormal><span style='font-family:Consolas'>Version : 3.1.1 Vendor: CentOS<o:p></o:p></span></p><p class=MsoNormal><span style='font-family:Consolas'>Release : 16.el6 Build Date: Wed 15 Oct 2014 10:16:05 AM EDT<o:p></o:p></span></p><p class=MsoNormal><span style='font-family:Consolas'>Install Date: Wed 25 Feb 2015 11:46:11 AM EST Build Host: c6b8.bsys.dev.centos.org<o:p></o:p></span></p><p class=MsoNormal><span style='font-family:Consolas'>Group : System Environment/Base Source RPM: xfsprogs-3.1.1-16.el6.src.rpm<o:p></o:p></span></p><p class=MsoNormal><span style='font-family:Consolas'>Size : 3325667 License: GPL+ and LGPLv2+<o:p></o:p></span></p><p class=MsoNormal><span style='font-family:Consolas'>Signature : RSA/SHA1, Fri 17 Oct 2014 04:00:19 PM EDT, Key ID 0946fca2c105b9de<o:p></o:p></span></p><p class=MsoNormal><span style='font-family:Consolas'>Packager : CentOS BuildSystem <http://bugs.centos.org><o:p></o:p></span></p><p class=MsoNormal><span style='font-family:Consolas'>URL : http://oss.sgi.com/projects/xfs/<o:p></o:p></span></p><p class=MsoNormal><span style='font-family:Consolas'>Summary : Utilities for managing the XFS filesystem<o:p></o:p></span></p><p class=MsoNormal><span style='font-family:Consolas'>Description :<o:p></o:p></span></p><p class=MsoNormal><span style='font-family:Consolas'>A set of commands to use the XFS filesystem, including mkfs.xfs.<o:p></o:p></span></p><p class=MsoNormal><span style='font-family:Consolas'><o:p> </o:p></span></p><p class=MsoNormal><span style='font-family:Consolas'>XFS is a high performance journaling filesystem which originated<o:p></o:p></span></p><p class=MsoNormal><span style='font-family:Consolas'>on the SGI IRIX platform. It is completely multi-threaded, can<o:p></o:p></span></p><p class=MsoNormal><span style='font-family:Consolas'>support large files and large filesystems, extended attributes,<o:p></o:p></span></p><p class=MsoNormal><span style='font-family:Consolas'>variable block sizes, is extent based, and makes extensive use of<o:p></o:p></span></p><p class=MsoNormal><span style='font-family:Consolas'>Btrees (directories, extents, free space) to aid both performance<o:p></o:p></span></p><p class=MsoNormal><span style='font-family:Consolas'>and scalability.<o:p></o:p></span></p><p class=MsoNormal><span style='font-family:Consolas'><o:p> </o:p></span></p><p class=MsoNormal><span style='font-family:Consolas'>Refer to the documentation at http://oss.sgi.com/projects/xfs/<o:p></o:p></span></p><p class=MsoNormal><span style='font-family:Consolas'>for complete details. This implementation is on-disk compatible<o:p></o:p></span></p><p class=MsoNormal><span style='font-family:Consolas'>with the IRIX version of XFS.<o:p></o:p></span></p><p class=MsoNormal><span style='font-family:Consolas'><o:p> </o:p></span></p><p class=MsoNormal><span style='font-family:Consolas'># xfs_info /DS01<o:p></o:p></span></p><p class=MsoNormal><span style='font-family:Consolas'>meta-data=/dev/sdb1 isize=256 agcount=5, agsize=268435455 blks<o:p></o:p></span></p><p class=MsoNormal><span style='font-family:Consolas'> = sectsz=512 attr=2, projid32bit=0<o:p></o:p></span></p><p class=MsoNormal><span style='font-family:Consolas'>data = bsize=4096 blocks=1212415488, imaxpct=5<o:p></o:p></span></p><p class=MsoNormal><span style='font-family:Consolas'> = sunit=0 swidth=0 blks<o:p></o:p></span></p><p class=MsoNormal><span style='font-family:Consolas'>naming =version 2 bsize=4096 ascii-ci=0<o:p></o:p></span></p><p class=MsoNormal><span style='font-family:Consolas'>log =internal bsize=4096 blocks=521728, version=2<o:p></o:p></span></p><p class=MsoNormal><span style='font-family:Consolas'> = sectsz=512 sunit=0 blks, lazy-count=1<o:p></o:p></span></p><p class=MsoNormal><span style='font-family:Consolas'>realtime =none extsz=4096 blocks=0, rtextents=0<o:p></o:p></span></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal style='mso-margin-top-alt:auto'><span style='font-size:10.0pt;font-family:"Arial Black","sans-serif";color:#002878;letter-spacing:1.0pt'>John Simpson</span><span style='font-size:10.0pt;font-family:"Arial Black","sans-serif";color:#002878;letter-spacing:1.0pt'> </span><span style='font-size:13.5pt;font-family:"Times New Roman","serif";color:black'><br><br></span><o:p></o:p></p></div></body></html>