Skip to content

Instantly share code, notes, and snippets.

@mcgrof
Created April 14, 2022 18:12
Show Gist options
  • Save mcgrof/c3f6dae20800da6f1bda607d0c0275b3 to your computer and use it in GitHub Desktop.
Save mcgrof/c3f6dae20800da6f1bda607d0c0275b3 to your computer and use it in GitHub Desktop.
btrfs_noraid56/generic/648.out.bad and 648.full
btrfs fails on v5.17-rc7 with a low failure rate of about 1/50
648.out.bad:
QA output created by 648
Silence is golden.
_check_btrfs_filesystem: filesystem on /media/scratch/testfs is inconsistent
(see /var/lib/xfstests/results/linux517-btrfs-noraid56/5.17.0-rc7/btrfs_noraid56/generic/648.full for details)
648.full:
btrfs-progs v5.16.2
See http://btrfs.wiki.kernel.org for more information.
Performing full device TRIM /dev/loop5 (20.00GiB) ...
NOTE: several default settings have changed in version 5.15, please make sure
this does not affect your deployments:
- DUP for metadata (-m dup)
- enabled no-holes (-O no-holes)
- enabled free-space-tree (-R free-space-tree)
Label: (null)
UUID: 051df89f-6093-4948-93f7-726e89887859
Node size: 16384
Sector size: 4096
Filesystem size: 20.00GiB
Block group profiles:
Data: single 8.00MiB
Metadata: DUP 256.00MiB
System: DUP 8.00MiB
SSD detected: yes
Zoned device: no
Incompat features: extref, skinny-metadata, no-holes
Runtime features: free-space-tree
Checksum: crc32c
Number of devices: 1
Devices:
ID SIZE PATH
1 20.00GiB /dev/loop5
device-mapper: remove ioctl on error-test failed: No such device or address
Command failed.
seed = 1650144483
seed = 1649690087
seed = 1649483856
seed = 1650092859
seed = 1649811460
seed = 1650417833
seed = 1649889630
seed = 1649425162
seed = 1650137644
seed = 1650005365
seed = 1649688802
seed = 1650420890
seed = 1650000242
seed = 1649629283
seed = 1650258185
seed = 1649739312
seed = 1649602043
seed = 1650306909
seed = 1649623214
seed = 1649878658
cp: failed to clone '/media/scratch/testfs.a' from '/media/scratch/testfs': Input/output error
seed = 1650314112
seed = 1650210280
seed = 1650261350
seed = 1649754407
seed = 1649432826
_check_btrfs_filesystem: filesystem on /media/scratch/testfs is inconsistent
*** fsck.btrfs output ***
[1/7] checking root items
[2/7] checking extents
[3/7] checking free space tree
[4/7] checking fs roots
root 5 inode 2638 errors 2000, link count wrong
unresolved ref dir 2610 index 15 namelen 3 name d28 filetype 2 errors 0
unresolved ref dir 2620 index 8 namelen 3 name d22 filetype 2 errors 0
ERROR: errors found in fs roots
Opening filesystem to check...
Checking filesystem on /media/scratch/testfs
UUID: aa61fd9b-ea18-4604-8923-feb67cfbf172
found 344236032 bytes used, error(s) found
total csum bytes: 152480
total tree bytes: 3178496
total fs tree bytes: 2424832
total extent tree bytes: 376832
btree space waste bytes: 716126
file data blocks allocated: 668053504
referenced 311091200
*** end fsck.btrfs output
*** mount output ***
sysfs on /sys type sysfs (rw,nosuid,nodev,noexec,relatime)
proc on /proc type proc (rw,nosuid,nodev,noexec,relatime)
udev on /dev type devtmpfs (rw,nosuid,relatime,size=3966564k,nr_inodes=991641,mode=755)
devpts on /dev/pts type devpts (rw,nosuid,noexec,relatime,gid=5,mode=620,ptmxmode=000)
tmpfs on /run type tmpfs (rw,nosuid,nodev,noexec,relatime,size=801588k,mode=755)
/dev/vda1 on / type ext4 (rw,relatime,discard,errors=remount-ro)
securityfs on /sys/kernel/security type securityfs (rw,nosuid,nodev,noexec,relatime)
tmpfs on /dev/shm type tmpfs (rw,nosuid,nodev)
tmpfs on /run/lock type tmpfs (rw,nosuid,nodev,noexec,relatime,size=5120k)
cgroup2 on /sys/fs/cgroup type cgroup2 (rw,nosuid,nodev,noexec,relatime,nsdelegate,memory_recursiveprot)
pstore on /sys/fs/pstore type pstore (rw,nosuid,nodev,noexec,relatime)
bpf on /sys/fs/bpf type bpf (rw,nosuid,nodev,noexec,relatime,mode=700)
hugetlbfs on /dev/hugepages type hugetlbfs (rw,relatime,pagesize=2M)
mqueue on /dev/mqueue type mqueue (rw,nosuid,nodev,noexec,relatime)
debugfs on /sys/kernel/debug type debugfs (rw,nosuid,nodev,noexec,relatime)
tracefs on /sys/kernel/tracing type tracefs (rw,nosuid,nodev,noexec,relatime)
configfs on /sys/kernel/config type configfs (rw,nosuid,nodev,noexec,relatime)
ramfs on /run/credentials/systemd-sysusers.service type ramfs (ro,nosuid,nodev,noexec,relatime,mode=700)
/dev/nvme0n1 on /data type btrfs (rw,relatime,ssd,noacl,space_cache=v2,subvolid=5,subvol=/)
/dev/nvme1n1 on /media/sparsefiles type btrfs (rw,relatime,ssd,noacl,space_cache=v2,subvolid=5,subvol=/)
tmpfs on /run/user/1000 type tmpfs (rw,nosuid,nodev,relatime,size=801584k,nr_inodes=200396,mode=700,uid=1000,gid=1000)
/dev/loop16 on /media/test type btrfs (rw,relatime,ssd,noacl,space_cache=v2,subvolid=5,subvol=/)
/dev/mapper/error-test on /media/scratch type btrfs (rw,relatime,ssd,noacl,space_cache=v2,subvolid=5,subvol=/)
*** end mount output
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment