New external RAID

Today a new external RAID (connected via Fibre Channel) was attached to our mirror server. To create the filesystem (XFS) I used this command:

mkfs -t xfs -d su=64k -d sw=13 /dev/sdf1

According to https://raid.wiki.kernel.org/index.php/RAID_setup#XFS this are the correct options for 13 data disks (15 with RAID6 plus 1 hot spare) and a stripe size of 64k.

2 Responses to New external RAID

  1. I see you’re using a partition rather than whole disk, did you align your partition to land on a nice boundary?

    -c

  2. You mean without a well aligned partition (on a stripe size boundary) the whole effort in trying to create the filesystem with the correct parameters is useless? Because I did not allign it. Thanks for your comment. I will re-create the filesystem on a well aligned boundary.