xfs_db tem uma opção de bloqueio de blocos que
Trash randomly selected filesystem metadata blocks. Trashing occurs to randomly selected bits in the chosen blocks. This command is available only in debugging versions of xfs_db. It is useful for testing
xfs_repair(8)
andxfs_check(8)
.
Por exemplo
xfs_db -x -c blockget -c "blocktrash -s 512109 -n 1000" /dev/xfstest/testfs