This script calculates recommended settings for creating ext2, ext3 or ext4 filesystems on RAID devices.

It prints stride and stripe-width settings for use in the extended-options of mkfs. For further details, get a recent e2fsprogs and look for stride, stripe etc. in the manpage.

Note that there is no input-validation whatsoever, also the script itself is ugly. Comments and improvements are welcome, feel free to send in patches.

If you insist, then i consider this script Public Domain.