Create XFS partition with bad block pr-echeck
Hello
I want to install CentOS 7 with the XFS filesystem. But I want to do pre-check for bad blocks before creating partitions. In ext4, there is a -c switch which will check for bad blocks before creating the filesystem. How do I do that for the XFS filesystem? Thanks |
There is a tool named badblocks. See, for example, https://www.tecmint.com/check-linux-...ors-bad-blocks or https://wiki.archlinux.org/index.php/Badblocks. Use badblocks before creating the filesystem.
|
Quote:
But the problem is, in mkfs.xfs, -l has a different meaning. Quote:
Quote:
|
I must have been brain-dead when replying. To my knowledge, XFS doesn't have bad block treatment, although there seems to be a plan to include it in the future.
|
All times are GMT -5. The time now is 05:17 PM. |