Bug 1462668

Summary: /forcefsck on btrfs root does not repair filesystem
Product: [Fedora] Fedora Reporter: Bernhard Schuster <redhat.bugzilla>
Component: dracutAssignee: dracut-maint-list
Status: CLOSED CANTFIX QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 25CC: dracut-maint-list, harald, jonathan, zbyszek
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2017-06-29 11:29:31 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Bernhard Schuster 2017-06-19 08:48:07 UTC
Description of problem:

Broken btrfs root nodes

Version-Release number of selected component (if applicable):

btrfs-progs v4.6.1

NAME=Fedora
VERSION="25 (Workstation Edition)"
ID=fedora
VERSION_ID=25
PRETTY_NAME="Fedora 25 (Workstation Edition)"


How reproducible:

Always


Steps to Reproduce:
1. luks encrypted root
2.  do a lot of parallel btrfs subvolume / snapshot creation and deletion operations which triggers a btrfs bug to forget some nodes
3. reboot into rescue mode since normal boot fails
4. login into recovery shell and `touch /forcefsck` to force check on reboot

Actual results:

No fixed root fs

Expected results:

Repaired root fs, i.e. a call to btrfs check --repair ${FS}

Additional info:

Comment 1 Harald Hoyer 2017-06-29 11:29:31 UTC
$ rpm -qf /usr/sbin/fsck.btrfs 
btrfs-progs-4.11-1.fc27.x86_64

Tell them to fix their fsck.btrfs