Xfs errors -
Jacques - 02-11-2019
Last night my O2 refused to boot. XFS corruption seems to be the issue.
I wanted to move my install to .30 in any case so decided to do a fresh install on said drive. fx managed to pick up the drive, new root partition made and label synched etc. No problems here...However, when doing the software install I keep getting XFS corruption when trying to load the miniroot. The same ionide error message keeps coming up.
Do I need to zero the drive (a 12 hour job) or is there any other way to get it going?
Or is my drive bad? It worked fine in the morning before.
RE: Xfs errors -
dexter1 - 02-11-2019
I think only an exercise of the disk will tell you if the disk is okay or not. Choose the 'wr-cmp' in fx to make sure that all corners of the drive are being written and tested.
If there is any suspicion of the drive being bad, replace it. No need to go through all the hassle again if the drive is ok now and kaputt the next week.
RE: Xfs errors -
Jacques - 02-11-2019
Thanks, I'll run it tomorrow. It's my best and quietest drive (Fujitsu MAS) so will be a bit sad if its dead.
RE: Xfs errors -
Darkstar - 02-12-2019
A SCSI low level format will also find and fix (i.e. reallocate) all damaged sectors. Drives have spare capacity for exactly that reason (if the AWRE and ARRE mode page bits are set, those reallocations will be done even during regular usage of the drive, if not, you need to reformat)
RE: Xfs errors -
jan-jaap - 02-13-2019
(02-12-2019, 11:13 PM)Darkstar Wrote: A SCSI low level format will also find and fix (i.e. reallocate) all damaged sectors. Drives have spare capacity for exactly that reason (if the AWRE and ARRE mode page bits are set, those reallocations will be done even during regular usage of the drive, if not, you need to reformat)
If a low level format is interrupted for whatever reason your disk is bricked. That's why it should only be tried as a last resort, or if you want to do something like changing the block size.
RE: Xfs errors -
Jacques - 02-13-2019
For some reason the disc was reporting incorrect block counts, it was in the multi-multi millions. I did a wr-c on the disc, destroyed the root partition layout, made a new option disc partition layout, then a new root partition layout folowed by new xfs, labes etc. Disc now works again

hopefully it lasts.