btrfs-progs unable to make snapshots
Bug #1841799 reported by
Eric
This bug affects 2 people
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Raspbian |
New
|
Undecided
|
Unassigned |
Bug Description
I have discovered that btrfs from the Raspbian btrfs-progs package can't make snapshots. The result
# btrfs sub snap blue_root blue_root-snap
ERROR: Could not statfs: Value too large for defined data type
seems to indicate that instead of statfs64, the older system calls were inadvertently used. Note that statfs64 has been standard since kernel versions 2.6.
Workaround:
Note that btrfs version v4.20.1 is included with Raspbian Buster. I compiled the latest btrfs version 5.2.1 from source. The problem persisted. Then I copied the old version 4.7.3 binary from Raspbian Stretch to the 4B. Woohoo! The Stretch binary works on Buster!
To post a comment you must log in.
It appears the bug only affects multi-drive disk pools in mirror mode and not single BTRFS volumes. More information is in the following thread
https:/ /www.raspberryp i.org/forums/ viewtopic. php?f=66& t=249873# p1528598
on the Raspberry Pi forum