debcrafters-packages team mailing list archive
-
debcrafters-packages team
-
Mailing list archive
-
Message #03049
[Bug 2091894] Re: btrfs receive allocates ALL space for DATA & makes it UNUSABLE (24.04.1)
** Changed in: btrfs-progs (Ubuntu)
Importance: Undecided => Critical
** Changed in: btrfs-progs (Ubuntu)
Status: New => Triaged
** Tags added: noble
** Tags removed: dcr-freezer
** Tags added: dcr-incoming
** No longer affects: btrfs-tools (Ubuntu)
--
You received this bug notification because you are a member of
Debcrafters packages, which is subscribed to btrfs-progs in Ubuntu.
https://bugs.launchpad.net/bugs/2091894
Title:
btrfs receive allocates ALL space for DATA & makes it UNUSABLE
(24.04.1)
Status in btrfs-progs package in Ubuntu:
Triaged
Bug description:
Hi!
'btrfs receive' ALLOCATES ALL the available space for DATA immediately
right after 'btrfs receive'/BTRBK start.
I did format on target partition with BTRFS.
Started and interrupted BTRBK/'btrfs receive' after few seconds (on SSD).
Note "Device unallocated: 1.00MiB"
even though only "Used:2.11GiB (0.24%))" for DATA.
BTRFS team believes this is a Ubuntu's Kernel related issue.
The partition usually soon become UNUSABLE due to lack of unallocated space.
This is a HIGH Priority bug in Ubuntu 24.04.1.
What you expected to happen: 'btrfs receive' should NOT ALLOCATE all
available space for DATA or even a large portion of it on a freshly
formatted partition when only 0.24% used.
The above behavior is confirmed on several drives, both internal(SATA)
and USB.
btrfs-progs v6.6.3
Kernel 6.8.0-50-generic (default in Ubuntu 24.04.1 LTS for today, no custom build).
The system is fully updated.
lsb_release -rd
No LSB modules are available.
Description: Ubuntu 24.04.1 LTS
Release: 24.04
apt-cache policy btrfs-progs
btrfs-progs:
Installed: 6.6.3-1.1build2
Candidate: 6.6.3-1.1build2
Version table:
*** 6.6.3-1.1build2 500
500 http://us.archive.ubuntu.com/ubuntu noble/main amd64 Packages
100 /var/lib/dpkg/status
==============================================
sudo btrfs fi usage .
Overall:
Device size: 870.10GiB
Device allocated: 870.10GiB
Device unallocated: 1.00MiB
Device missing: 0.00B
Device slack: 0.00B
Used: 2.37GiB
Free (estimated): 865.98GiB (min: 865.98GiB)
Free (statfs, df): 865.98GiB
Data ratio: 1.00
Metadata ratio: 2.00
Global reserve: 5.50MiB (used: 0.00B)
Multiple profiles: no
Data,single: Size:868.08GiB, Used:2.11GiB (0.24%)
/dev/mapper/DELETED 868.08GiB
Metadata,DUP: Size:1.00GiB, Used:135.81MiB (13.26%)
/dev/mapper/DELETED 2.00GiB
System,DUP: Size:8.00MiB, Used:112.00KiB (1.37%)
/dev/mapper/DELETED 16.00MiB
Unallocated:
/dev/mapper/DELETED 1.00MiB
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/btrfs-progs/+bug/2091894/+subscriptions