Arch Linux

Please read this before reporting a bug:

Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.

REPEAT: Do NOT report bugs for outdated packages!

FS#77415 - [xfs][6.1.9-zen1-1-zen] xfs corruption

Attached to Project: Arch Linux
Opened by Wojtek J (jabol240) - Tuesday, 07 February 2023, 01:47 GMT
Last edited by Toolybird (Toolybird) - Friday, 10 March 2023, 22:32 GMT
Task Type Bug Report
Category Kernel
Status Closed
Assigned To No-one
Architecture x86_64
Severity High
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No


I use a ~30GB xfs partition sdb2 mounted as ~/.cache and hours ago it got corrupted causing some apps to crash. It is xfs V5 on a Samsung SSD, created only a month or two ago using Gparted with default options, no RAID or LVM or encryption. Below I attach journalctl -b -2 -x spanning the entire boot when this happened and another one with next boot. fstab options are as follows: /home/V/.cache xfs defaults 0 0

This cache was under some load, with Firefox with many tabs, some terminals open, maybe about 5GB used. I restarted my window manager which is Enlightenment. When it finally restarted all my apps were gone. Then I noticed ~/.cache is no longer showing in my Thunar. I didn't investigate further but shortly rebooted. Upon next boot this sdb2 partition refused to mount, then also refused to xfs_repair because of dirty log. So I disabled it in fstab and haven't mounted or touched it since.

I will keep this partition off for now - tell me if there's anything else you need. Should I report this upstream? Attached is the journalctl.

Additional info:
* package version(s)
This task depends upon

Closed by  Toolybird (Toolybird)
Friday, 10 March 2023, 22:32 GMT
Reason for closing:  Upstream
Additional comments about closing:  See comments
Comment by Toolybird (Toolybird) - Tuesday, 07 February 2023, 04:05 GMT
It could also be a hardware problem. For example, Samsumg SSD reliability has been in the news lately [1].

But yes, you could try reporting to the linux-xfs mailing list [2]. Probably also worth trying to see if you can repro on non-zen, earlier, mainline, etc. Please let us know what you find out.

Comment by Toolybird (Toolybird) - Wednesday, 08 March 2023, 07:07 GMT
Any luck reporting upstream?
Comment by Wojtek J (jabol240) - Wednesday, 08 March 2023, 19:02 GMT
I did report this on the mailing list mentioned above. I received exactly 0 answers.
Comment by Wojtek J (jabol240) - Wednesday, 08 March 2023, 22:03 GMT
Comment by Wojtek J (jabol240) - Wednesday, 08 March 2023, 23:10 GMT
Comment by Toolybird (Toolybird) - Friday, 10 March 2023, 22:32 GMT

We've had no other reports and upstream didn't bite. I don't know how popular xfs is in Arch circles but I suspect not very. We can reopen if anything comes up in the future but for now there's no point in keeping this ticket alive.