hello, is there any way to force XFS to ignore I/O errors? it seems it is
shutting down the fs when it encounters any error.
The problem is that i can't mark badsectors, as XFS doesn't support bad
sector marking, but i also cannot access any correct data on partition,
because when i try to access damaged sector, the whole fs goes down.
any idea why?
i use xfsprogs 2.9.4, my xfs is array made from 3 HDs, RAID 0, and one of
them is getting some bad sectors. i cannot replace it currently.
after i run xfs_repair on it, i was able to mount it and access the data,
but when somebody tries to access bad data, the whole XFS goes down. i don't
want that, i also dont have place to xfsmetadump the whole array to another
i tried scaning whole disk with badblocks (badblocks -c 1 -s -v /dev/sdb),
and then running dd if=/dev/zero of=/dev/sdb count=1 bs=1
but every block was written fine! (which is strange i guess), and it didnt
please advise me anything other than switching the drive (i will do it,
can't now though) or dumping the whole thing as i need to much space.
the easiest solution would be to just ignore errors, and if not, then to
somehow force xfs to mark them as bad sectors (smartctl is showing errors
like for example
# 2 Extended offline Completed: unknown failure 90% 9395
Error 8324 occurred at disk power-on lifetime: 9398 hours (391 days + 14
When the command that caused the error occurred, the device was active or
After command completion occurred, registers were:
ER ST SC SN CL CH DH
-- -- -- -- -- -- --
40 51 00 30 33 59 e6 Error: UNC at LBA = 0x06593330 = 106509104
[[HTML alternate version deleted]]