XFS: How to calculate the correct sunit,swidth values for optimal performance

XFS allows to optimize for a given RAID stripe unit (stripe size) and stripe width (number of data disks) via mount options.

These options can be sometimes autodetected (for example with md raid and recent enough kernel (>= 2.6.32) and xfsprogs (>= 3.1.1) built with libblkid support) but manual calculation is needed for most of hardware raids.

The calculation of these values is quite simple:
su =
sw = <# of data disks (don't count parity disks)>

XFS : No space left on device но место и inode есть

перемонтировать с опцией inode64

xfs_check: out of memory

instead use

xfs_repair -n <dev>

User tags

drupal bug nginx fio build docker-compose SpamAssassin route virtualbox proxy HTTPS iowait ddos deb noop debootstrap rpm opreport ubuntu virt-install ardour zRam tzdata limit_conn pam arp qcow2 cpanm htop tool KVM bash dhcp dovecot xhost xargs nfs4 fido7 tun conntrack raid glxinfo gtk performance search profiling ansible ha tin equalizer sysresccd initrd mkfs vrrpd cache /etc/network/interfaces dns fail2ban arping sg sysctl.conf newgrp mdadm bonding DRBD etch cgroups cpu replication raid5 HDFS youtube slab shellshock sysctl scsi numa oprofile Areca tar iptables chroot tiger mariadb leap second iostat munin docker pvmove dstat firefox corosync alsa xfs chromium quagga LVM lenny LSI CentOS cpu usage sftp rkhunter gre opcontrol Salt arch perlbrew vtysh PTR sysrq hotplug ssh wordpress X forwarding sublime core dump keyboard routing shorewall exim MegaRAID su apache ps security erase CPAN SSD PXE grub jackd backup debian rtsp virsh openvpn video rsync swap bscan vim ip soa find git ipmi OpenStack freedos AMD lstat radeon encrypt Adaptec java language pacemaker php lts hdparm SYN parallel APU vrrp 3Ware storage NFS vlan alien ipmitool dpkg boot StorMan glusterfs apt squeeze mount gpg asoundrc wget graylog2 pulseaudio Swift cluster top ulimit idmapd perl netfilter groups bind bacula exim4 qemu lxc elliptics puppet .htaccess gdb MODx OpenSSL dhclient bridge mysql backtrace cfq taskset xen sysfs in-addr.arpa flash regex iSCSI centos 7 usb kernel iops nvidia RT tftp lubuntu SuperMicro rtl8723be source