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

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