1 2 3 4 5
#!/bin/bash FSUUID=`findmnt -n -o UUID $(stat -c '%m' "/")` grep -R . /sys/fs/btrfs/"$FSUUID"/allocation/ | sed "s/^.*allocation//" grep -R . /sys/fs/btrfs/"$FSUUID"/features/ | sed "s/^.*features//" cat /sys/fs/btrfs/"$FSUUID"/checksum
Seems to pass the smell test so far. Not urgent.
@ngompa @dcavalca @salimma There have been a couple of out of space cases (already resolved) but it would be nice to get extra debugging at the moment it occurs because any delay/reboot/workaround will mask the problem. This is "nice to have" not urgent.
Metadata Update from @ankursinha: - Issue assigned to ankursinha
Metadata Update from @ankursinha: - Issue tagged with: P: Medium, S: Triaged, T: Enhancement
I've added the above mentioned commands. Could you folks please test this out? I'm not on btrfs myself yet:
https://pagure.io/fpaste/blob/feat/issue-45/f/fpaste
Metadata Update from @ankursinha: - Issue tagged with: S: Review needed
I'll cut a release next week on Wednesday if it looks OK. (Some folks on IRC did test it out and I think it's OK, but I know very little about btrfs).
Cheers,
Tested locally, works for me.
Thanks very much. Merging, and I'll cut a release + updates before the end of the week.
Fixed in https://pagure.io/fpaste/c/decddcaef8cf7352631f9371dda6876f1b6e6527?branch=main
Metadata Update from @ankursinha: - Issue close_status updated to: Fixed - Issue status updated to: Closed (was: Open)
Login to comment on this ticket.